← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1062292] Re: [i18n] "%s (already purchased)" string is not translated

 

*** This bug is a duplicate of bug 1060106 ***
    https://bugs.launchpad.net/bugs/1060106

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: software-center (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1062292

Title:
  [i18n] "%s (already purchased)" string is not translated

Status in Ubuntu Translations:
  New
Status in “software-center” package in Ubuntu:
  Confirmed

Bug description:
  The string itself is translated in PO files, but the UI always
  displays the English version.

  I think there is a gettext initialisation bug in db/softwarecenter/update.py.
  I added
  print _("%s (already purchased)")
  in application.py and it does output the translated string.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: software-center 5.4 [modified: usr/share/software-center/softwarecenter/db/update.py]
  ProcVersionSignature: Ubuntu 3.5.0-17.27-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu1
  Architecture: amd64
  Date: Fri Oct  5 15:22:38 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121004)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1062292/+subscriptions