From f43b51cf85be4eddb836cfb7fd60b0e776d357af Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 13:52:41 -0500 Subject: [PATCH] l10n: Eliminated STRING_TRIVIAL_INPUT --- src/CLI2.cpp | 2 +- src/l10n/deu-DEU.h | 1 - src/l10n/eng-USA.h | 1 - src/l10n/epo-RUS.h | 1 - src/l10n/esp-ESP.h | 1 - src/l10n/fra-FRA.h | 1 - src/l10n/ita-ITA.h | 1 - src/l10n/jpn-JPN.h | 1 - src/l10n/pol-POL.h | 1 - src/l10n/por-PRT.h | 1 - 10 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 7a59f8154..d8f383e0d 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -534,7 +534,7 @@ void CLI2::analyze () { defaultCommand (); if (! findCommand ()) - throw std::string (STRING_TRIVIAL_INPUT); + throw std::string ("You must specify a command or a task to modify."); } demotion (); diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index b1918d2d5..5c9d76168 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -487,7 +487,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Sie müssen einen Befehl oder eine Aufgabe zum ändern angeben." #define STRING_INFINITE_LOOP "Beende Ersetzung, weil mehr als {1} Änderungen durchgeführt wurden - Schutz vor Endlosschleifen." #define STRING_UDA_TYPE "UDAs müssen vom Typ 'string', 'date', 'duration' oder 'numeric' sein." #define STRING_UDA_COLLISION "Das UDA '{1}' hat den selben Namen wie eine eingebaute Eigenschaft, und ist daher nicht erlaubt." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 3114c203e..4295dea58 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -484,7 +484,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "You must specify a command or a task to modify." #define STRING_INFINITE_LOOP "Terminated substitution because more than {1} changes were made - infinite loop protection." #define STRING_UDA_TYPE "User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'." #define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index dad6d5294..031b5a5b1 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -487,7 +487,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Oni devas specifi komandon, aŭ taskon ke vi volas modifi." #define STRING_INFINITE_LOOP "Finis anstataŭon ĉar ekzistas pli de {1} ŝanĝoj - protekto kontraŭ senfina ripeton." #define STRING_UDA_TYPE "La tipo de uzanto-definitaj atributoj devas esti 'string', 'date', 'duration', aŭ 'numeric'." #define STRING_UDA_COLLISION "UDA '{1}' kaj enkonstruita atributo havas la saman nomon. Tio estas malpermesita." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index a31bbc6a7..aba2277d4 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -499,7 +499,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Debe especificar un comando o una tarea a modificar." #define STRING_INFINITE_LOOP "Sustitución terminada debido a que se hicieron más de {1} cambios - protección contra ciclo eterno." #define STRING_UDA_TYPE "Los atributos definidos por el usuario solamente pueden ser de los tipos 'string', 'date', 'duration' o 'numeric'." #define STRING_UDA_COLLISION "El UDA denominado '{1}' es el mismo que un atributo del núcleo, y no está permitido." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 00e24906e..43d7b7298 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -509,7 +509,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Il vous faut spécifier une commande ou une tâche à modifier." #define STRING_INFINITE_LOOP "Substitution arrêté parce que plus de {1} changements ont été faits - protection contre les boucles infinies." #define STRING_UDA_TYPE "User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'." #define STRING_UDA_COLLISION "L'ADU nommé '{1}' est le même qu'un attribut du noyau, et ce n'est pas autorisé." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 3bfa586f2..32ead0636 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -488,7 +488,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Specificare un comando o un task da modificare" #define STRING_INFINITE_LOOP "Sostituzione terminata poiché più di {1} modifiche sono state fatte - protezione da ciclo infinito" #define STRING_UDA_TYPE "Gli User defined attribute possono solo essere di tipo 'string', 'date', 'duration' o 'numeric'." #define STRING_UDA_COLLISION "L'UDA '{1}' ha lo stesso nome di un attributo di sistema, e ciò non è permesso." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index c15863f22..1e839d990 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -489,7 +489,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "変更したいコマンドまたはタスクを指定しなければなりません。" #define STRING_INFINITE_LOOP "Terminated substitution because more than {1} changes were made - infinite loop protection." #define STRING_UDA_TYPE "User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'." #define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted." diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index d18a5694f..d25c76b82 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -489,7 +489,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Musisz podać polecenie lub zadanie do zmiany." #define STRING_INFINITE_LOOP "Podstawienie anulowane ponieważ wykonano więcej niż {1} zmian - zabezpieczenie przed zapętleniem." #define STRING_UDA_TYPE "Atrybuty definiowane przez użytkownika mogą być typu 'string', 'date', 'duration' lub 'numeric'." #define STRING_UDA_COLLISION "Nazwa UDA '{1}' jest jedną z nazw atrybutów podstawowych i dlatego jest niedozwolona." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 6ded42ff8..7e71d3982 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -489,7 +489,6 @@ // Errors // TODO Move each of these to appropriate section. -#define STRING_TRIVIAL_INPUT "Deve específicar um comando ou a tarefa a modificar." #define STRING_INFINITE_LOOP "Substituição terminada. Efectuadas mais de {1} alterações - protecção de ciclos infinitos." #define STRING_UDA_TYPE "Atributos definidos pelo utilizador (UDAs) apenas podem ser do tipo 'texto', 'data', 'duração' ou 'numérico'." #define STRING_UDA_COLLISION "O UDA '{1}' tem o mesmo nome que um atributo interno, tal não é permitido."