Commit c1054ad7 authored by Sebastian Kügler's avatar Sebastian Kügler

Specify translation domain in installed languages query

This requires review 118678. It's needed to find the translations for a
given domain (which might, or might not be the same as the current
language, which KLocalizedString otherwise will use).
parent b89d1c68
......@@ -85,7 +85,7 @@ void KCMTranslations::load()
// Get the currently installed translations for Plasma
// TODO May want to later add all installed .po files on system?
m_installedTranslations.clear();
m_installedTranslations = KLocalizedString::availableApplicationTranslations().toList();
m_installedTranslations = KLocalizedString::availableApplicationTranslations("systemsettings").toList();
if (!m_installedTranslations.contains("en_US")) {
m_installedTranslations.append("en_US");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment