English printf string hard to translate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Low
|
Mikkel Kamstrup Erlandsen | ||
unity-lens-applications |
Fix Released
|
Low
|
Mikkel Kamstrup Erlandsen | ||
unity-lens-files |
Fix Released
|
Low
|
Mikkel Kamstrup Erlandsen | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-place-applications (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity-place-files (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
../src/
TRANSLATORS: The %s is plural. Eg. "games"
"There are no %s installed on this computer"
Thanks for the comments to translators, but basic programming rules[1] say you shouldn't assume all languages use the same syntax as English. Instead of filling the sentence with the applications category, you should use as many full sentences as there are categories. That doesn't create more noise since you need the same numlber of strings (even if they are longer).
In French for example, "of" becomes "de" when next word starts with a consonant, and "d'" when it starts with a vowel. So we can't really translate this, and have to change the string to something like "%s: no apps installed". I let you imagine what non-Occidental languages might need!
1: http://
Changed in unity-place-files: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Low |
milestone: | none → 0.5.40 |
status: | New → Triaged |
Changed in unity-place-applications: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Low |
milestone: | none → 0.2.36 |
status: | Confirmed → Triaged |
Changed in unity: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Low |
milestone: | none → 3.6 |
status: | Confirmed → Triaged |
Changed in unity-place-applications (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in unity-place-files (Ubuntu): | |
status: | New → Triaged |
Changed in unity: | |
milestone: | 3.6 → 3.6.2 |
Changed in unity-place-applications: | |
status: | Triaged → Fix Committed |
Changed in unity-place-files: | |
status: | Triaged → Fix Committed |
Changed in unity: | |
status: | Triaged → Fix Committed |
Changed in unity-place-applications (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in unity-place-files (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in unity-place-applications: | |
status: | Fix Committed → Fix Released |
Changed in unity-place-files: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
BTW, same issue in unity-place-files: daemon. vala:1097
Located in ../src/
"There are no %s in your Home folder"