l10n: Eliminated some column labels

This commit is contained in:
Paul Beckingham
2018-01-21 23:21:43 -05:00
parent 98b433bee3
commit bf576a869e
10 changed files with 3 additions and 31 deletions

View File

@@ -32,7 +32,6 @@
#include <DOM.h> #include <DOM.h>
#include <Eval.h> #include <Eval.h>
#include <Variant.h> #include <Variant.h>
#include <i18n.h>
#include <format.h> #include <format.h>
#include <shared.h> #include <shared.h>
@@ -278,15 +277,15 @@ void Filter::safety () const
! filter) ! filter)
{ {
if (! context.config.getBoolean ("allow.empty.filter")) if (! context.config.getBoolean ("allow.empty.filter"))
throw std::string (STRING_TASK_SAFETY_ALLOW); throw std::string ("You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken.");
// If user is willing to be asked, this can be avoided. // If user is willing to be asked, this can be avoided.
if (context.config.getBoolean ("confirmation") && if (context.config.getBoolean ("confirmation") &&
confirm (STRING_TASK_SAFETY_VALVE)) confirm ("This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"))
return; return;
// Sound the alarm. // Sound the alarm.
throw std::string (STRING_TASK_SAFETY_FAIL); throw std::string ("Command prevented from running.");
} }
} }
} }

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "Keine Aufgaben." #define STRING_FEEDBACK_NO_TASKS "Keine Aufgaben."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} Aufgaben)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} Aufgaben)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 Aufgabe)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 Aufgabe)"
#define STRING_TASK_SAFETY_ALLOW "Kein Filter angegeben, und durch den konfigurierten 'allow.empty.filter'-Wert wurde keine Aktion durchgeführt."
#define STRING_TASK_SAFETY_FAIL "Befehl an Ausführung gehindert."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "No tasks." #define STRING_FEEDBACK_NO_TASKS "No tasks."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} tasks)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} tasks)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 task)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 task)"
#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_SAFETY_FAIL "Command prevented from running."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "Nenia tasko." #define STRING_FEEDBACK_NO_TASKS "Nenia tasko."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} taskoj)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} taskoj)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 tasko)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 tasko)"
#define STRING_TASK_SAFETY_ALLOW "Vi ne specifis filtrilon. Laŭ la valoro 'allow.empty.filter', ne faros nenion."
#define STRING_TASK_SAFETY_FAIL "Antaŭmalebligis komandon."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "Ninguna tarea." #define STRING_FEEDBACK_NO_TASKS "Ninguna tarea."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} tareas)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} tareas)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 tarea)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 tarea)"
#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_SAFETY_FAIL "Se impidió la ejecución del comando."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "No tasks." #define STRING_FEEDBACK_NO_TASKS "No tasks."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} tasks)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} tasks)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 task)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 task)"
#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_SAFETY_FAIL "Command prevented from running."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "Nessun task." #define STRING_FEEDBACK_NO_TASKS "Nessun task."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} task)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} task)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 task)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 task)"
#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_SAFETY_FAIL "Prevenuta l'esecuzione del comando."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "タスクがない。" #define STRING_FEEDBACK_NO_TASKS "タスクがない。"
#define STRING_FEEDBACK_TASKS_PLURAL "({1} タスク)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} タスク)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 タスク)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 タスク)"
#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_SAFETY_FAIL "コマンドの実行は中止された。"
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "Brak zadań." #define STRING_FEEDBACK_NO_TASKS "Brak zadań."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} zadania)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} zadania)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 zadanie)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 zadanie)"
#define STRING_TASK_SAFETY_ALLOW "Brak filtra, z aktywną flagą 'allow.empty.filter', nie podjęto akcji."
#define STRING_TASK_SAFETY_FAIL "Niedopuszczono do wykonania polecenia."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif

View File

@@ -31,8 +31,5 @@
#define STRING_FEEDBACK_NO_TASKS "Nenhuma tarefa." #define STRING_FEEDBACK_NO_TASKS "Nenhuma tarefa."
#define STRING_FEEDBACK_TASKS_PLURAL "({1} tarefas)" #define STRING_FEEDBACK_TASKS_PLURAL "({1} tarefas)"
#define STRING_FEEDBACK_TASKS_SINGLE "(1 tarefa)" #define STRING_FEEDBACK_TASKS_SINGLE "(1 tarefa)"
#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_SAFETY_FAIL "Execução do comando abortada."
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all (including completed and deleted) tasks. Are you sure?"
#endif #endif