mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Software Update with apply the settings (Part4)
- Use locale for message boxes
Origin commit data
------------------
Branch: ni/coolstream
Commit: dc8ddc5325
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-10-24 (Wed, 24 Oct 2012)
Origin message was:
------------------
* Software Update with apply the settings (Part4)
- Use locale for message boxes
------------------
This commit was generated by Migit
This commit is contained in:
@@ -484,6 +484,9 @@ flashupdate.settings Update-Einstellungen
|
||||
flashupdate.squashfs.noversion Bei Updates werden Versionsüberprüfungen derzeit nur über Web-Updates unterstützt.\nWollen Sie das ausgewählte Image wirklich installieren?
|
||||
flashupdate.titlereadflash Flash auslesen
|
||||
flashupdate.titlewriteflash Flash schreiben
|
||||
flashupdate.update_with_settings_processed Image wird bearbeitet...
|
||||
flashupdate.update_with_settings_skipped Ordner [%s] kann nicht gesichert werden. Eintrag wird übersprungen.
|
||||
flashupdate.update_with_settings_successfully Settingsübernahme erfolgreich.\nDas Image kann jetzt geflasht werden.
|
||||
flashupdate.updatemode Updatemodus
|
||||
flashupdate.updatemode_internet Internet
|
||||
flashupdate.updatemode_manual von lokalem Update-Verzeichnis
|
||||
|
@@ -484,6 +484,9 @@ flashupdate.settings Update settings
|
||||
flashupdate.squashfs.noversion SquashFS version checks are currently only supported when updating over the web.\nAre you sure that you wish to install this image?
|
||||
flashupdate.titlereadflash Reading Flash
|
||||
flashupdate.titlewriteflash Writing Flash
|
||||
flashupdate.update_with_settings_processed Image is being processed...
|
||||
flashupdate.update_with_settings_skipped Folder [%s] can not be saved. Entry is skipped.
|
||||
flashupdate.update_with_settings_successfully Setting takeover successfully.\nThe image can now be flashed.
|
||||
flashupdate.updatemode Updatemode
|
||||
flashupdate.updatemode_internet internet
|
||||
flashupdate.updatemode_manual from local update directory
|
||||
|
@@ -141,7 +141,7 @@ bool CExtUpdate::writemtdExt(const std::string & filename)
|
||||
WRITE_UPDATE_LOG("ERROR: %s", err);
|
||||
return false;
|
||||
}
|
||||
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, "Settingsübernahme erfolgreich.\nDas Image kann jetzt geflasht werden.", CMessageBox::mbrOk, CMessageBox::mbOk, NEUTRINO_ICON_INFO);
|
||||
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_FLASHUPDATE_UPDATE_WITH_SETTINGS_SUCCESSFULLY), CMessageBox::mbrOk, CMessageBox::mbOk, NEUTRINO_ICON_INFO);
|
||||
WRITE_UPDATE_LOG("\n");
|
||||
WRITE_UPDATE_LOG("##### Settings taken. #####\n");
|
||||
CFlashExpert::getInstance()->writemtd(filename, mtdNumber);
|
||||
@@ -152,7 +152,7 @@ bool CExtUpdate::writemtdExt(const std::string & filename)
|
||||
bool CExtUpdate::writemtdExt()
|
||||
{
|
||||
if(!hintBox)
|
||||
hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, "Image wird bearbeitet...");
|
||||
hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_FLASHUPDATE_UPDATE_WITH_SETTINGS_PROCESSED));
|
||||
hintBox->paint();
|
||||
mtdRamError = "";
|
||||
std::string osrelease = "";
|
||||
@@ -468,7 +468,7 @@ bool CExtUpdate::readBackupList(const std::string & dstPath)
|
||||
// special folders
|
||||
else if ((line == "/") || (line == "/*") || (line == "/*.*") || (line.find("/dev") == 0) || (line.find("/proc") == 0) ||
|
||||
(line.find("/sys") == 0) || (line.find("/mnt") == 0) || (line.find("/tmp") == 0)) {
|
||||
snprintf(buf, sizeof(buf), "Ordner [%s] kann nicht übertragen werden. Eintrag wird übersprungen.", line.c_str());
|
||||
snprintf(buf, sizeof(buf), g_Locale->getText(LOCALE_FLASHUPDATE_UPDATE_WITH_SETTINGS_SKIPPED), line.c_str());
|
||||
WRITE_UPDATE_LOG("%s%s", buf, "\n");
|
||||
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, buf, CMessageBox::mbrOk, CMessageBox::mbOk, NEUTRINO_ICON_INFO);
|
||||
continue;
|
||||
|
@@ -511,6 +511,9 @@ typedef enum
|
||||
LOCALE_FLASHUPDATE_SQUASHFS_NOVERSION,
|
||||
LOCALE_FLASHUPDATE_TITLEREADFLASH,
|
||||
LOCALE_FLASHUPDATE_TITLEWRITEFLASH,
|
||||
LOCALE_FLASHUPDATE_UPDATE_WITH_SETTINGS_PROCESSED,
|
||||
LOCALE_FLASHUPDATE_UPDATE_WITH_SETTINGS_SKIPPED,
|
||||
LOCALE_FLASHUPDATE_UPDATE_WITH_SETTINGS_SUCCESSFULLY,
|
||||
LOCALE_FLASHUPDATE_UPDATEMODE,
|
||||
LOCALE_FLASHUPDATE_UPDATEMODE_INTERNET,
|
||||
LOCALE_FLASHUPDATE_UPDATEMODE_MANUAL,
|
||||
|
@@ -511,6 +511,9 @@ const char * locale_real_names[] =
|
||||
"flashupdate.squashfs.noversion",
|
||||
"flashupdate.titlereadflash",
|
||||
"flashupdate.titlewriteflash",
|
||||
"flashupdate.update_with_settings_processed",
|
||||
"flashupdate.update_with_settings_skipped",
|
||||
"flashupdate.update_with_settings_successfully",
|
||||
"flashupdate.updatemode",
|
||||
"flashupdate.updatemode_internet",
|
||||
"flashupdate.updatemode_manual",
|
||||
|
Reference in New Issue
Block a user