RemoteControl plugin does not escape translated strings correctly for some languages

Bug #1608177 reported by Tanmoy Saha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Florian Schaukowitsch

Bug Description

For some language (bn, it, fr) remote control plug-in not working. It stuck in 'Please wait, loading' screen in browser. For other language it works well.

Related branches

Revision history for this message
Tanmoy Saha (t4saha) wrote :
Revision history for this message
Tanmoy Saha (t4saha) wrote :
Revision history for this message
Tanmoy Saha (t4saha) wrote :
Changed in stellarium:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 0.15.1
milestone: 0.15.1 → 1.0.0
Revision history for this message
Tanmoy Saha (t4saha) wrote :

the error for bengali language is a typing error caused by adding %1 where its not in there. its corrected by updating translation po file.

for other languages the error is with the words having with l' or the '

when i deleted the ' and converted to qm, they works fine.

Revision history for this message
gzotti (georg-zotti) wrote :

Ouch. I had suspected something like some "apostrophe accident".

Changed in stellarium:
assignee: nobody → Florian Schaukowitsch (fschauk)
Revision history for this message
Florian Schaukowitsch (fschauk) wrote :

This was indeed a problem with escaping the quotes. It should hopefully be fixed in r8615.
The translated strings are now always escaped either in a HTML (QString::toHtmlEscaped + single quote escape) or JS (escape double and single quotes) format.

summary: - remote control not working
+ RemoteControl plugin does not escape translated strings correctly for
+ some languages
Changed in stellarium:
status: Confirmed → Fix Committed
Changed in stellarium:
milestone: 1.0.0 → 0.15.1
no longer affects: stellarium/0.15
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.