Trash menu items in Unity are either not translatable or translations are not loaded
Bug #645038 reported by
David Planella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
High
|
Unassigned | ||
Unity |
Fix Released
|
Medium
|
Mikkel Kamstrup Erlandsen | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The menu that appears when right-clicking the trash launcher in Unity are mostly in English. See the attached screenshot, where only "Trash" ("Paperera") appears translated.
The untranslated strings are:
* "63 items" - There is a "%d items" string in the unity template, but translations do not seem to get loaded
* "Open" - There is an "Open" string in the unity template, but translations do not seem to get loaded
* "Empty Trash" - There is no such string in the unity template. Most probably it needs to be marked for translation
Related branches
lp://qastaging/~unity-team/unity/trash-i18n-fixes
- Gord Allott (community): Approve
-
Diff: 21 lines (+2/-2)1 file modifiedunity-private/places/places-trash-controller.vala (+2/-2)
Changed in unity: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Medium |
milestone: | none → 2010-09-22 |
status: | New → Triaged |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-translations: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
"Open" and "Empty Trash" where not marked for translation. We have a statement like this for the "N items":
string label = ngettext("%d item", "%d items", n_items);
Which is then inserted in the UI as 'label.printf (n_items)'. As far as I can tell this ought to work, i'll dig a bit more into this.