Bug 402171

Summary: Localization problem
Product: [Applications] Spectacle Reporter: Paolo Zamponi <feus73>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: lueck, luigi.toscano, nate
Priority: NOR    
Version First Reported In: 18.08.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paolo Zamponi 2018-12-15 21:11:55 UTC
Hi all, I notice 3 messages which are always displayed in their original language, regardless if they are translated in the mo file or not. 

STEPS TO REPRODUCE
1. Open Spectacle, then choose "Rectangular Region".
2. You'll have "Click anywhere to start.." always in American English, and then "Hold to toggle magnifier..." and "Move selection rectangle..." in the tooltip, even if your locale is not English.

OBSERVED RESULT
This is because these messages have got a "\n" in the  middle, instead of "<br/>".

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
Comment 1 Burkhard Lück 2018-12-16 14:48:20 UTC
These strings are fully translated in master build from sources and all strings have a "\n" instead of "<br/>"
Comment 2 Luigi Toscano 2018-12-18 23:45:50 UTC
(In reply to Burkhard Lueck from comment #1)
> These strings are fully translated in master build from sources and all
> strings have a "\n" instead of "<br/>"

Apart from being translated in the po files, do you see them as translated in the GUI?
Comment 3 Burkhard Lück 2018-12-19 13:57:11 UTC
With Spectacle build 2018-12-09 I had every string surrounded with xx in the gui, this stopped working with the latest build 2018-12-17