From 28ddf8699aaf55c40863aa9ba937ed615313548b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 13:57:44 -0500 Subject: [PATCH] l10n: Eliminated STRING_ERROR_BAD_STATUS --- 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, 1 insertion(+), 10 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index f2de27bfb..83b65cad6 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -152,7 +152,7 @@ Task::status Task::textToStatus (const std::string& input) else if (input[0] == 'r') return Task::recurring; else if (input[0] == 'w') return Task::waiting; - throw format (STRING_ERROR_BAD_STATUS, input); + throw format ("The status '{1}' is not valid.", input); } //////////////////////////////////////////////////////////////////////////////// diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index add537dcb..824d2dce9 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -492,7 +492,6 @@ #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." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "Keine Aufgaben." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 9c99ba353..3f26f14fe 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -489,7 +489,6 @@ #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." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "No tasks." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 0116183ba..49bb1e0df 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -492,7 +492,6 @@ #define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'." #define STRING_ERROR_DETAILS "Agordo 'calendar.details.report' devas enhavi sole unu raportnomon." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "Nenia tasko." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 14288da7b..48dcae8ff 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -504,7 +504,6 @@ #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." #define STRING_ERROR_NO_FILTER "Los filtros de línea de comando no están soportados por este comando." -#define STRING_ERROR_BAD_STATUS "El estatus '{1}' no es válido." // Feedback #define STRING_FEEDBACK_NO_TASKS "Ninguna tarea." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 569ce5c99..512e0cdb1 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -514,7 +514,6 @@ #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." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "No tasks." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 1b9ec8539..ea80f032c 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -493,7 +493,6 @@ #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." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "Nessun task." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 68fb2bd74..e23ee98ad 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -494,7 +494,6 @@ #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." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "タスクがない。" diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 133b7679e..2a389f450 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -494,7 +494,6 @@ #define STRING_INVALID_MOD "Atrybut '{1}' nie zezwala na wartość '{2}'." #define STRING_ERROR_DETAILS "Zmienna 'calendar.details.report' musi zawierać nazwę raportu." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "Brak zadań." diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index d30ad66ad..ae9f345b3 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -494,7 +494,6 @@ #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." #define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." -#define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback #define STRING_FEEDBACK_NO_TASKS "Nenhuma tarefa."