Bug 393805 - Problem in a string in ksysguard.po
Summary: Problem in a string in ksysguard.po
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Unmaintained
Component: ksysguard (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 14:56 UTC by Luiz Fernando Ranghetti
Modified: 2018-05-16 12:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Fernando Ranghetti 2018-05-03 14:56:50 UTC
Hi,

While investigating a bug in pt_BR translation of ksysguard.po (#392899)
regarding duplicate itens in KSysGuard statusbar, I find the problem
is an interesting string:

#: ksysguard.cpp:445
#, kde-format
msgid "CPU: %1%(ST)œ%1%"
msgstr "CPU: %1%œ(ST)%1%"


This (ST) is a special character (can be seen here:
http://paste.opensuse.org/97221781)

As we see, I left it exactly as in English, which leads to this item
been duplicated on KSysGuard (e.g CPU: 14%14%)

Comparing this string with other translations and testing on KSysGuard
shows me that:

*Languages that put some space in this translation or translate the
word CPU works (de, fr, ga, etc)
*Languages that leave the string as in source don't work (pt, es, ja,
ko, hu, id, etc)

https://l10n.kde.org/dictionary/compare-translations.php?package=kde-workspace&filename=ksysguard.po&compare=CPU%3A+%251%25%C2%9C%251%25

Regards,

Luiz
Comment 1 Luiz Fernando Ranghetti 2018-05-16 12:49:44 UTC
Fixed with this commit from aacid:

https://phabricator.kde.org/R106:e1f61968feabfb025e2378491a5ad65a5b8afe3f