From 15096c473e82f94956397c0c30c0f3a67fc36bca Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 13:55:34 -0500 Subject: [PATCH] l10n: Eliminated STRING_INFINITE_LOOP --- src/Task.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, 2 insertions(+), 9 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index a5633b5da..f2de27bfb 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -58,6 +58,8 @@ #include #include +#define STRING_INFINITE_LOOP "Terminated substitution because more than {1} changes were made - infinite loop protection." + #define APPROACHING_INFINITY 1000 // Close enough. This isn't rocket surgery. extern Context context; diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 5c9d76168..add537dcb 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_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." #define STRING_INVALID_MOD "Die '{1}'-Eigenschaft erlaubt keinen Wert '{2}'." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 4295dea58..9c99ba353 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_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." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 031b5a5b1..0116183ba 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_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." #define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index aba2277d4..14288da7b 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_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." #define STRING_INVALID_MOD "El atributo '{1}' no admite un valor '{2}'." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 43d7b7298..569ce5c99 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_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é." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 32ead0636..1b9ec8539 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_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." #define STRING_INVALID_MOD "L'attributo '{1}' non ammette un valore pari a '{2}'." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 1e839d990..68fb2bd74 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_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." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index d25c76b82..133b7679e 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_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." #define STRING_INVALID_MOD "Atrybut '{1}' nie zezwala na wartość '{2}'." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 7e71d3982..d30ad66ad 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_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." #define STRING_INVALID_MOD "O atributo '{1}' não permite o valor '{2}'."