diff --git a/src/columns/ColRecur.cpp b/src/columns/ColRecur.cpp index 27bbc40fb..57e2350af 100644 --- a/src/columns/ColRecur.cpp +++ b/src/columns/ColRecur.cpp @@ -127,7 +127,7 @@ void ColumnRecur::modify (Task& task, const std::string& value) task.set (_name, value); } else - throw format (STRING_TASK_INVALID_DUR, value); + throw format ("The duration value '{1}' is not supported.", value); } //////////////////////////////////////////////////////////////////////////////// diff --git a/src/columns/ColTypeDuration.cpp b/src/columns/ColTypeDuration.cpp index 8bf134678..a869dcfc5 100644 --- a/src/columns/ColTypeDuration.cpp +++ b/src/columns/ColTypeDuration.cpp @@ -31,7 +31,6 @@ #include #include #include -#include extern Context context; extern Task& contextTask; @@ -76,7 +75,7 @@ void ColumnTypeDuration::modify (Task& task, const std::string& value) task.set (_name, evaluatedValue); } else - throw format (STRING_TASK_INVALID_DUR, value); + throw format ("The duration value '{1}' is not supported.", value); } //////////////////////////////////////////////////////////////////////////////// diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index f4f500e03..786e5b0c2 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -787,7 +787,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Befehl an Ausführung gehindert." #define STRING_TASK_SAFETY_ALLOW "Kein Filter angegeben, und durch den konfigurierten 'allow.empty.filter'-Wert wurde keine Aktion durchgeführt." -#define STRING_TASK_INVALID_DUR "Zeitdauer '{1}' nicht unterstützt." #define STRING_TASK_INVALID_COL_TYPE "Nicht erkannter Typ '{1}' für Spalte '{2}'" // TDB2 diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index ede96264a..386cc84a6 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -785,7 +785,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Command prevented from running." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." -#define STRING_TASK_INVALID_DUR "The duration value '{1}' is not supported." #define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" // TDB2 diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 8f171bfbe..e5a132a5e 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -787,7 +787,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Antaŭmalebligis komandon." #define STRING_TASK_SAFETY_ALLOW "Vi ne specifis filtrilon. Laŭ la valoro 'allow.empty.filter', ne faros nenion." -#define STRING_TASK_INVALID_DUR "The duration value '{1}' is not supported." #define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" // TDB2 diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 645a8e54d..9d75d9ef1 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -799,7 +799,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Se impidió la ejecución del comando." #define STRING_TASK_SAFETY_ALLOW "No especificó un filtro, y con el valor de 'allow.empty.filter', no se toma ninguna acción." -#define STRING_TASK_INVALID_DUR "El valor de duración '{1}' no está soportado." #define STRING_TASK_INVALID_COL_TYPE "Tipo de columna no reconocido '{1}' para la columna '{2}'" // TDB2 diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index efc716dc0..0bb114a2f 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -789,7 +789,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Command prevented from running." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." -#define STRING_TASK_INVALID_DUR "The duration value '{1}' is not supported." #define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" // TDB2 diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 546d4d2b6..50ae3234e 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -788,7 +788,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Prevenuta l'esecuzione del comando." #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." -#define STRING_TASK_INVALID_DUR "The duration value '{1}' is not supported." #define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" // TDB2 diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 4c7ac1fc7..37610bb3a 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -789,7 +789,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "コマンドの実行は中止された。" #define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken." -#define STRING_TASK_INVALID_DUR "The duration value '{1}' is not supported." #define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" // TDB2 diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index a2f331f54..4661dfab9 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -789,7 +789,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Niedopuszczono do wykonania polecenia." #define STRING_TASK_SAFETY_ALLOW "Brak filtra, z aktywną flagą 'allow.empty.filter', nie podjęto akcji." -#define STRING_TASK_INVALID_DUR "Wartość czas trwania '{1}' jest niewspierana." #define STRING_TASK_INVALID_COL_TYPE "Nierozpoznany typ kolumny '{1}' dla kolumny '{2}'" // TDB2 diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 07088af31..3ca655a3b 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -789,7 +789,6 @@ #define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?" #define STRING_TASK_SAFETY_FAIL "Execução do comando abortada." #define STRING_TASK_SAFETY_ALLOW "Não especificou um filtro e com o valor de 'allow.empty.filter', nenhuma ação foi tomada." -#define STRING_TASK_INVALID_DUR "The duration value '{1}' is not supported." #define STRING_TASK_INVALID_COL_TYPE "Unrecognized column type '{1}' for column '{2}'" // TDB2