From cece9201bbc9a37626c4af811286c543d92e6f38 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 14:15:34 -0500 Subject: [PATCH] l10n: Eliminated STRING_UDA_TYPE --- src/columns/Column.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/columns/Column.cpp b/src/columns/Column.cpp index 6e1280328..c91b25d84 100644 --- a/src/columns/Column.cpp +++ b/src/columns/Column.cpp @@ -214,7 +214,7 @@ Column* Column::uda (const std::string& name) return c; } else if (type != "") - throw std::string (STRING_UDA_TYPE); + throw std::string ("User defined attributes may only be of type 'string', 'date', 'duration' or 'numeric'."); return NULL; } diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 477f97f9d..01a48eb7b 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -480,7 +480,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "Die Option 'calendar.details.report' muss einen einzelnen Report-Namen enthalten." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 8475dcb8a..1bbc29e08 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -477,7 +477,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 40aa1dc2c..1c39ea104 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -480,7 +480,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "Agordo 'calendar.details.report' devas enhavi sole unu raportnomon." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 9b3c753d6..2d4a4f08b 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -492,7 +492,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "El ajuste 'calendar.details.report' debe contener un único nombre de informe." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 63e77b398..3e9f238e0 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -502,7 +502,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index a7195368a..e8bc96662 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -481,7 +481,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index ead6f5e44..d6454a2c4 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -482,7 +482,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 6e733c183..1ac413710 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -482,7 +482,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "Zmienna 'calendar.details.report' musi zawierać nazwę raportu." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 023bdf30e..c83638ed2 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -482,7 +482,6 @@ // Errors // TODO Move each of these to appropriate section. -#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}'." #define STRING_ERROR_DETAILS "A definição 'calendar.details.report' pode apenas indicar um nome de relatório."