← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 846895] Re: "Battery" appears untranslated in indicator-power

 

** Changed in: ubuntu-translations
       Status: Triaged => Fix Released

-- 
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:
  Fix Released
Status in Ubuntu Translations:
  Fix Released
Status in “indicator-power” package in Ubuntu:
  Fix Released

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


References