mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
reload plugins after changing language to respect localization
Origin commit data
------------------
Branch: ni/coolstream
Commit: 62aa1c0b76
Author: Christian Schuett <Gaucho316@hotmail.com>
Date: 2015-03-16 (Mon, 16 Mar 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
fbb0a78877
commit
0a223d9c56
@@ -76,6 +76,7 @@ int COsdLangSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
|||||||
|
|
||||||
if (!actionKey.empty()) {
|
if (!actionKey.empty()) {
|
||||||
g_settings.language = actionKey;
|
g_settings.language = actionKey;
|
||||||
|
g_PluginList->loadPlugins();
|
||||||
g_Locale->loadLocale(g_settings.language.c_str());
|
g_Locale->loadLocale(g_settings.language.c_str());
|
||||||
return menu_return::RETURN_EXIT;
|
return menu_return::RETURN_EXIT;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user