← Back to team overview

translators-packages team mailing list archive

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

 

Hi Gunnar,

2015-10-10 0:48 GMT+09:00 Gunnar Hjalmarsson <1311396@xxxxxxxxxxxxxxxxxx>:
> I don't think it ever was included in depends in language-pack-XX-base, but it's still pulled via
> /usr/share/language-selector/data/pkg_depends once you open Language Support.

Thank you for your information.
Indeed, I could recover by Language Support.

1. language-pack updated via proposed)
2. $ sudo apt-get autoremove
  => firefox-locale-ja removed
3. launch firefox
  => UI doesn't localized
4. launch Language Support
  => "not complete langpack" message and install firefox-locale-ja
5. launch firefox
  => UI does localized

It seems that normal user doesn't exec "apt-get autoremove".
If it is removed, it is able to recover via language support.
Additionally to this, at least wily already drop it from recommends.
I think this is not so critical.

-- 
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 Ubuntu Translations:
  New
Status in language-pack-eo package in Ubuntu:
  Fix Released
Status in language-pack-hr 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:
  Triaged
Status in language-pack-hr source package in Precise:
  Triaged
Status in language-pack-id source package in Precise:
  Triaged
Status in language-pack-ja source package in Precise:
  Fix Released
Status in language-pack-ug source package in Precise:
  Triaged
Status in ubuntu-release-upgrader source package in Precise:
  Invalid
Status in update-manager source package in Precise:
  Fix Released
Status in language-pack-eo source package in Trusty:
  Fix Committed
Status in language-pack-hr 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 Committed
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:
  Invalid

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-translations/+bug/1311396/+subscriptions


References