Comment 10 for bug 241904

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

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.