"%(count)d proprietary driver%(plural)s in use." is not translatable for some languages
Bug #1035544 reported by
Koichi Akabe
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
lp:~kelemeng/software-properties/bug1035544
- Ubuntu Core Development Team: Pending requested
-
Diff: 53 lines (+9/-7)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+9/-7)
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 |
Changed in ubuntu-translations: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-translations: | |
assignee: | nobody → Gabor Kelemen (kelemeng) |
Changed in ubuntu-translations: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
This is from: erties/ gtk/SoftwarePro pertiesGtk. py:1343 /live.gnome. org/Translation Project/ DevGuidelines/ Plurals
Located in ../softwareprop
The "driver%s" solution is fundamentally broken, needs proper plural support, see: https:/
Also there are some strings in that file that need to be marked for translation:
self.label_ driver_ action. set_label( "Applying changes...") pkg.candidate. summary, pkg.shortname) driver_ action. set_label( "You need to restart the computer to complete the driver changes.")
description = "Using {} from {}".format(
self.label_