Bug 465282

Summary: Data values are not localisable
Product: [Applications] plasma-systemmonitor Reporter: Emir SARI <emir_sari>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.26.90   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:

Description Emir SARI 2023-02-04 17:32:04 UTC
SUMMARY

Values that indicate data transfer (such as 1.25 MiB/s) are hardcoded, and not accommodating other translations for seconds, for instance. These values should also be translatable.
Comment 1 Arjen Hiemstra 2023-02-07 13:11:22 UTC
The strings are located here: https://invent.kde.org/plasma/libksysguard/-/blob/master/formatter/Formatter.cpp#L42 and marked as translatable, is there anything missing?
Comment 2 Emir SARI 2023-02-07 16:22:51 UTC
It looks like these strings are not available through SVN. I did a general grep, and so far everything looks translated.
Comment 3 Bug Janitor Service 2023-02-08 09:43:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/256
Comment 4 Arjen Hiemstra 2023-02-10 11:22:28 UTC
Git commit d33fe297ec4a52da0c4978e58996334b26414620 by Arjen Hiemstra.
Committed on 10/02/2023 at 11:20.
Pushed by ahiemstra into branch 'master'.

formatter: Properly extract strings to a translation catalog

Apparently we forgot this
Related: bug 465281

M  +2    -0    formatter/CMakeLists.txt
A  +2    -0    formatter/Messages.sh

https://invent.kde.org/plasma/libksysguard/commit/d33fe297ec4a52da0c4978e58996334b26414620
Comment 5 Arjen Hiemstra 2023-02-10 12:03:26 UTC
Git commit 68679d8ada54dfac5ce12491324f91d8572b789c by Arjen Hiemstra.
Committed on 10/02/2023 at 12:03.
Pushed by ahiemstra into branch 'Plasma/5.27'.

formatter: Properly extract strings to a translation catalog

Apparently we forgot this
Related: bug 465281


(cherry picked from commit d33fe297ec4a52da0c4978e58996334b26414620)

M  +2    -0    formatter/CMakeLists.txt
A  +2    -0    formatter/Messages.sh

https://invent.kde.org/plasma/libksysguard/commit/68679d8ada54dfac5ce12491324f91d8572b789c