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

Bug #1035544 reported by Koichi Akabe on 2012-08-11
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Medium
Gabor Kelemen
software-properties (Ubuntu)
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) on 2012-08-16
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
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.")

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) on 2012-08-25
Changed in ubuntu-translations:
assignee: nobody → Gabor Kelemen (kelemeng)
Hendrik Knackstedt (hennekn) wrote :

This also affects German translations.

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) on 2012-08-27
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