From 1d4b9173fc7e241edf36c35c52c55aa0dbcd50b6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 15 Jan 2018 13:39:48 -0500 Subject: [PATCH] l10n: Eliminated STRING_ERROR_CONFIRM_SIGINT --- 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 - src/util.cpp | 2 +- 10 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 185e5cc3f..8605678cf 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -614,7 +614,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index 5645901b9..f8afc19a8 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -611,7 +611,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 5c293d006..0675f0dab 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -614,7 +614,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 29f1f3492..a7adcffc1 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -626,7 +626,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "El estatus '{1}' no es válido." // Feedback diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 0021e2ac7..4a565a897 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -616,7 +616,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 7549a58d5..a7bc782f8 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -615,7 +615,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 9ac93e2fa..430554472 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -616,7 +616,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 58519d677..e1bb349c2 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -616,7 +616,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 801da299d..18183ef2f 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -616,7 +616,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_CONFIRM_SIGINT "Interrupted: No changes made." #define STRING_ERROR_BAD_STATUS "The status '{1}' is not valid." // Feedback diff --git a/src/util.cpp b/src/util.cpp index e83cef1a2..a5ff2e19f 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -67,7 +67,7 @@ static void signal_handler (int s) { if (s == SIGINT) { - std::cout << "\n\n" << STRING_ERROR_CONFIRM_SIGINT << '\n'; + std::cout << "\n\nInterrupted: No changes made.\n"; exit (1); } }