"%(count)d proprietary driver%(plural)s in use." is not translatable for some languages

Bug #1035544 reported by Koichi Akabe
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Medium
Gabor Kelemen
software-properties (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The translation template contains the following string:
  %(count)d proprietary driver%(plural)s in use.

Japanese doesn't distinguish plurals, so we should ignore "%(plural)s" on translation.
However, Rosetta doesn't accept the translation without this variable.

Related branches

CVE References

summary: - "%(count)d proprietary driver%(plural)s in use." can't be translate to
+ "%(count)d proprietary driver%(plural)s in use." is not translatable for
some languages
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

This is from:
 Located in ../softwareproperties/gtk/SoftwarePropertiesGtk.py:1343
The "driver%s" solution is fundamentally broken, needs proper plural support, see: https://live.gnome.org/TranslationProject/DevGuidelines/Plurals

Also there are some strings in that file that need to be marked for translation:

self.label_driver_action.set_label("Applying changes...")
description = "Using {} from {}".format(pkg.candidate.summary, pkg.shortname)
self.label_driver_action.set_label("You need to restart the computer to complete the driver changes.")

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

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

Changed in software-properties (Ubuntu):
status: New → Confirmed
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
assignee: nobody → Gabor Kelemen (kelemeng)
Revision history for this message
Hendrik Schrieber (hennekn) wrote :

This also affects German translations.

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

This bug was fixed in the package software-properties - 0.92

---------------
software-properties (0.92) quantal; urgency=low

  [ Robert Roth ]
  * lp:~evfool/software-properties/lp1030970 :
    - Fixed the source code checkbox and the submit statistics
      checkbox labels to be left-aligned instead of centered.
  * lp:~evfool/software-properties/lp997371:
    - support enabling a component via "apt-add-repository componentname"
      (e.g. "apt-add-repository multiverse") LP: #997371

  [ Mathieu Trudel-Lapierre ]
  * Reinstate pycurl to use for getting PPA information from Launchpad, since
    it can actually verify SSL certificates with python2. Also set
    LAUNCHPAD_PPA_CERT so that it's a valid path to the system CA certificates
    bundle to use for urllib and pycurl. (LP: #1036839)
    - CVE-2012-0955

  [ Gabor Kelemen ]
  * lp:~kelemeng/software-properties/bug1035544:
    - fix a bunch of missing i18n strings (LP: #1035544)

  [ Michael Vogt ]
  * lp:~mvo/software-properties/remove-popcon:
    - remove the "statistics" page as this is no longer used
      (LP: #1025436)
 -- Michael Vogt <email address hidden> Mon, 27 Aug 2012 09:56:47 +0200

Changed in software-properties (Ubuntu):
status: Confirmed → 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.