From e686d198e6ab738953622340ea90b56948e6a0d1 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 c05fb9722..e3d749ea9 100644 --- a/src/commands/CmdCalendar.cpp +++ b/src/commands/CmdCalendar.cpp @@ -336,7 +336,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 fc03fb14c..547ab7e9a 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -473,7 +473,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 8e3eb960e..dbf770168 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -470,7 +470,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 77e977396..7d9fe16d3 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -473,7 +473,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 c2588ada1..c3d645063 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -485,7 +485,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 40a283ffc..83df2d940 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -495,7 +495,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 3d536d608..887b29dde 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -474,7 +474,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 2ac27442f..70c8b3987 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -475,7 +475,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 2daad7f08..1636df31b 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -475,7 +475,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 9b6840ca4..eb4c414fb 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -475,7 +475,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