diff --git a/src/commands/CmdVersion.cpp b/src/commands/CmdVersion.cpp index d17d5dee5..46560ee9e 100644 --- a/src/commands/CmdVersion.cpp +++ b/src/commands/CmdVersion.cpp @@ -35,7 +35,6 @@ #endif #include #include -#include extern Context context; @@ -44,7 +43,7 @@ CmdVersion::CmdVersion () { _keyword = "version"; _usage = "task version"; - _description = STRING_CMD_VERSION_USAGE; + _description = "Shows the Taskwarrior version number"; _read_only = true; _displays_id = false; _needs_gc = false; @@ -71,7 +70,7 @@ int CmdVersion::execute (std::string& output) Table link; link.width (width); link.add (""); - link.set (link.addRow (), 0, STRING_CMD_VERSION_DOCS); + link.set (link.addRow (), 0, "Documentation for Taskwarrior can be found using 'man task', 'man taskrc', 'man task-color', 'man task-sync' or at http://taskwarrior.org"); Color bold; if (context.color ()) @@ -98,7 +97,7 @@ CmdCompletionVersion::CmdCompletionVersion () { _keyword = "_version"; _usage = "task _version"; - _description = STRING_CMD_VERSION_USAGE2; + _description = "Shows only the Taskwarrior version number"; _read_only = true; _displays_id = false; _needs_gc = false; diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 9afc5489b..d0ad76c8e 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -102,10 +102,6 @@ // commands/Cmd* // USAGE strings are visible in 'task help' -#define STRING_CMD_VERSION_USAGE "Zeigt die taskwarrior-Versionsnummer" -#define STRING_CMD_VERSION_USAGE2 "Zeigt ausschließlich die taskwarrior-Versionsnummer" -#define STRING_CMD_VERSION_DOCS "Dokumentation für taskwarrior finden Sie in 'man task', 'man taskrc', 'man task-color', 'man task-sync' oder auf http://taskwarrior.org" -#define STRING_CMD_VERSION_UNKNOWN "unbekannt" #define STRING_CMD_EXEC_USAGE "Führt externe Befehle und Skripte aus" #define STRING_CMD_URGENCY_USAGE "Zeigt die Dringlichkeit einer Aufgabe an" #define STRING_CMD_URGENCY_RESULT "Aufgabe {1}, Dringlichkeit {2}" diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index fffe84725..6073a1c52 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -102,10 +102,6 @@ // commands/Cmd* // USAGE strings are visible in 'task help' -#define STRING_CMD_VERSION_USAGE "Shows the Taskwarrior version number" -#define STRING_CMD_VERSION_USAGE2 "Shows only the Taskwarrior version number" -#define STRING_CMD_VERSION_DOCS "Documentation for Taskwarrior can be found using 'man task', 'man taskrc', 'man task-color', 'man task-sync' or at http://taskwarrior.org" -#define STRING_CMD_VERSION_UNKNOWN "unknown" #define STRING_CMD_EXEC_USAGE "Executes external commands and scripts" #define STRING_CMD_URGENCY_USAGE "Displays the urgency measure of a task" #define STRING_CMD_URGENCY_RESULT "task {1} urgency {2}" diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index 7bfccc09d..fad3acff0 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -102,10 +102,6 @@ // commands/Cmd* // USAGE strings are visible in 'task help' -#define STRING_CMD_VERSION_USAGE "Montras la versinombro de taskwarrior" -#define STRING_CMD_VERSION_USAGE2 "Montras sole la versinombro de taskwarrior" -#define STRING_CMD_VERSION_DOCS "Oni povas trovi la dokumentojn por Taskwarrior kun 'man task', 'man taskrc', 'man task-tutorial', 'man task-color', 'man task-sync', 'man task-faq', aŭ ĉe http://taskwarrior.org." -#define STRING_CMD_VERSION_UNKNOWN "nekonata" #define STRING_CMD_EXEC_USAGE "Lanĉas komandojn kaj skribojn eksternajn" #define STRING_CMD_URGENCY_USAGE "Montras la urĝec-mezuro de tasko" #define STRING_CMD_URGENCY_RESULT "tasko {1} urĝeco {2}" diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index 181c40e06..930d8b751 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -102,11 +102,6 @@ #define STRING_COLUMN_EXAMPLES_ANNO4 "Si no te estás cortando el pelo" // commands/Cmd* -#define STRING_CMD_VERSION_USAGE "Muestra el número de versión de taskwarrior" -#define STRING_CMD_VERSION_USAGE2 "Muestra el número de versión (solamente) de taskwarrior" - -#define STRING_CMD_VERSION_DOCS "La documentación de Taskwarrior se puede consultar usando 'man task', 'man taskrc', 'man task-color', y 'man task-sync' o en http://taskwarrior.org." -#define STRING_CMD_VERSION_UNKNOWN "desconocido" #define STRING_CMD_EXEC_USAGE "Ejecuta comandos y scripts externos" #define STRING_CMD_URGENCY_USAGE "Muestra la medida de urgencia de una tarea" #define STRING_CMD_URGENCY_RESULT "tarea {1} urgencia {2}" diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 6cf840bbf..63825e866 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -102,10 +102,6 @@ // commands/Cmd* // USAGE strings are visible in 'task help' -#define STRING_CMD_VERSION_USAGE "Affiche le numéro de version de taskwarrior" -#define STRING_CMD_VERSION_USAGE2 "Affiche uniquement le numéro de version de taskwarrior" -#define STRING_CMD_VERSION_DOCS "On peut trouver les documents de taskwarrior en utilisant 'man task', 'man taskrc', 'man task-color', 'man task-sync', ou chez http://taskwarrior.org" -#define STRING_CMD_VERSION_UNKNOWN "inconnu" #define STRING_CMD_EXEC_USAGE "Lance les commandes et les scripts externes." #define STRING_CMD_URGENCY_USAGE "Affiche l'indice d'urgence de la tâche" #define STRING_CMD_URGENCY_RESULT "task {1} urgency {2}" diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index 3daa3602f..fcea50393 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -101,10 +101,6 @@ #define STRING_COLUMN_EXAMPLES_ANNO4 "Se non si va a tagliare i capelli" // commands/Cmd* -#define STRING_CMD_VERSION_USAGE "Mostra il numero di versione di taskwarrior" -#define STRING_CMD_VERSION_USAGE2 "Mostra solo il numero di versione di taskwarrior" -#define STRING_CMD_VERSION_DOCS "La documentazione di taskwarrior è consultabile con 'man task', 'man taskrc', 'man task-color', 'man task-sync' o presso http://taskwarrior.org" -#define STRING_CMD_VERSION_UNKNOWN "sconosciuto" #define STRING_CMD_EXEC_USAGE "Esegue comandi e script esterni" #define STRING_CMD_URGENCY_USAGE "Mostra l'urgenza di un task" #define STRING_CMD_URGENCY_RESULT "task {1} urgenza {2}" diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 113af2eaa..96c71fc4d 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -102,10 +102,6 @@ // commands/Cmd* // USAGE strings are visible in 'task help' -#define STRING_CMD_VERSION_USAGE "taskwarrior バージョン番号の表示" -#define STRING_CMD_VERSION_USAGE2 "taskwarrior バージョン番号のみの表示" -#define STRING_CMD_VERSION_DOCS "taskwarrior のドキュメントは 'man task', 'man taskrc', 'man task-color', 'man task-sync' あるいは http://taskwarrior.org にあります。" -#define STRING_CMD_VERSION_UNKNOWN "unknown" #define STRING_CMD_EXEC_USAGE "外部コマンドまたはスクリプトの実行" #define STRING_CMD_URGENCY_USAGE "Displays the urgency measure of a task" #define STRING_CMD_URGENCY_RESULT "task {1} urgency {2}" diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 4d3d0941c..77d049861 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -102,10 +102,6 @@ // commands/Cmd* // USAGE strings are visible in 'task help' -#define STRING_CMD_VERSION_USAGE "Pokazuje wersję programu taskwarrior" -#define STRING_CMD_VERSION_USAGE2 "Pokazuje numer wersji programu taskwarrior" -#define STRING_CMD_VERSION_DOCS "Dokumentację dla taskwarrior można znaleźć z pomocą 'man task', 'man taskrc', 'man task-tutorial', 'man task-color', 'man task-sync', 'man task-faq' lub pod adresem http://taskwarrior.org" -#define STRING_CMD_VERSION_UNKNOWN "nieznana" #define STRING_CMD_EXEC_USAGE "Wykonuje zewnętrzne polecenia i skrypty" #define STRING_CMD_URGENCY_USAGE "Wyświetla pomiar ważności zadania" #define STRING_CMD_URGENCY_RESULT "zadanie {1} ważność {2}" diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index 881ac2503..a6a94eaf3 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -102,10 +102,6 @@ #define STRING_COLUMN_EXAMPLES_ANNO4 "Se não vais cortar o cabelo" // commands/Cmd* -#define STRING_CMD_VERSION_USAGE "Exibe o número de versão do taskwarrior" -#define STRING_CMD_VERSION_USAGE2 "Exibe apenas o número de versão do taskwarrior" -#define STRING_CMD_VERSION_DOCS "A documentação do taskwarrior pode ser encontrada usando os comandos 'man task', 'man taskrc', 'man task-color', 'man task-sync' ou em http://taskwarrior.org" -#define STRING_CMD_VERSION_UNKNOWN "desconhecido" #define STRING_CMD_EXEC_USAGE "Executa comandos e scripts externos" #define STRING_CMD_URGENCY_USAGE "Exibe o valor de urgência de uma tarefa" #define STRING_CMD_URGENCY_RESULT "Tarefa {1} urgência {2}"