Bug 355145

Summary: French department in test mode are displayed with weird characters containing html tag
Product: [Applications] kgeography Reporter: sanjjoe <sanjoe.dba>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: CONFIRMED ---    
Severity: normal CC: lauranger, vpinon
Priority: NOR    
Version First Reported In: 0.8.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sanjjoe 2015-11-10 18:13:41 UTC
example : Veuillez clicker sur <b>Les landes </b> while it should displays only : Les landes

Reproducible: Always

Steps to Reproduce:
1. Map  is FRANCE
2.
3.
Comment 1 Albert Astals Cid 2015-11-10 23:16:17 UTC
Could you attach a screenshot? I'm not sure i understand the problem
Comment 2 Laurent G. 2018-12-01 20:18:09 UTC
This one I can confirm.
It comes from the french translation file (the po).
I tried to reach the origin of this situation but the kgeography.po has been moved from kde4 hierarchy to kf5 hierarchy since then. SVN can not tell me history beyond 2015. I tried gulping up full KDE repo with git-svn but it would take more than a week or two (80k commits in 10 hours, when total has reached over 1.5M)
What sadens me more is that just one person complained since more than three years. Have we so few francophone users ?
Comment 3 Albert Astals Cid 2018-12-01 23:27:59 UTC
Man the description was so terrible i couldn't understand it....

vpinon, please fix the summit and scatter, don't use nl when we use br, it breaks things.

Index: messages/kdeedu/kgeography.po
===================================================================
--- messages/kdeedu/kgeography.po       (revision 1529609)
+++ messages/kdeedu/kgeography.po       (working copy)
@@ -24278,7 +24278,7 @@
 msgctxt "@info:status"
 msgid "Please click on:<br/><b>%1</b>"
 msgstr ""
-"Veuillez cliquer sur : <nl/><b>%1</b>|/|Veuillez cliquer sur : <nl/><b>$[get-"
+"Veuillez cliquer sur : <br/><b>%1</b>|/|Veuillez cliquer sur : <br/><b>$[get-"
 "genre-etendu nominatif %1]</b>"
 
 #: mapasker.cpp:203
@@ -28547,8 +28547,8 @@
 msgctxt "@info:status"
 msgid "Please place in the map:<br/><b>%1</b>"
 msgstr ""
-"Veuillez placer sur la carte : <nl/><b>%1</b>|/|Veuillez placer sur la "
-"carte : <nl/><b>$[get-genre-etendu nominatif %1]</b>"
+"Veuillez placer sur la carte : <br/><b>%1</b>|/|Veuillez placer sur la "
+"carte : <br/><b>$[get-genre-etendu nominatif %1]</b>"
 
 #: placeasker.cpp:203
 #, kde-format
Comment 4 Unknown 2018-12-02 11:04:47 UTC
SVN commit 1529629 by vpinon:

Fix broken HTML in kgeography


 M  +75 -37    kgeography.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1529629
Comment 5 Albert Astals Cid 2018-12-02 11:55:41 UTC
vpinon didn't you break the javascripted translations with that commit?
Comment 6 Unknown 2018-12-02 14:20:39 UTC
SVN commit 1529636 by vpinon:

Recover JavaScript code


 M  +9 -3      kgeography.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1529636