diff --git a/apps/code/base.de.i18n b/apps/code/base.de.i18n index 70b704e82..155cd5ccd 100644 --- a/apps/code/base.de.i18n +++ b/apps/code/base.de.i18n @@ -5,4 +5,4 @@ ExecuteScript = "Skript ausfuehren" AutoImportScript = "Automatischer Import in Konsole" DeleteScript = "Skript loeschen" FunctionsAndVariables = "Funktionen und Variablen" -NonCompliantName = "Erlaubte Zeichen: a-z, 0-9, _" +AllowedCharactersaz09 = "Erlaubte Zeichen: a-z, 0-9, _" diff --git a/apps/code/base.en.i18n b/apps/code/base.en.i18n index 7a4a9c4bc..8bf1e3c9f 100644 --- a/apps/code/base.en.i18n +++ b/apps/code/base.en.i18n @@ -5,4 +5,4 @@ ExecuteScript = "Execute script" AutoImportScript = "Auto import in shell" DeleteScript = "Delete script" FunctionsAndVariables = "Functions and variables" -NonCompliantName = "Allowed characters: a-z, 0-9, _" +AllowedCharactersaz09 = "Allowed characters: a-z, 0-9, _" diff --git a/apps/code/base.es.i18n b/apps/code/base.es.i18n index eaae8c3bd..1f6fc5aaf 100644 --- a/apps/code/base.es.i18n +++ b/apps/code/base.es.i18n @@ -5,4 +5,4 @@ ExecuteScript = "Ejecutar el archivo" AutoImportScript = "Importacion auto en interprete" DeleteScript = "Eliminar el archivo" FunctionsAndVariables = "Funciones y variables" -NonCompliantName = "Caracteres permitidos : a-z, 0-9, _" +AllowedCharactersaz09 = "Caracteres permitidos : a-z, 0-9, _" diff --git a/apps/code/base.fr.i18n b/apps/code/base.fr.i18n index b063007dd..876bac18c 100644 --- a/apps/code/base.fr.i18n +++ b/apps/code/base.fr.i18n @@ -5,4 +5,4 @@ ExecuteScript = "Executer le script" AutoImportScript = "Importation auto dans la console" DeleteScript = "Supprimer le script" FunctionsAndVariables = "Fonctions et variables" -NonCompliantName = "Caractères autorisés : a-z, 0-9, _" +AllowedCharactersaz09 = "Caractères autorisés : a-z, 0-9, _" diff --git a/apps/code/base.pt.i18n b/apps/code/base.pt.i18n index 4d083b061..29acc7c3c 100644 --- a/apps/code/base.pt.i18n +++ b/apps/code/base.pt.i18n @@ -5,4 +5,4 @@ ExecuteScript = "Executar o script" AutoImportScript = "Importacao auto no interpretador" DeleteScript = "Eliminar o script" FunctionsAndVariables = "Funções e variáveis" -NonCompliantName = "Caracteres permitidos : a-z, 0-9, _" +AllowedCharactersaz09 = "Caracteres permitidos : a-z, 0-9, _" diff --git a/apps/code/menu_controller.cpp b/apps/code/menu_controller.cpp index 289fd2947..f37c0c42a 100644 --- a/apps/code/menu_controller.cpp +++ b/apps/code/menu_controller.cpp @@ -338,7 +338,7 @@ bool MenuController::textFieldDidFinishEditing(TextField * textField, const char } else if (error == Script::ErrorStatus::NameTaken) { app()->displayWarning(I18n::Message::NameTaken); } else if (error == Script::ErrorStatus::NonCompliantName) { - app()->displayWarning(I18n::Message::NonCompliantName); + app()->displayWarning(I18n::Message::AllowedCharactersaz09); } else { assert(error == Script::ErrorStatus::NotEnoughSpaceAvailable); app()->displayWarning(I18n::Message::NameTooLong);