incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120341] New: Rework SCSTR_FIELDSEP so that is is less error-prone
Date Sun, 22 Jul 2012 13:23:11 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120341

          Priority: P3
            Bug ID: 120341
          Assignee: ooo-issues@incubator.apache.org
           Summary: Rework SCSTR_FIELDSEP so that is is less error-prone
          Severity: normal
        Issue Type: ENHANCEMENT
    Classification: Application
                OS: All
          Reporter: pescetti@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: save-export
           Product: spreadsheet

As discussed by Ariel in http://s.apache.org/rMk :

In main/sc/source/ui/src/scstring.src#483

483 String SCSTR_FIELDSEP
484 {
485     Text [ en-US ] = ",\t44\t;\t59\t:\t58\t{Tab}\t9\t{space}\t32 " ;
486 };

It would be better to place markers, remove the localization, and
replace the markers (I guess "Tab" and "space" are already translated
somewhere else, or two new string can be created):

String SCSTR_FIELDSEP
 {
     Text = ",\t44\t;\t59\t:\t58\t{$1}\t9\t{$2}\t32 " ;
};

String SCSTR_FIELDSEP_TAB
 {
     Text [ en-US ] = "Tab" ;
};

String SCSTR_FIELDSEP_SPACE
 {
     Text [ en-US ] = "space" ;
};

If someone files a new bug, I [Ariel] can take a look at it.

Note: Bug 120216 is the problem that started this (more general) discussion.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message