Commit Graph

4 Commits

Author SHA1 Message Date
Oliver Tappe
6fd2f4a0d1 One more monster commit (sorry ...) concerning the Locale Kit:
* extracted new class BFormattingConventions from BCountry, which
  manages the formatting conventions from a given locale and 
  allows to get/set the four different date/time formats supported
  by ICU-locales as well as number and monetary formats
* overhauled the Locale preflet:
  + drop editing features for all formats, since I don't think
    they do not make much sense to have in a prefs GUI - being
    able to select from the existing locales should be good
    enough. Please note that you can still change the formats
    programmatically in an application.
  + renamed the 'Countries' tab to 'Formatting'
  + the locale formatting conventions list in the 'Formatting'
    tab is now hierarchical for easier access (less scrolling)
  + fixed functionality of 'Revert' and 'Defaults' buttons
  + added support for using the month/day-names of your preferred
    language during date formatting
* adjusted BLocale to ask BFormattingConventions for the current
  formats when formatting dates and times and to offer 4
  different format styles (full, long, medium and short).
* adjust all classes formatting dates/times to pick the 
  appropriate format style
* BLocaleRoster no longer directly archives/unarchives the 
  individual formatting conventions but delegates that to
  BFormattingConventions
    

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 12:57:55 +00:00
Stephan Aßmus
d698997098 Fixed misspelled header, closes ticket #6147.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 21:07:38 +00:00
Stephan Aßmus
a2b1193e13 Fixed spelling, thanks Adrien!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-17 20:24:29 +00:00
Stephan Aßmus
0a93eaefb8 Patch by Jorma Karvonen: Add LocaleKit.h header and also add it to Be.h. Thanks!
Closes ticket #6004.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-16 16:07:55 +00:00