← Back to team overview

translators-packages team mailing list archive

[Bug 1311396] Re: broken translations results in traceback in new release notification

 

This bug was fixed in the package ubuntu-release-upgrader - 1:0.220.4

---------------
ubuntu-release-upgrader (1:0.220.4) trusty-proposed; urgency=low

  * DistUpgrade/DistUpgradeCache.py:
    - fix crash in free space check for certain locales (LP: #1172740)
    - removal of essential packages that are not in the main arch
      is ok (LP: #1307904)
    - fix str/unicode crash in certain locales when a package is
      found in the removal blacklist (LP: #1310053)
  * DistUpgrade/DistUpgradeViewGtk3.py:
   - make details dialog resize when details are expanded/collapsed
     (LP: #1072460)
    - load webkit only when needed
  * DistUpgrade/DistUpgradeViewText.py:
    - fix py3 crash in text mode
  * DistUpgrade/DistUpgradeMain.py:
    - log python version
  * po/{eo,id,ug}.po:
    - fix translations of check-new-release-gtk which cause a crash
      (LP: #1311396)
  * data/demoted.cfg:
    - autmatic refresh of the demoted packages
  * po/*.po:
    - automatic refresh from launchpad
 -- Michael Vogt <michael.vogt@xxxxxxxxxx>   Thu, 24 Apr 2014 14:57:39 +0200

** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of
Translators Packages, which is subscribed to language-pack-ug in Ubuntu.
https://bugs.launchpad.net/bugs/1311396

Title:
  broken translations results in traceback in new release notification

Status in “language-pack-eo” package in Ubuntu:
  Fix Released
Status in “language-pack-id” package in Ubuntu:
  Fix Released
Status in “language-pack-ja” package in Ubuntu:
  Fix Released
Status in “language-pack-ug” package in Ubuntu:
  Fix Released
Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released
Status in “update-manager” package in Ubuntu:
  Invalid
Status in “language-pack-eo” source package in Precise:
  New
Status in “language-pack-id” source package in Precise:
  New
Status in “language-pack-ja” source package in Precise:
  Fix Committed
Status in “language-pack-ug” source package in Precise:
  New
Status in “ubuntu-release-upgrader” source package in Precise:
  Invalid
Status in “update-manager” source package in Precise:
  Invalid
Status in “language-pack-eo” source package in Saucy:
  New
Status in “language-pack-id” source package in Saucy:
  New
Status in “language-pack-ja” source package in Saucy:
  Fix Released
Status in “language-pack-ug” source package in Saucy:
  New
Status in “ubuntu-release-upgrader” source package in Saucy:
  Invalid
Status in “update-manager” source package in Saucy:
  Invalid
Status in “language-pack-eo” source package in Trusty:
  Fix Committed
Status in “language-pack-id” source package in Trusty:
  Fix Committed
Status in “language-pack-ja” source package in Trusty:
  Fix Released
Status in “language-pack-ug” source package in Trusty:
  Fix Committed
Status in “ubuntu-release-upgrader” source package in Trusty:
  Fix Released
Status in “update-manager” source package in Trusty:
  Confirmed

Bug description:
  [Test Case]
  1) Install one of the affected languages
  2) Make it the primary language
  3) In a terminal run '/usr/lib/ubuntu-release-upgrader/check-new-release-gtk' for saucy
     In a terminal run '/usr/lib/update-manager/check-new-release-gtk -d' for precise
  4) Observe a Traceback ending in a "ValueError: incomplete format" in precise the traceback says "ValueError: unsupported format character"

  With the language pack from -proposed you should not see a Traceback,
  but rather a notification window about the new release of Ubuntu.

  The error bucket at
  https://errors.ubuntu.com/problem/50c8f7b892dd75b531ac7d68a07ec11541387013
  contains the following traceback.

  Traceback (most recent call last):
    File "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk", line 113, in new_dist_available
      self.window_main.set_title(_("Ubuntu %(version)s Upgrade Available") % {'version': new_dist.version})
  ValueError: incomplete format

  This is due to a bad translation for the Croatian (hr) language.

  https://translations.launchpad.net/ubuntu/saucy/+source/ubuntu-
  release-upgrader/+pots/ubuntu-release-
  upgrader/hr/+translate?batch=10&show=all&search=Upgrade+Available

  "Dostupna nadogradnja Ubuntu %(version)"

  Notice the missing s after version. This is causing check-new-release-
  gtk to fail to notify users of a new release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-pack-eo/+bug/1311396/+subscriptions