mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
l10n: Eliminated STRING_CMD_GET_*
This commit is contained in:
parent
2f6819744f
commit
07989d62b9
10 changed files with 3 additions and 31 deletions
|
@ -32,7 +32,6 @@
|
|||
#include <main.h>
|
||||
#include <shared.h>
|
||||
#include <format.h>
|
||||
#include <i18n.h>
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
@ -41,7 +40,7 @@ CmdGet::CmdGet ()
|
|||
{
|
||||
_keyword = "_get";
|
||||
_usage = "task _get <DOM> [<DOM> ...]";
|
||||
_description = STRING_CMD_GET_USAGE;
|
||||
_description = "DOM Accessor";
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
|
@ -81,7 +80,7 @@ int CmdGet::execute (std::string& output)
|
|||
case Lexer::Type::identifier:
|
||||
if (! arg.hasTag ("BINARY") &&
|
||||
! arg.hasTag ("CMD"))
|
||||
throw format (STRING_CMD_GET_BAD_REF, arg.attribute ("raw"));
|
||||
throw format ("'{1}' is not a DOM reference.", arg.attribute ("raw"));
|
||||
|
||||
default:
|
||||
break;
|
||||
|
@ -89,7 +88,7 @@ int CmdGet::execute (std::string& output)
|
|||
}
|
||||
|
||||
if (results.size () == 0)
|
||||
throw std::string (STRING_CMD_GET_NO_DOM);
|
||||
throw std::string ("No DOM reference specified.");
|
||||
|
||||
output = join (" ", results);
|
||||
output += '\n';
|
||||
|
|
|
@ -209,9 +209,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "erledigt"
|
||||
#define STRING_CMD_SUMMARY_NONE "(keine)"
|
||||
#define STRING_CMD_COUNT_USAGE "Zählt gewählte Aufgaben"
|
||||
#define STRING_CMD_GET_USAGE "DOM-Accessor"
|
||||
#define STRING_CMD_GET_NO_DOM "Keine DOM-Referenz spezifiziert."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -206,9 +206,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Complete"
|
||||
#define STRING_CMD_SUMMARY_NONE "(none)"
|
||||
#define STRING_CMD_COUNT_USAGE "Counts matching tasks"
|
||||
#define STRING_CMD_GET_USAGE "DOM Accessor"
|
||||
#define STRING_CMD_GET_NO_DOM "No DOM reference specified."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -209,9 +209,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Finitaj"
|
||||
#define STRING_CMD_SUMMARY_NONE "(nenio)"
|
||||
#define STRING_CMD_COUNT_USAGE "Nombras kongruantajn taskojn"
|
||||
#define STRING_CMD_GET_USAGE "DOM-enirilo"
|
||||
#define STRING_CMD_GET_NO_DOM "Nenia DOM-referenco specifata."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -217,9 +217,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Completas"
|
||||
#define STRING_CMD_SUMMARY_NONE "(ninguna)"
|
||||
#define STRING_CMD_COUNT_USAGE "Cuenta tareas que coinciden"
|
||||
#define STRING_CMD_GET_USAGE "Método de acceso al DOM"
|
||||
#define STRING_CMD_GET_NO_DOM "Referencia a DOM no especificada."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' no es una referencia a DOM."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -211,9 +211,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Complete"
|
||||
#define STRING_CMD_SUMMARY_NONE "(none)"
|
||||
#define STRING_CMD_COUNT_USAGE "Compte les taches correspondantes"
|
||||
#define STRING_CMD_GET_USAGE "Accesseur au DOM"
|
||||
#define STRING_CMD_GET_NO_DOM "Aucune référence de DOM spécifié."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -210,9 +210,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Completi"
|
||||
#define STRING_CMD_SUMMARY_NONE "(nessuno)"
|
||||
#define STRING_CMD_COUNT_USAGE "Conteggia task corrispondenti"
|
||||
#define STRING_CMD_GET_USAGE "DOM Accessor"
|
||||
#define STRING_CMD_GET_NO_DOM "No DOM reference specified."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -211,9 +211,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Complete"
|
||||
#define STRING_CMD_SUMMARY_NONE "(none)"
|
||||
#define STRING_CMD_COUNT_USAGE "一致した タスク をカウント"
|
||||
#define STRING_CMD_GET_USAGE "DOM Accessor"
|
||||
#define STRING_CMD_GET_NO_DOM "No DOM reference specified."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -211,9 +211,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Ukończone"
|
||||
#define STRING_CMD_SUMMARY_NONE "(brak)"
|
||||
#define STRING_CMD_COUNT_USAGE "Zlicza pasujące zadania"
|
||||
#define STRING_CMD_GET_USAGE "DOM Akcesor"
|
||||
#define STRING_CMD_GET_NO_DOM "Brak zdefiniowanej referencji do DOM."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
|
@ -211,9 +211,6 @@
|
|||
#define STRING_CMD_SUMMARY_COMPLETE "Completo"
|
||||
#define STRING_CMD_SUMMARY_NONE "(nenhum)"
|
||||
#define STRING_CMD_COUNT_USAGE "Conta tarefas correspondentes"
|
||||
#define STRING_CMD_GET_USAGE "Método de acesso ao DOM"
|
||||
#define STRING_CMD_GET_NO_DOM "Referência DOM não especificada."
|
||||
#define STRING_CMD_GET_BAD_REF "'{1}' is not a DOM reference."
|
||||
|
||||
#define STRING_CMD_PURGE_USAGE "Removes the specified tasks from the data files. Causes permanent loss of data."
|
||||
#define STRING_CMD_PURGE_ABRT "Purge operation aborted."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue