[Qgis-user] Error on loading python with simple quote in translation

Martin Dobias wonder.sk at gmail.com
Thu Nov 13 03:03:03 PST 2008


On Thu, Nov 13, 2008 at 10:54 AM, Lionel Roubeyrie
<lroubeyrie at limair.asso.fr> wrote:
> Hi all,
> A syntax error occurs when loading python if the translation file
> contains simples quotes.
> I solved the problem by removing the simple quote in the translation
> file, but the best thing would be to change qgis_except_hook_msg
> definition to support simples quotes.

Hi Lionel,

you're right! For now you can work around this by inserting backslash
before simple quote: \'
I'll fix that so in final 1.0 release it will be escaped automatically.

Regards
Martin



More information about the Qgis-user mailing list