diff --git a/src/Task.cpp b/src/Task.cpp index 774d2bbf8..8981bb6c7 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 5ff674be3..f1a4fd0ea 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -490,7 +490,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 573c6f8ef..f0d5a81f0 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -487,7 +487,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 5e69bf147..7db745731 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -490,7 +490,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 53f0d54a1..ff639b8e2 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -502,7 +502,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 b8d1e231c..54e1613ee 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -512,7 +512,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 0b046657d..97f2d9fac 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -491,7 +491,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 c559c8a2d..178ff9fa0 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -492,7 +492,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 33a5aef43..68ab10a08 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -492,7 +492,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 486612a89..4906f6f60 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -492,7 +492,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."