If the --finish-str is commented out, as in the previous patch,
synaptic's *default* finish message is displayed in a pop-up, which is
generic to package installation instead of being specific to language
availability.

This is not a terrible solution, although language installation is
already a bit confusing, therefore I prefer the following:

Search the returned translation for apostrophes and replace them with...
with what? This is the question. I have tried replacement with escaped
single quotes, with the whole thing surrounded in double quotes, and
various other approaches, none of which worked. However, if the
apostrophe is replaced with an accent grave character: ` (U+0060), it
works and *looks* (almost) like an apostrophe. While this is technically
a little incorrect language-wise, I propose that it is close enough that
it should be comprehensible to the user.

This approach leverages the existing translations, is generic to all
languages (not just Italian), provides the user with the intended
language-specific message instead of the generic synaptic finish-str
message.

I'll attach an image of the Italian pop-up with my fix and a patch.

** Attachment added: "payson.it.fix.png"
   http://launchpadlibrarian.net/25938088/payson.it.fix.png

-- 
[Hardy] Single quote prevents synaptic from running in language-selector
https://bugs.launchpad.net/bugs/241904
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to