diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 14d9bd9c4..42a79f8fb 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -556,6 +556,7 @@ flashupdate.cantopenfile kann Datei nicht öffnen flashupdate.cantopenmtd kann MTD nicht öffnen flashupdate.checkupdate_internet Online nach Updates suchen flashupdate.checkupdate_local Lokales Update +flashupdate.copy_image Kopiere Image in den Arbeitsspeicher flashupdate.createimage Image speichern flashupdate.createimage_add_env 'env' hinzufügen flashupdate.createimage_add_kernel 'kernel' hinzufügen diff --git a/data/locale/english.locale b/data/locale/english.locale index e60ac6f1b..f67551aa4 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -556,6 +556,7 @@ flashupdate.cantopenfile can't open file flashupdate.cantopenmtd can't open MTD flashupdate.checkupdate_internet Check for online updates flashupdate.checkupdate_local Local update +flashupdate.copy_image Copy Image to main memory flashupdate.createimage Save image flashupdate.createimage_add_env Add 'env' to image flashupdate.createimage_add_kernel Add 'kernel' to image diff --git a/src/system/flashtool.cpp b/src/system/flashtool.cpp index 6c0b76b40..04ddd4d43 100644 --- a/src/system/flashtool.cpp +++ b/src/system/flashtool.cpp @@ -200,7 +200,7 @@ bool CFlashTool::program( const std::string & filename, int globalProgressEndEra CFileHelpers fh; printf("##### [CFlashTool::program] copy flashfile to %s\n", flashfile.c_str()); if(statusViewer) - statusViewer->showStatusMessageUTF("Copy Image"); + statusViewer->showStatusMessageUTF(g_Locale->getText(LOCALE_FLASHUPDATE_COPY_IMAGE)); fh.copyFile(filename.c_str(), flashfile.c_str(), 0644); sync(); if(statusViewer) diff --git a/src/system/locals.h b/src/system/locals.h index 18b7c4251..0337282aa 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -583,6 +583,7 @@ typedef enum LOCALE_FLASHUPDATE_CANTOPENMTD, LOCALE_FLASHUPDATE_CHECKUPDATE_INTERNET, LOCALE_FLASHUPDATE_CHECKUPDATE_LOCAL, + LOCALE_FLASHUPDATE_COPY_IMAGE, LOCALE_FLASHUPDATE_CREATEIMAGE, LOCALE_FLASHUPDATE_CREATEIMAGE_ADD_ENV, LOCALE_FLASHUPDATE_CREATEIMAGE_ADD_KERNEL, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index bf540c233..1a2a5cbe8 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -583,6 +583,7 @@ const char * locale_real_names[] = "flashupdate.cantopenmtd", "flashupdate.checkupdate_internet", "flashupdate.checkupdate_local", + "flashupdate.copy_image", "flashupdate.createimage", "flashupdate.createimage_add_env", "flashupdate.createimage_add_kernel",