← Back to team overview

ubuntu-translations-coordinators team mailing list archive

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

 

This bug was fixed in the package indicator-power - 0.9-0ubuntu1

---------------
indicator-power (0.9-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    - Use correct dgettext and g_dngettext calls (LP: #846895)
    - Ensure we use the same icon for all charge levels if we are in the
      charging status (LP: #824629)
    - Fix gap when the power indicator is not show (LP: #842188)
    - Do not show (charged) in menu title when fully charged (LP: #850011)
    - Do not activate g-s-d, but just watch dbus for g-s-d to
      appear (LP: #854717)
  * po/POTFILES.in
    - Fixed gsettings schema filename
  * debian/copyright
    - Removed an extra line to make dep5 compliant
 -- Ken VanDine <ken.vandine@xxxxxxxxxxxxx>   Fri, 23 Sep 2011 13:03:13 -0400

** Changed in: indicator-power (Ubuntu)
       Status: Confirmed => 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:
  Triaged
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