ubuntu-translations-coordinators team mailing list archive
-
ubuntu-translations-coordinators team
-
Mailing list archive
-
Message #00804
[Bug 846895] [NEW] "Battery" appears untranslated in indicator-power
Public bug reported:
The string "Battery" appears untranslated in indicator-power, despite
being translated in the .mo file.
This is because this string directly uses the gettext() call, while the indicator-power.c file includes gi18n-lib.h. The latter means that the _() macro uses dgettext(). Strings which use the _() macro (like Show Time in Menu Bar) appear translated, so the gettext() calls need to be replaced by these.
There are also a few ngettext calls in the same file, these need to be converted to g_dngettext() if we want those translations to work.
** Affects: indicator-power
Importance: Undecided
Status: New
** Affects: ubuntu-translations
Importance: Medium
Status: Triaged
** Affects: indicator-power (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
https://bugs.launchpad.net/bugs/846895
Title:
"Battery" appears untranslated in indicator-power
Status in The Power Indicator:
New
Status in Ubuntu Translations:
Triaged
Status in “indicator-power” package in Ubuntu:
New
Bug description:
The string "Battery" appears untranslated in indicator-power, despite
being translated in the .mo file.
This is because this string directly uses the gettext() call, while the indicator-power.c file includes gi18n-lib.h. The latter means that the _() macro uses dgettext(). Strings which use the _() macro (like Show Time in Menu Bar) appear translated, so the gettext() calls need to be replaced by these.
There are also a few ngettext calls in the same file, these need to be converted to g_dngettext() if we want those translations to work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-power/+bug/846895/+subscriptions
Follow ups
References