Use named arguments or translator comments for string "%s updated %s"

Bug #690283 reported by David Planella on 2010-12-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Low
Unassigned
software-center (Ubuntu)
Low
Kiwinote

Bug Description

Binary package hint: software-center

There is a string in the code that reads "%s updated %s"

Without any context (i.e. a translator comment in the code) it's not possible to guess what it refers to.

It would be great if a comment were provided, or even better to use named arguments, which would allow translators to rearrange their position, which might be needed for some languages, but it's currently not possible just using the %s form.

E.g. use "%(thisthing)s updated %(thisotherthing)s"

Thanks!

David Planella (dpm) on 2010-12-14
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Low
Kiwinote (kiwinote) wrote :

Hi David! Thanks a lot for reporting this.

Changed in software-center (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
assignee: nobody → Kiwinote (kiwinote)
Launchpad Janitor (janitor) wrote :

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

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

  [ Michael Vogt ]
  * softwarecenter/backend/restfulclient.py:
    - honor UBUNTU_SSO_SERVICE
  * softwarecenter/plugin.py:
    - ignore plugin init failures
  * softwarecenter/view/appdetailsview_gtk.py:
    - add helper to obtain xy position of the appicon in the view

  [ Gary Lasker ]
  * softwarecenter/view/appview.py:
    - fix crash in refresh_apps if previous model did
      not have a filter (LP: #690706)
  * softwarecenter/models/appstore.py:
    - enable threaded listviews
  * <many>:
    - implement inline purchase flow (LP: #618817, LP: #625418)

  [ Kiwinote ]
  * softwarecenter/view/appview.py:
    - fix crash when switching from a specific channel in the available pane
      to the same channel in the installed pane
  * softwarecenter/view/historypane.py:
    - use named arguments for history entries - thanks to dpm (LP: #690283)
  * softwarecenter/view/pendingview.py:
    - use a scrollbar when we have many transactions (LP: #642299)
    - display progress for transactions
  * po/POTFILES.in:
    - mark softwarecenter/models/viewswitcherlist.py for translation
  * data/ui/dialogs.py:
    - don't mark " " strings as translatable (LP: #691082)
  * debian/control:
    - use correct Vcs-Bzr url (LP: #690906)
 -- Michael Vogt <email address hidden> Tue, 21 Dec 2010 16:09:37 +0100

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Gabor Kelemen (kelemeng) on 2011-05-18
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers