Untranslated string in software-center with UTF-8 character

Bug #880757 reported by Gabor Kelemen
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Medium
Unassigned
software-center (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

In software-center choose File -> Sync Between Computers. At the bottom left corner, you can see a gear icon, click on it and the 'Stop Syncing “%s”' string will appear untranslated, despite it is translated in the po files.

This is the same problem as it was in bug #870604. To be sure, I grepped for other possibly affected strings containing the “ character:

softwarecenter/ui/gtk3/widgets/searchaid.py: sub = utf8(_(u"No items match “%s”")) % term
softwarecenter/ui/gtk3/widgets/searchaid.py: sub = utf8(_(u"No items in %s match “%s”"))
softwarecenter/ui/gtk3/panes/installedpane.py: stop_oneconf_share_menuitem = Gtk.MenuItem(label=_("Stop Syncing “%s”") % platform.node())
softwarecenter/ui/gtk3/panes/installedpane.py: cat_title = ngettext('%(amount)s item on “%(machine)s” not on this computer',
softwarecenter/ui/gtk3/panes/installedpane.py: '%(amount)s items on “%(machine)s” not on this computer',
softwarecenter/ui/gtk3/panes/installedpane.py: cat_title = ngettext('%(amount)s item on this computer not on “%(machine)s”',
softwarecenter/ui/gtk3/panes/installedpane.py: '%(amount)s items on this computer not on “%(machine)s”',
softwarecenter/backend/oneconfhandler.py: msg = _("To sync with another computer, choose “Sync Between Computers” from that computer.")

I think these need an u prefix too.

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Pretty visible, but the proposed branch fixed it.
Can we have this fixed as an SRU in Oneiric?

Changed in ubuntu-translations:
importance: Low → Medium
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: New → Fix Committed
Changed in software-center (Ubuntu Oneiric):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (5.1.4) precise; urgency=low

  [ Michael Vogt ]
  * lp:~brendan-donegan/software-center/test_debfileapplication,
    lp:~brendan-donegan/software-center/test_debfileapplication_mkII:
    - merged with some small tweaks to do basic tests for the
      DebFileApplication class, thanks to Brendan Donegan
  * data/software-center.menu.in:
    - add new "Books & Magazines" Category (LP: #903775)
  * add support for the scagent "Support Website" feature
  * lp:~mvo/software-center/performance-probes,
    lp:~mvo/software-center/profiling1:
    - improve accuracy of startup time measurement and add "probe"
      points to make profiling easier
  * lp:~mvo/software-center/purchaseviewspinner2:
    - add a spinner to the purchaseview both when new windows
      are opened and in the global toolbar
  * softwarecenter/ui/gtk3/dialogs/__init__.py:
    - trivial fix to increase the size of the expanded details
      in the message dialog

  [ Gabor Kelemen ]
  * lp:~kelemeng/software-center/bug880757:
    - Mark strings containing the “ character as Unicode, to fix their
      translations. LP: #880757
  * lp:~kelemeng/software-center/bug869935:
    - Update help translations from Launchpad. LP: #869935
  * lp:~kelemeng/software-center/bug868971:
    - Add a translator comment to the 'Top Rated %s' string, name the
     variable. LP: #868971

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/catalog-published-date-lp803028:
    - add date_published value from the software-center-agent server
      for use with cataloged time so that for-purchase items appear
      correctly and in the proper order in What's New; include unit
      tests for the new functionality (LP: #803028, LP: #886698)

  [ Robert Roth ]
  * lp:~evfool/software-center/lp905082:
    - fix typo LP: #905082

  [ Giovanni Campagna ]
  * lp:~gcampax/software-center/fedora:
    - add fedora distro backend and some cleanup in the PackageKit code
      and improvements to the AppStream xml parser
 -- Michael Vogt <email address hidden> Mon, 19 Dec 2011 13:52:32 +0100

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Gabor, or anyone else affected,

Accepted software-center into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in software-center (Ubuntu Oneiric):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Tested s-c 5.0.4 in oneiric-proposed, the package fixes this bug.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (5.0.4) oneiric-proposed; urgency=low

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/fix-lp891499-for-5.0:
    - be more robust about problems reading the cataloged_times file
      as problems here can hang the UI (LP: #891499)

  [ Gabor Kelemen ]
  * lp:~kelemeng/software-center/bug869935:
    - Update help translations from Launchpad (LP: #869935)
  * lp:~kelemeng/software-center/bug880757:
    - Mark strings containing the “ character as Unicode, to fix
      their translations. LP: #880757

  [ Michael Vogt ]
  * fix cache opening to improve startup time
  * lp:~mvo/software-center/icon-data-for-5.0:
    - remove the need for inline icon data from the agent, instead
      download icons directly using the provided URL (LP: #914054)
 -- Michael Vogt <email address hidden> Tue, 10 Jan 2012 09:52:09 +0100

Changed in software-center (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Gabor Kelemen (kelemeng)
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.