From 58523c3d78d797d12bb53eed52edddb075f179e4 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 20 Jan 2018 14:54:27 -0500 Subject: [PATCH] l10n: Eliminated STRING_CMD_LOGO_* --- src/commands/CmdLogo.cpp | 5 ++--- src/l10n/deu-DEU.h | 2 -- src/l10n/eng-USA.h | 2 -- src/l10n/epo-RUS.h | 2 -- src/l10n/esp-ESP.h | 2 -- src/l10n/fra-FRA.h | 2 -- src/l10n/ita-ITA.h | 2 -- src/l10n/jpn-JPN.h | 2 -- src/l10n/pol-POL.h | 2 -- src/l10n/por-PRT.h | 2 -- 10 files changed, 2 insertions(+), 21 deletions(-) diff --git a/src/commands/CmdLogo.cpp b/src/commands/CmdLogo.cpp index b495038cf..f9e9c77c6 100644 --- a/src/commands/CmdLogo.cpp +++ b/src/commands/CmdLogo.cpp @@ -28,7 +28,6 @@ #include #include #include -#include extern Context context; @@ -37,7 +36,7 @@ CmdLogo::CmdLogo () { _keyword = "logo"; _usage = "task logo"; - _description = STRING_CMD_LOGO_USAGE; + _description = "Displays the Taskwarrior logo"; _read_only = true; _displays_id = false; _needs_gc = false; @@ -85,7 +84,7 @@ int CmdLogo::execute (std::string& output) }; if (! context.color ()) - throw std::string (STRING_CMD_LOGO_COLOR_REQ); + throw std::string ("The logo command requires that color support is enabled."); std::string indent (context.config.getInteger ("indent.report"), ' '); output += optionalBlankLine (); diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index a69cfdc5a..9db2338c0 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Zeigt das taskwarrior-Logo" -#define STRING_CMD_LOGO_COLOR_REQ "Der Logo-Befehle benötigt aktivierte Farbunterstützung" #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 44e5cfb91..086b242f0 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Displays the Taskwarrior logo" -#define STRING_CMD_LOGO_COLOR_REQ "The logo command requires that color support is enabled." #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 750408972..636b2ccf1 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Montras la logotipon de Taskwarrior" -#define STRING_CMD_LOGO_COLOR_REQ "La komando 'logo' bezonas, ke la kolor-subtenado estus ebligata." #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 b274cf331..5631ae735 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -111,8 +111,6 @@ #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_LOGO_USAGE "Muestra el logo de Taskwarrior" -#define STRING_CMD_LOGO_COLOR_REQ "El comando logo requiere que el soporte de color esté habilitado." #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 e7fec5ca2..46729016b 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Affiche le logo de Taskwarrior" -#define STRING_CMD_LOGO_COLOR_REQ "La commande logo nécessite le support des couleurs." #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 976f69e18..8d7b437e1 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -109,8 +109,6 @@ #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_LOGO_USAGE "Mostra il logo di Taskwarrior" -#define STRING_CMD_LOGO_COLOR_REQ "Il comando logo richiede l'abilitazione del supporto ai colori." #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 b7ff6f64d..8438c0e2b 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Taskwarrior ロゴの表示" -#define STRING_CMD_LOGO_COLOR_REQ "色のサポートをする logo コマンドが有効になりました。" #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 01e1bc3dd..8da70bc74 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Wyświetla logo Taskwarrior" -#define STRING_CMD_LOGO_COLOR_REQ "Polecenie logo wymaga wsparcia kolorowania." #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 72a700c27..84c909c31 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -110,8 +110,6 @@ #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_LOGO_USAGE "Exibe o logotipo do Taskwarrior" -#define STRING_CMD_LOGO_COLOR_REQ "O comando logo requer que o suporte de cor seja ativado." #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}"