-Started to localize the appearance preflet to find more locale kit bugs. It worked.

-MarkForTranslation was not scanned by collectcatkeys, improved the regexp to take it into account
-Some gristing was missing in jamrules, added a bit, still seem to miss some.
-Replaced $(var:B).ext with $(var:S=.ext) as it is the proper way in order not to loose grist and mess things up
-Removed icu include and replaced direct class nesting with pointer to avoid binary compatibility breakage on ICU updates.
-Fixed TimeFormatSettingsView to properly include needed icu things. Should not be there, actually. Needs cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33210 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2009-09-20 22:16:30 +00:00
parent 76065080e6
commit b254319360
11 changed files with 96 additions and 60 deletions
+3 -5
View File
@@ -6,13 +6,11 @@
#include <LocaleStrings.h>
#include <String.h>
#include <unicode/locid.h>
namespace icu_4_2 {
class DateFormat;
class Locale;
}
enum {
B_METRIC = 0,
B_US
@@ -51,7 +49,7 @@ class BCountry {
// numbers
virtual void FormatNumber(char* string, size_t maxSize, double value);
virtual UErrorCode FormatNumber(BString* string, double value);
virtual status_t FormatNumber(BString* string, double value);
virtual void FormatNumber(char* string, size_t maxSize, int32 value);
virtual void FormatNumber(BString* string, int32 value);
@@ -83,7 +81,7 @@ class BCountry {
icu_4_2::DateFormat* fICULongDateFormatter;
icu_4_2::DateFormat* fICUShortDateFormatter;
const char** fStrings;
Locale fICULocale;
icu_4_2::Locale* fICULocale;
};
#endif /* _COUNTRY_H_ */