https://bugs.kde.org/show_bug.cgi?id=492665
--- Comment #5 from Harald Sitter <sit...@kde.org> ---
Oh what fun. So what is going on is that Plasma Addons is translated as two
different strings this then results in the categories not getting merged and
since they are not getting merged one of them is just dangling around. If the
translations were the same this bug would disappear. I guess this is a variant
of the non-unique translation bug I fixed a while ago, except in this case the
strings are too unique 😭'

Unsure what to do about it though. A unit test probably makes no sense globally
because depending on context the same string could require translation as
different strings. Removing the Menu entries from the packagekit categories
would mean we don't get the widgets enumerated when there is no kns backend or
the system is offline. Detecting that there are categories that should be
merged (as per english) but aren't (as per locale) would probably require quite
a refactor since we'd need to carry around both C and $locale strings for
categories.

#: libdiscover/backends/KNSBackend/KNSBackend.cpp:277
#, kde-format
msgid "Plasma Addons"
msgstr "Plasma Extra's"

#: libdiscover/backends/PackageKitBackend/packagekit-backend-categories.xml:556
#, kde-format
msgctxt "Category"
msgid "Plasma Addons"
msgstr "Plasma Widgets"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to