From 47ef45ee38e909746823d42381aea5784e870262 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 14:32:00 -0500 Subject: [PATCH] l10n: Eliminated STRING_ERROR_DETAILS --- src/commands/CmdCalendar.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/commands/CmdCalendar.cpp b/src/commands/CmdCalendar.cpp index 6ddfd3c64..4de4c6655 100644 --- a/src/commands/CmdCalendar.cpp +++ b/src/commands/CmdCalendar.cpp @@ -335,7 +335,7 @@ int CmdCalendar::execute (std::string& output) // Assert that 'report' is a valid report. auto report = context.config.get ("calendar.details.report"); if (context.commands.find (report) == context.commands.end ()) - throw std::string (STRING_ERROR_DETAILS); + throw std::string ("The setting 'calendar.details.report' must contain a single report name."); // TODO Fix this: cal --> task // calendar --> taskendar diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 2723042ca..3b1a12001 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -471,7 +471,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 44d08ae02..5d350d6d8 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -468,7 +468,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index bccec8723..67ab2aecb 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -471,7 +471,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 2a8904eee..0b0c38cab 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -483,7 +483,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 4f7c03352..bab471693 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -493,7 +493,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 1186b9b78..5ab4cbb5a 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -472,7 +472,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index c37ee2f96..3668bace4 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -473,7 +473,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index f2d40d091..59699e99b 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -473,7 +473,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 5f301ab4c..f9c4a3eb3 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -473,7 +473,6 @@ // Errors // TODO Move each of these to appropriate section. -#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." // Feedback