Merge lp:~mterry/indicator-datetime/lc-time-fixes into lp:indicator-datetime/0.3
Status: | Merged |
---|---|
Merged at revision: | 29 |
Proposed branch: | lp:~mterry/indicator-datetime/lc-time-fixes |
Merge into: | lp:indicator-datetime/0.3 |
Diff against target: |
183 lines (+76/-26) 3 files modified
data/org.ayatana.indicator.datetime.gschema.xml (+1/-1) po/Makevars (+7/-0) src/indicator-datetime.c (+68/-25) |
To merge this branch: | bzr merge lp:~mterry/indicator-datetime/lc-time-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Review via email: mp+43793@code.launchpad.net |
Description of the change
This branch does several locale/time-related things:
* Uses N_ on DEFAULT_
* Adds a is_locale_12h function so that we don't have to rely on translators to determine if the locale is 12 or 24 hours
* Adds a T_ function to translate a string according to the locale specified by LC_TIME, not the one specified by LC_MESSAGES. This means that when the user sets their preferred time locale in gnome-language-
* Added a po/Makevars to pass --keyword=T_ to xgettext
* Fixes a minor typo in the gsettings schema
Wow, very cool. Only comment is that g_setenv's third parameter should really be TRUE/FALSE instead of an int. I'll fix that on merge.