int COsdLangSetup::exec(CMenuTarget* parent, const std::string &/*actionKey*/) { dprintf(DEBUG_DEBUG, "init international setup\n"); if(parent != NULL) parent->hide(); int res = showLocalSetup(); return res; }
int COsdLangSetup::exec(CMenuTarget* parent, const std::string &actionKey) { dprintf(DEBUG_DEBUG, "init international setup\n"); if(parent != NULL) parent->hide(); if (!actionKey.empty()) { g_settings.language = actionKey; g_fontRenderer->enableReCheck(); g_PluginList->loadPlugins(); g_Locale->loadLocale(g_settings.language.c_str()); return menu_return::RETURN_EXIT; } int res = showLocalSetup(); return res; }