Strings untranslatable due to word puzzles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
jazzynico | ||
0.92.x |
Fix Released
|
Low
|
jazzynico |
Bug Description
Some relatively new strings in 0.92.x branch are actually untranslatable due
to such called "string puzzles":
inkex.errormsg(
inkex.errormsg(
inkex.errormsg(
inkex.errormsg(
extracts as
Side Length 'a' (
Side Length 'b' (
Side Length 'c' (
Area (
That is not what expected.
It was proposed to fix it like this:
inkex.errormsg(
But it is not a good way because of some languages (French) punctuation rules. In French, there should be a space before ":" ("Longueur du côté «a» (cm) :").
tags: | added: extensions-plugins i18n |
Changed in inkscape: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in inkscape: | |
assignee: | nobody → jazzynico (jazzynico) |
status: | Triaged → In Progress |
tags: | added: backport-proposed |
Changed in inkscape: | |
milestone: | 0.92.1 → 0.93 |
tags: | removed: backport-proposed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
I'd rather see something like: _("Side Length 'a' ({0}): {1}".format(unit, str(params[0][0])) ))
inkex.errormsg(
Full patch attached.