From 190d57ac709896ad12f832b03a56b3f445549628 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 14:34:26 -0500 Subject: [PATCH] l10n: Eliminated STRING_ERROR_NO_FILTER --- src/commands/CmdSync.cpp | 2 +- src/l10n/deu-DEU.h | 4 ---- src/l10n/eng-USA.h | 4 ---- src/l10n/epo-RUS.h | 4 ---- src/l10n/esp-ESP.h | 4 ---- src/l10n/fra-FRA.h | 4 ---- src/l10n/ita-ITA.h | 4 ---- src/l10n/jpn-JPN.h | 4 ---- src/l10n/pol-POL.h | 4 ---- src/l10n/por-PRT.h | 4 ---- 10 files changed, 1 insertion(+), 37 deletions(-) diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index 670aecc53..dea0e120c 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -64,7 +64,7 @@ int CmdSync::execute (std::string& output) Filter filter; if (filter.hasFilter ()) - throw std::string (STRING_ERROR_NO_FILTER); + throw std::string ("Command line filters are not supported by this command."); // Loog for the 'init' keyword to indicate one-time pending.data upload. bool first_time_init = false; diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 547ab7e9a..80975cc31 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -471,10 +471,6 @@ #define STRING_CMD_CAL_SUN_MON "Die 'weekstart'-Konfigurationsoption darf nur 'Sunday' oder 'Monday' lauten." #define STRING_CMD_CALC_USAGE "Rechner" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "Keine Aufgaben." #define STRING_FEEDBACK_NO_TASKS_SP "Keine Aufgaben angegeben." diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index dbf770168..6f3d2a4ec 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -468,10 +468,6 @@ #define STRING_CMD_CAL_SUN_MON "The 'weekstart' configuration variable may only contain 'Sunday' or 'Monday'." #define STRING_CMD_CALC_USAGE "Calculator" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "No tasks." #define STRING_FEEDBACK_NO_TASKS_SP "No tasks specified." diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 7d9fe16d3..75f33c7b0 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -471,10 +471,6 @@ #define STRING_CMD_CAL_SUN_MON "agordvariablo 'weekstart' devas esti 'Sunday' aŭ 'Monday'." #define STRING_CMD_CALC_USAGE "Kalkulilo" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "Nenia tasko." #define STRING_FEEDBACK_NO_TASKS_SP "Nenia tasko specifata." diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index c3d645063..ca53d18df 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -483,10 +483,6 @@ #define STRING_CMD_CAL_SUN_MON "La variable de configuración 'weekstart' solamente puede contener 'domingo' o 'lunes'." #define STRING_CMD_CALC_USAGE "Calculadora" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Los filtros de línea de comando no están soportados por este comando." - // Feedback #define STRING_FEEDBACK_NO_TASKS "Ninguna tarea." #define STRING_FEEDBACK_NO_TASKS_SP "No se especificaron tareas." diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 83df2d940..c87f27931 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -493,10 +493,6 @@ #define STRING_EDIT_HEADER_14 "Le séparateur ' -- ' entre les champs de date et de texte ne devrai pas être supprimé." #define STRING_EDIT_HEADER_15 "Il y a un champs vide ci-dessous pour ajouter une annotation facilement." -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "No tasks." #define STRING_FEEDBACK_NO_TASKS_SP "No tasks specified." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 887b29dde..1d2d247c0 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -472,10 +472,6 @@ #define STRING_CMD_CAL_SUN_MON "La variabile di configurazione 'weekstart' può solo contenere i valori 'Domenica' or 'Lunedì'." #define STRING_CMD_CALC_USAGE "Calculator" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "Nessun task." #define STRING_FEEDBACK_NO_TASKS_SP "Nessun task specificat." diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 70c8b3987..432aedf51 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -473,10 +473,6 @@ #define STRING_CMD_CAL_SUN_MON "'weekstart' 設定変数は 'Sunday' または 'Monday' のみが使えます。" #define STRING_CMD_CALC_USAGE "電卓" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "タスクがない。" #define STRING_FEEDBACK_NO_TASKS_SP "タスクが1つも指定されていません。" diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 1636df31b..4cc7bd8e4 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -473,10 +473,6 @@ #define STRING_CMD_CAL_SUN_MON "Początek tygodnia może mieć wartość 'Niedziela' lub 'Poniedziałek'." #define STRING_CMD_CALC_USAGE "Kalkulator" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "Brak zadań." #define STRING_FEEDBACK_NO_TASKS_SP "Nie określono zadań" diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index eb4c414fb..cac40b714 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -473,10 +473,6 @@ #define STRING_CMD_CAL_SUN_MON "A variável de configuração 'weekstart' apenas pode conter 'domingo' ou 'segunda-feira'." #define STRING_CMD_CALC_USAGE "Calculadora" -// Errors -// TODO Move each of these to appropriate section. -#define STRING_ERROR_NO_FILTER "Command line filters are not supported by this command." - // Feedback #define STRING_FEEDBACK_NO_TASKS "Nenhuma tarefa." #define STRING_FEEDBACK_NO_TASKS_SP "Nenhuma tarefa especificada."