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

Bug #1062292 reported by Nicolas Delvaux
10
This bug affects 2 people
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/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)

Revision history for this message
Nicolas Delvaux (malizor) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.