flashtool: localize "Copy Image" string

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

Origin message was:
------------------
- flashtool: localize "Copy Image" string
This commit is contained in:
vanhofen
2014-11-13 16:17:39 +01:00
parent 5fcef17edf
commit bb138b7787
5 changed files with 5 additions and 1 deletions

View File

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

View File

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

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