Commit 112be3f4 authored by Pekka Vuorela's avatar Pekka Vuorela

[nemo-qml-plugin-systemsettings] Make language region optional. Contributes to JB#34026

parent 528dfb2c
......@@ -222,7 +222,7 @@ QList<Language> LanguageModel::supportedLanguages()
QString region = settings.value("Region").toString();
//% "Region: %1"
QString regionLabel = settings.value("RegionLabel", qtTrId("settings_system-la-region")).toString();
if (name.isEmpty() || localeCode.isEmpty() || region.isEmpty()) {
if (name.isEmpty() || localeCode.isEmpty()) {
Language newLanguage(name, localeCode, region, regionLabel);
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