https://bugs.kde.org/show_bug.cgi?id=395338

Tyson Tan <tyson...@tysontan.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #68 from Tyson Tan <tyson...@tysontan.com> ---
So the current state of this bug is:

Buttons like [OK] and [Cancel] are missing translation in Krita's OWN builds
(Windows/macOS/Linux). But the DISTRO builds have them. Therefore I suspect
this is actually a packaging issue.

I recently worked on Qt upstream's translation, and noticed some quirks that
might provide some clues.

Qt's translation is a separated project: "qt -> qttranslations". The package
uses the name "qt5-translation" under Archlinux. It's an optional dependency of
many things, but none of them actually requires qt5-translation to work.

By removing qt5-translation from the system, some KDE Plasma dialogues becomes
English. Like the Printing dialogues which is basically Qt's.

For what Krita is missing, I can find the matching stuff under:

qttranslation -> qtbase -> QGnomeTheme, QPlatformTheme

QGnomeTheme translations have accelerators (the &X underline). QPlatformTheme
ones don't have them. Krita's dialogues shows accelerators.

My guess is that our building system is not configured with qttranslation as a
hard dependency to build Krita, and therefore our own builds alone don't have
the translation from Qt.

Please allow me to reopen this bug since it was never truly resolved, and also
for further discussion and possible improvement.

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

Reply via email to