Revision 213c7b3...

Go back to digest for 30th June 2013

Bug Fixes in KDE Base

Aleix Pol Gonzalez committed changes in [kdelibs/frameworks] kdeui/dialogs/kswitchlanguagedialog_p.cpp:

Figure out how the KSwitchLanguageDialog specifies the startup language

What we did was to port the code in the dialog to read the values from
QLocale, relying on KLocalizedStrings' hook to initialize QLocale properly.
So we added that hook that reads the configuration that knows what language
should be used to override the settings that Qt will use, which is the
LANGUAGE env var.

NOTE: we removed the code that, after saying that the application should be
restarted, tries to change the language on the fly. It didn't work well
(the new things were translated, but not the old things).

For more information see the review request, it has quite some literature.

REVIEW: 111178

File Changes

Modified 1 files
  • kdeui/dialogs/kswitchlanguagedialog_p.cpp
1 files changed in total