diff --git a/src/calc.cpp b/src/calc.cpp index 9016f3f38..0e77d8423 100644 --- a/src/calc.cpp +++ b/src/calc.cpp @@ -36,7 +36,6 @@ #include #include #include -#include Context context; @@ -90,13 +89,13 @@ int main (int argc, char** argv) else if (!strcmp (argv[i], "-v") || !strcmp (argv[i], "--version")) { std::cout << '\n' - << format (STRING_CMD_VERSION_BUILT, "calc", VERSION) + << format ("calc {2} built for ", VERSION) << osName () << '\n' - << STRING_CMD_VERSION_COPY + << "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." << '\n' << '\n' - << STRING_CMD_VERSION_MIT + << "Taskwarrior may be copied only under the terms of the MIT license, which may be found in the Taskwarrior source kit." << '\n' << '\n'; diff --git a/src/commands/CmdVersion.cpp b/src/commands/CmdVersion.cpp index 192ae1ed5..d40647afc 100644 --- a/src/commands/CmdVersion.cpp +++ b/src/commands/CmdVersion.cpp @@ -64,7 +64,7 @@ int CmdVersion::execute (std::string& output) Table disclaimer; disclaimer.width (width); disclaimer.add (""); - disclaimer.set (disclaimer.addRow (), 0, STRING_CMD_VERSION_MIT); + disclaimer.set (disclaimer.addRow (), 0, "Taskwarrior may be copied only under the terms of the MIT license, which may be found in the Taskwarrior source kit."); // Create a table for the URL. Table link; @@ -77,7 +77,7 @@ int CmdVersion::execute (std::string& output) bold = Color ("bold"); out << '\n' - << format (STRING_CMD_VERSION_BUILT, bold.colorize (PACKAGE), bold.colorize (VERSION)) + << format ("{1} {2} built for ", bold.colorize (PACKAGE), bold.colorize (VERSION)) #if defined (DARWIN) << "darwin" @@ -109,7 +109,7 @@ int CmdVersion::execute (std::string& output) #endif << '\n' - << STRING_CMD_VERSION_COPY + << "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." << '\n' << '\n' << disclaimer.render () diff --git a/src/l10n/deu-DEU.h b/src/l10n/deu-DEU.h index 7ba9b558b..d86c078aa 100644 --- a/src/l10n/deu-DEU.h +++ b/src/l10n/deu-DEU.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Benutzerdefinierter Report '{1}' steht mit eingebautem task-Befehl in Konflikt." #define STRING_CMD_VERSION_USAGE "Zeigt die taskwarrior-Versionsnummer" #define STRING_CMD_VERSION_USAGE2 "Zeigt ausschließlich die taskwarrior-Versionsnummer" -#define STRING_CMD_VERSION_MIT "Taskwarrior darf unter den Bedingungen der MIT-Lizenz vervielfältigt werden, welche sich im Quellpaket befindet." #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_BUILT "{1} {2}, gebaut für " #define STRING_CMD_VERSION_UNKNOWN "unbekannt" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." #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" diff --git a/src/l10n/eng-USA.h b/src/l10n/eng-USA.h index e6ad7da5b..dddea214a 100644 --- a/src/l10n/eng-USA.h +++ b/src/l10n/eng-USA.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Custom report '{1}' conflicts with built-in task command." #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_MIT "Taskwarrior may be copied only under the terms of the MIT license, which may be found in the Taskwarrior source kit." #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_BUILT "{1} {2} built for " #define STRING_CMD_VERSION_UNKNOWN "unknown" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." #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" diff --git a/src/l10n/epo-RUS.h b/src/l10n/epo-RUS.h index c4c94a090..b1e45deca 100644 --- a/src/l10n/epo-RUS.h +++ b/src/l10n/epo-RUS.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Personala raporto '{1}' konfliktas kun enkonstruita taskkomando." #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_MIT "Oni sole povas kopii Taskwarrior sur la MIT-permisilo, kiun oni povas trovi en la fontkodpako." #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_BUILT "{1} {2} kompilita por " #define STRING_CMD_VERSION_UNKNOWN "nekonata" -#define STRING_CMD_VERSION_COPY "Kopirajto © 2006 - 2016 P. Beckingham, F. Hernandez." #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" diff --git a/src/l10n/esp-ESP.h b/src/l10n/esp-ESP.h index edf2e8529..738281cd4 100644 --- a/src/l10n/esp-ESP.h +++ b/src/l10n/esp-ESP.h @@ -196,12 +196,9 @@ #define STRING_CMD_CONFLICT "informe personalizado '{1}' en conflicto con comando interno de taskwarrior." #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_MIT "Taskwarrior solamente se puede copiar bajo los términos de la licencia MIT, que se pueden encontrar en el conjunto de código fuente 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_BUILT "{1} {2} construido para " #define STRING_CMD_VERSION_UNKNOWN "desconocido" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." // |esp-ESP|==|eng-USA| #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" diff --git a/src/l10n/fra-FRA.h b/src/l10n/fra-FRA.h index 0989165aa..55cb3dfd8 100644 --- a/src/l10n/fra-FRA.h +++ b/src/l10n/fra-FRA.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Le rapport personnalisé '{1}' entre en conflit avec une commande prédéfinie de task." #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_MIT "Taskwarrior ne peut être copié que selon les termes de la licence MIT, qui peuvent être trouvés dans les sources 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_BUILT "{1} {2} compilé pour " #define STRING_CMD_VERSION_UNKNOWN "inconnu" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." #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." diff --git a/src/l10n/ita-ITA.h b/src/l10n/ita-ITA.h index b907fc45d..d07313076 100644 --- a/src/l10n/ita-ITA.h +++ b/src/l10n/ita-ITA.h @@ -195,11 +195,8 @@ #define STRING_CMD_CONFLICT "Report personalizzato '{1}' provoca conflitto con un comando standard." #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_MIT "Taskwarrior può essere copiato solo nei termini della licenza MIT, reperibile nei sorgenti 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_BUILT "{1} {2} generato per " #define STRING_CMD_VERSION_UNKNOWN "sconosciuto" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." #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" diff --git a/src/l10n/jpn-JPN.h b/src/l10n/jpn-JPN.h index 982c6e3e4..aacf24c4c 100644 --- a/src/l10n/jpn-JPN.h +++ b/src/l10n/jpn-JPN.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Custom report '{1}' conflicts with built-in task command." #define STRING_CMD_VERSION_USAGE "taskwarrior バージョン番号の表示" #define STRING_CMD_VERSION_USAGE2 "taskwarrior バージョン番号のみの表示" -#define STRING_CMD_VERSION_MIT "Taskwarrior はMITライセンス下でのみコピーでき、それは taskwarrior source kit 中にあります。" #define STRING_CMD_VERSION_DOCS "taskwarrior のドキュメントは 'man task', 'man taskrc', 'man task-color', 'man task-sync' あるいは http://taskwarrior.org にあります。" -#define STRING_CMD_VERSION_BUILT "{1} {2} built for " #define STRING_CMD_VERSION_UNKNOWN "unknown" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." #define STRING_CMD_LOGO_USAGE "Taskwarrior ロゴの表示" #define STRING_CMD_LOGO_COLOR_REQ "色のサポートをする logo コマンドが有効になりました。" #define STRING_CMD_EXEC_USAGE "外部コマンドまたはスクリプトの実行" diff --git a/src/l10n/pol-POL.h b/src/l10n/pol-POL.h index 2d2241990..22b8e26c4 100644 --- a/src/l10n/pol-POL.h +++ b/src/l10n/pol-POL.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Raport urzytkownika '{1}' jest w konflikcie z wbudowanym poleceniem." #define STRING_CMD_VERSION_USAGE "Pokazuje wersję programu taskwarrior" #define STRING_CMD_VERSION_USAGE2 "Pokazuje numer wersji programu taskwarrior" -#define STRING_CMD_VERSION_MIT "Taskwarrior może być kopiowany tylko na zasadach licencji MIT, którą znaleźć można w źródłach 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_BUILT "{1} {2} zbudowane dla " #define STRING_CMD_VERSION_UNKNOWN "nieznana" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." #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" diff --git a/src/l10n/por-PRT.h b/src/l10n/por-PRT.h index dd1d097ba..9b7e9bb27 100644 --- a/src/l10n/por-PRT.h +++ b/src/l10n/por-PRT.h @@ -196,11 +196,8 @@ #define STRING_CMD_CONFLICT "Conflito entre relatório personalizado '{1}' e um comando interno do taskwarrior." #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_MIT "O Taskwarrior pode ser copiado apenas ao abrigo dos termos da licença MIT, que pode ser encontrada junto do código fonte." #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_BUILT "{1} {2} construido para " #define STRING_CMD_VERSION_UNKNOWN "desconhecido" -#define STRING_CMD_VERSION_COPY "Copyright (C) 2006 - 2018 P. Beckingham, F. Hernandez." // |por-PRT|==|eng-USA| #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"