mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
l10n: Eliminated STRING_CMD_VERSION_*
This commit is contained in:
parent
f2e725b3c9
commit
12865e3b85
11 changed files with 6 additions and 34 deletions
|
@ -36,7 +36,6 @@
|
|||
#include <Duration.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <i18n.h>
|
||||
|
||||
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';
|
||||
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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."
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 "外部コマンドまたはスクリプトの実行"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue