diff --git a/src/filelister.cpp b/src/filelister.cpp index b2fa1d3..7fd4343 100644 --- a/src/filelister.cpp +++ b/src/filelister.cpp @@ -73,7 +73,7 @@ void FileLister::browse() if (showDirectories || showFiles) { DIR *dirp; if ((dirp = opendir(path.c_str())) == NULL) { - ERROR("Error: opendir(%s)\n", path.c_str()); + ERROR("Unable to open directory: %s\n", path.c_str()); return; } diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index 3fbc909..18e0810 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -1122,7 +1122,10 @@ void GMenu2X::options() { if (curMenuClock!=confInt["menuClock"]) setClock(confInt["menuClock"]); if (curGlobalVolume!=confInt["globalVolume"]) setVolume(confInt["globalVolume"]); if (lang == "English") lang = ""; - if (lang != tr.lang()) tr.setLang(lang); + if (lang != tr.lang()) { + tr.setLang(lang); + confStr["lang"] = lang; + } /*if (fileExists(CARD_ROOT) && !showRootFolder) unlink(CARD_ROOT); else if (!fileExists(CARD_ROOT) && showRootFolder)