SUMMARY The tooltips ‘Copy number’ and ‘Copy unit and number’ always appear in English. It’s not possible to translate them. STEPS TO REPRODUCE 1. Start KRunner in a non-English locale. 2. Write a unit, e.g., ‘5 km’. 3. Hover over the two ‘copy’ buttons. OBSERVED RESULT The tooltips for the buttons are shown as ‘Copy number’ and ‘Copy unit and number’. EXPECTED RESULT The tooltips should be shown in language of the current locale. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20201022 KDE Plasma Version: 5.20.1 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 Kernel Version: 5.8.15-1-default OS Type: 64-bit Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz Memory: 15.6 GiB of RAM Graphics Processor: GeForce GTX 1060 3GB/PCIe/SSE2 ADDITIONAL INFORMATION It’s not possible translate the strings, since they’re not listed in the corresponding POT file (https://websvn.kde.org/*checkout*/trunk/l10n-kf5/templates/messages/kdeplasma-addons/plasma_runner_converterrunner.pot).
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/33
Git commit 753bbb37e05b832fdedff801fe20c6e04f52eba2 by Alexander Lohnau. Committed on 23/10/2020 at 19:52. Pushed by alex into branch 'master'. Fix translations for tooltips FIXED-IN: 5.21 It actually was one of my first KDE patches where I had no idea how the translation system worked ;) M +2 -2 runners/converter/converterrunner.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/753bbb37e05b832fdedff801fe20c6e04f52eba2
Git commit a89ebe42449ee0d98b3af6493470daeebb3181ad by Alexander Lohnau. Committed on 23/10/2020 at 19:53. Pushed by alex into branch 'Plasma/5.20'. Fix translations for tooltips FIXED-IN: 5.21 It actually was one of my first KDE patches where I had no idea how the translation system worked ;) M +2 -2 runners/converter/converterrunner.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/a89ebe42449ee0d98b3af6493470daeebb3181ad