[i18n] "%s (already purchased)" string is not translated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
New
|
Undecided
|
Unassigned | ||
software-center (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/softwarecent
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/
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.