flashtool: localize "Copy Image" string

Origin commit data
------------------
Branch: ni/coolstream
Commit: f2d08d72ac
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-13 (Thu, 13 Nov 2014)

Origin message was:
------------------
- flashtool: localize "Copy Image" string

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-11-13 16:17:39 +01:00
parent c5f4e00058
commit 11563d741e
5 changed files with 5 additions and 1 deletions

View File

@@ -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)

View File

@@ -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,

View File

@@ -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",