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 3b1a12001..6e3e34ef9 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -469,10 +469,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 5d350d6d8..11c1748d3 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -466,10 +466,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 67ab2aecb..8dd9fb65f 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -469,10 +469,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 0b0c38cab..7cfeaf7b9 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -481,10 +481,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 bab471693..381143781 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -491,10 +491,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 5ab4cbb5a..730e10766 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -470,10 +470,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 3668bace4..05384554f 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -471,10 +471,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 59699e99b..73d043fd5 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -471,10 +471,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 f9c4a3eb3..fcb00a4a1 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -471,10 +471,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."