- update: localize question of flashing image

This commit is contained in:
svenhoefer
2015-12-23 08:22:13 +01:00
parent 9e331ee4e3
commit ceb3344a70
5 changed files with 9 additions and 1 deletions

View File

@@ -611,6 +611,8 @@ flashupdate.getupdatefile lade Update
flashupdate.getupdatefileerror Kann Aktualisierung nicht laden! flashupdate.getupdatefileerror Kann Aktualisierung nicht laden!
flashupdate.globalprogress Gesamtstatus: flashupdate.globalprogress Gesamtstatus:
flashupdate.head Aktualisierung flashupdate.head Aktualisierung
flashupdate.install_image Heruntergeladenes Image installieren?
flashupdate.install_package Heruntergeladenes Paket installieren?
flashupdate.md5check Imageprüfung flashupdate.md5check Imageprüfung
flashupdate.md5sumerror Das Image ist fehlerhaft flashupdate.md5sumerror Das Image ist fehlerhaft
flashupdate.menu_apply_kernel Kernel flashen flashupdate.menu_apply_kernel Kernel flashen

View File

@@ -612,6 +612,8 @@ flashupdate.getupdatefile getting update
flashupdate.getupdatefileerror Can't get update! flashupdate.getupdatefileerror Can't get update!
flashupdate.globalprogress Global Progress: flashupdate.globalprogress Global Progress:
flashupdate.head Software Update flashupdate.head Software Update
flashupdate.install_image Flash downloaded image?
flashupdate.install_package Install downloadad pack?
flashupdate.md5check checking image flashupdate.md5check checking image
flashupdate.md5sumerror image has errors flashupdate.md5sumerror image has errors
flashupdate.menu_apply_kernel Flashing kernel flashupdate.menu_apply_kernel Flashing kernel

View File

@@ -517,7 +517,7 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
return menu_return::RETURN_REPAINT; return menu_return::RETURN_REPAINT;
} }
if(softupdate_mode==1) { //internet-update if(softupdate_mode==1) { //internet-update
if ( ShowMsg(LOCALE_MESSAGEBOX_INFO, (fileType < '3') ? "Flash downloaded image ?" : "Install downloaded pack ?", CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NEUTRINO_ICON_UPDATE) != CMessageBox::mbrYes) // UTF-8 if ( ShowMsg(LOCALE_MESSAGEBOX_INFO, (fileType < '3') ? LOCALE_FLASHUPDATE_INSTALL_IMAGE : LOCALE_FLASHUPDATE_INSTALL_PACKAGE, CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NEUTRINO_ICON_UPDATE) != CMessageBox::mbrYes) // UTF-8
{ {
hide(); hide();
return menu_return::RETURN_REPAINT; return menu_return::RETURN_REPAINT;

View File

@@ -639,6 +639,8 @@ typedef enum
LOCALE_FLASHUPDATE_GETUPDATEFILEERROR, LOCALE_FLASHUPDATE_GETUPDATEFILEERROR,
LOCALE_FLASHUPDATE_GLOBALPROGRESS, LOCALE_FLASHUPDATE_GLOBALPROGRESS,
LOCALE_FLASHUPDATE_HEAD, LOCALE_FLASHUPDATE_HEAD,
LOCALE_FLASHUPDATE_INSTALL_IMAGE,
LOCALE_FLASHUPDATE_INSTALL_PACKAGE,
LOCALE_FLASHUPDATE_MD5CHECK, LOCALE_FLASHUPDATE_MD5CHECK,
LOCALE_FLASHUPDATE_MD5SUMERROR, LOCALE_FLASHUPDATE_MD5SUMERROR,
LOCALE_FLASHUPDATE_MENU_APPLY_KERNEL, LOCALE_FLASHUPDATE_MENU_APPLY_KERNEL,

View File

@@ -639,6 +639,8 @@ const char * locale_real_names[] =
"flashupdate.getupdatefileerror", "flashupdate.getupdatefileerror",
"flashupdate.globalprogress", "flashupdate.globalprogress",
"flashupdate.head", "flashupdate.head",
"flashupdate.install_image",
"flashupdate.install_package",
"flashupdate.md5check", "flashupdate.md5check",
"flashupdate.md5sumerror", "flashupdate.md5sumerror",
"flashupdate.menu_apply_kernel", "flashupdate.menu_apply_kernel",