"Welcome back..." message shows untranslated, albeit it's translated

Bug #758656 reported by Ricardo Pérez López
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
High
Unassigned
software-center (Ubuntu)
Fix Released
Medium
Gary Lasker
Natty
Fix Released
Medium
Gary Lasker

Bug Description

Binary package hint: software-center

The "Welcome back! There are %d new recommendations for you." message shows untranslated in my Spanish desktop, albeit it's fully translated in Launchpad since 2011-02-25:

  https://translations.launchpad.net/ubuntu/natty/+source/software-center/+pots/software-center/es/271/+translate

and the translation is included into the software-center.mo file:

  $ strings -eS /usr/share/locale-langpack/es/LC_MESSAGES/software-center.mo | grep "Bienvenido"
  Bienvenido/a de nuevo. Hay <a href="">%i recomendación nueva</a> para usted.
  Bienvenido/a de nuevo. Hay <a href="">%i recomendaciones nuevas</a> para usted.

I attach an screenshot to illustrate the problem.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :
Revision history for this message
Florian Greinus (florian-greinus) wrote :

I can confirm this bug in software-center with current Natty and Unity 2D. It was already translated but doesn't appear.

Changed in software-center (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Kiwinote (kiwinote) wrote :

For this to work correctly we need to use something in the form of
gettext.ngettext(" ..%i...", "...%i...", nr_apps) % nr_apps
rather than what we are using now
gettext.ngettext(" ..%i..." % nr_apps, "...%i..." % nr_apps, nr_apps)

David Planella (dpm)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → High
Changed in software-center (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-11.04
status: Confirmed → Triaged
Changed in software-center (Ubuntu Natty):
status: Triaged → In Progress
assignee: nobody → Gary Lasker (gary-lasker)
Changed in software-center (Ubuntu Natty):
status: In Progress → Fix Committed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Ricardo, thanks very much for reporting this one! Fix is committed.

And kiwinote, heyo, thanks for your comment #3! Indeed that appears to have been the issue. Thanks man. :)

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

This bug was fixed in the package software-center - 3.1.26.3

---------------
software-center (3.1.26.3) natty; urgency=low

  [ Michael Vogt ]
  * softwarecenter/db/reviews.py:
    - do not crash on multiple origins for the same version
      (LP: #756415)
  * softwarecenter/db/application.py:
    - ensure docid is updated on database reopen() (LP: #757054)
  * softwarecenter/models/appstore.py:
    - refresh docids in active searches if the database is reopend
      (LP: #710920)
  * softwarecenter/backend/aptd.py:
    - do not run update-apt-xapian-index in --update mode to avoid
      in-place database modfications (LP: #507836)
  * test/test_load_icons.py:
    - add test for the icon loader
  * merged lp:~glatzor/software-center/force-bad-quality, this
    fixes the missing ability to override the lintian warning
    (LP: #712377)
  * don't show reviews if we can't determine the origin
  * fix crash when enabling new components (LP: #636429)
  * fix missing details when a channel or a component just got added

  [ Gary Lasker ]
  * softwarecenter/app.py:
    - temporarily disable the deauth option until we have support
      for remove repository in aptdaemon (see LP: #723911)
  * softwarecenter/backend/aptd.py :
    - fix empty error dialog for the case where aptdaemon returns
      an error code with no value (LP: #747172)
    - fix intermittent crash when updating the a-x-i (LP: #657494)
  * softwarecenter/models/viewswitcherlist.py:
    - mark string "In Progress..." for translation, many thanks to
      Hendrik Knackstedt and Florian Greinus for finding this
      (LP: #759240)
  * softwarecenter/view/catview_gtk.py:
    - fix broken translation string (LP: #758656)
  * refresh .pot file
  * softwarecenter/db/update.py:
    - fix crash when reinstalling previous purchases (LP: #760353)
 -- Michael Vogt <email address hidden> Thu, 14 Apr 2011 19:59:42 +0200

Changed in software-center (Ubuntu Natty):
status: Fix Committed → Fix Released
Changed in ubuntu-translations:
status: Triaged → Fix Released
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.