Index: sources/gui/qml/pages/settings/SettingsLocalization.qml =================================================================== diff -u -rd866ef66b21f114f07cb80a07860900cd43daff0 -rf2ee59e1c942d8dc07e73372b87d7b946a53cee4 --- sources/gui/qml/pages/settings/SettingsLocalization.qml (.../SettingsLocalization.qml) (revision d866ef66b21f114f07cb80a07860900cd43daff0) +++ sources/gui/qml/pages/settings/SettingsLocalization.qml (.../SettingsLocalization.qml) (revision f2ee59e1c942d8dc07e73372b87d7b946a53cee4) @@ -28,7 +28,9 @@ SettingsBase { id: _root itemIndex : SettingsStack.Localization confirmVisible : true + notificationText: vLocalization.notification + Row { id: _settingsRoInputRow anchors.centerIn: parent @@ -113,12 +115,13 @@ Connections { target: _settingsLanguageCombo function onCurrentIndexChanged() { - notificationText = "" - console.log("\t" + _settingsLanguageCombo.currentIndex) + vLocalization.notification = "" } + } - function onCurrentTextChanged() { - console.log(_settingsLanguageCombo.currentText, ":" , _settingsLanguageCombo.displayText) + onVisibleChanged: { + if (visible) { + vLocalization.notification = "" } } } Index: sources/view/settings/VLocalization.cpp =================================================================== diff -u -rd9b9df9b23da89b4c27f4672ff6e7f570adcc48a -rf2ee59e1c942d8dc07e73372b87d7b946a53cee4 --- sources/view/settings/VLocalization.cpp (.../VLocalization.cpp) (revision d9b9df9b23da89b4c27f4672ff6e7f570adcc48a) +++ sources/view/settings/VLocalization.cpp (.../VLocalization.cpp) (revision f2ee59e1c942d8dc07e73372b87d7b946a53cee4) @@ -41,7 +41,7 @@ if ( Storage::Settings::save("Localization", "Locale" , mLocale , Storage::Settings::Category_Enum::eConfigurationsLocale ) ) goto lErr; if ( Storage::Settings::save("Localization", "Language" , mLanguage , Storage::Settings::Category_Enum::eConfigurationsLocale ) ) goto lErr; - // FIXME: Notify UI with a message for success + notification("The changes will be applied on the next bootup."); //NOTE: We do not have other keyboards implemented for any language other than en_UK, en_US // keyboardLocale( _keyboardLocaleMap.value(vLanguageIndex) ); @@ -50,6 +50,7 @@ lErr: LOG_DEBUG("Unsuccessfull configuration value storage for Language"); + notification("Failed to set language"); } /*!