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

--- Comment #7 from Ingo Klöcker <kloec...@kde.org> ---
Git commit fb7d5e2a0433f171229ef58393cbfbf0e23ab2b6 by Ingo Klöcker.
Committed on 21/02/2023 at 16:17.
Pushed by kloecker into branch 'master'.

Load translations for application-specific language also on Win and Mac

On Windows and Apple OSs, we cannot use QLocale::system() because on
those OSs Qt ignores LANGUAGE (which is set by kxmlgui to the
application-specific languages configured by the user). We need to
check LANGUAGE ourselves.

This MR replaces kxmlgui!145. It fixes the bug for the translations provided by
Qt. To fix the bug also for translations coming from .qm files in KF libraries
a similar change in ecm is needed.

I have tested this MR (for KF5) with Kate on Windows.

M  +20   -2    src/i18n/main.cpp

https://invent.kde.org/frameworks/ki18n/commit/fb7d5e2a0433f171229ef58393cbfbf0e23ab2b6

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

Reply via email to