mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
l10n: Eliminated STRING_CMD_PROJECTS_*
This commit is contained in:
parent
9ad638c98a
commit
e00f106012
11 changed files with 10 additions and 91 deletions
|
@ -43,7 +43,7 @@ CmdProjects::CmdProjects ()
|
|||
{
|
||||
_keyword = "projects";
|
||||
_usage = "task <filter> projects";
|
||||
_description = STRING_CMD_PROJECTS_USAGE;
|
||||
_description = "Shows all project names used";
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = true;
|
||||
|
@ -127,7 +127,7 @@ int CmdProjects::execute (std::string& output)
|
|||
}
|
||||
int row = view.addRow ();
|
||||
view.set (row, 0, (project.first == ""
|
||||
? STRING_CMD_PROJECTS_NONE
|
||||
? "(none)"
|
||||
: indentProject (project.first, " ", '.')));
|
||||
view.set (row, 1, project.second);
|
||||
processed.push_back (project.first);
|
||||
|
@ -141,17 +141,17 @@ int CmdProjects::execute (std::string& output)
|
|||
<< view.render ()
|
||||
<< optionalBlankLine ()
|
||||
<< (number_projects == 1
|
||||
? format (STRING_CMD_PROJECTS_SUMMARY, number_projects)
|
||||
: format (STRING_CMD_PROJECTS_SUMMARY2, number_projects))
|
||||
? format ("{1} project", number_projects)
|
||||
: format ("{1} projects", number_projects))
|
||||
<< ' '
|
||||
<< (quantity == 1
|
||||
? format (STRING_CMD_PROJECTS_TASK, quantity)
|
||||
: format (STRING_CMD_PROJECTS_TASKS, quantity))
|
||||
? format ("({1} task)", quantity)
|
||||
: format ("({1} tasks)", quantity))
|
||||
<< '\n';
|
||||
}
|
||||
else
|
||||
{
|
||||
out << STRING_CMD_PROJECTS_NO << '\n';
|
||||
out << "No projects.\n";
|
||||
rc = 1;
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ CmdCompletionProjects::CmdCompletionProjects ()
|
|||
{
|
||||
_keyword = "_projects";
|
||||
_usage = "task <filter> _projects";
|
||||
_description = STRING_CMD_PROJECTS_USAGE_2;
|
||||
_description = "Shows only a list of all project names used";
|
||||
_read_only = true;
|
||||
_displays_id = false;
|
||||
_needs_gc = true;
|
||||
|
|
|
@ -211,11 +211,11 @@ int CmdSummary::execute (std::string& output)
|
|||
<< view.render ()
|
||||
<< optionalBlankLine ();
|
||||
|
||||
out << format (STRING_CMD_PROJECTS_SUMMARY2, view.rows ()) << '\n';
|
||||
out << format ("{1} projects\n", view.rows ());
|
||||
}
|
||||
else
|
||||
{
|
||||
out << STRING_CMD_PROJECTS_NO << '\n';
|
||||
out << "No projects.\n";
|
||||
rc = 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -172,15 +172,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Zeigt alle genutzten Projektnamen"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Zeigt ausschließlich alle genutzten Projektnamen"
|
||||
#define STRING_CMD_PROJECTS_NO "Keine Projekte."
|
||||
#define STRING_CMD_PROJECTS_NONE "(keine)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} Projekt"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} Projekte"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} Aufgabe)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} Aufgaben)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -169,15 +169,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Shows all project names used"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Shows only a list of all project names used"
|
||||
#define STRING_CMD_PROJECTS_NO "No projects."
|
||||
#define STRING_CMD_PROJECTS_NONE "(none)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} project"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} projects"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} task)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} tasks)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -172,15 +172,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Montras la uzatajn projekt-nomojn"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Montras sole liston de ĉia uzata projekt-nomo"
|
||||
#define STRING_CMD_PROJECTS_NO "Nenia projekto."
|
||||
#define STRING_CMD_PROJECTS_NONE "(nenio)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} projekto"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} projektoj"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} tasko)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} taskoj)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -178,15 +178,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "Se debe especificar un atributo. Ver 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "Debe especificar un atributo o un UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Muestra todos los nombres de proyecto en uso"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Muestra una lista de todos los nombres (solamente) de proyecto en uso"
|
||||
#define STRING_CMD_PROJECTS_NO "No hay proyectos."
|
||||
#define STRING_CMD_PROJECTS_NONE "(ninguno)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} proyecto"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} proyectos"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} tarea)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} tareas)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -174,15 +174,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Shows all project names used"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Shows only a list of all project names used"
|
||||
#define STRING_CMD_PROJECTS_NO "No projects."
|
||||
#define STRING_CMD_PROJECTS_NONE "(none)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} project"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} projects"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} task)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} tasks)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -173,15 +173,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Mostra tutti i nomi di progetto utilizzati"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Mostra solo i nomi di progetto utilizzati"
|
||||
#define STRING_CMD_PROJECTS_NO "Nessun progetto."
|
||||
#define STRING_CMD_PROJECTS_NONE "(nessuno)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} progetto"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} progetti"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} task)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} task)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -174,15 +174,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Shows all project names used"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Shows only a list of all project names used"
|
||||
#define STRING_CMD_PROJECTS_NO "プロジェクトがない。"
|
||||
#define STRING_CMD_PROJECTS_NONE "(none)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} プロジェクト"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} プロジェクト"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} タスク)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} タスク)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -174,15 +174,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Pokazuje statystyki wszystkich projektów"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Pokazuje tylko nazwy prowadzonych projektów"
|
||||
#define STRING_CMD_PROJECTS_NO "Brak projektów"
|
||||
#define STRING_CMD_PROJECTS_NONE "(brak)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} projekt"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} projektów"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} zadanie)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} zadań)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
|
@ -174,15 +174,6 @@
|
|||
#define STRING_CMD_UNIQUE_MISSING "An attribute must be specified. See 'task _columns'."
|
||||
#define STRING_CMD_UNIQUE_VALID "You must specify an attribute or UDA."
|
||||
|
||||
#define STRING_CMD_PROJECTS_USAGE "Exibe todos os nomes de projeto em uso"
|
||||
#define STRING_CMD_PROJECTS_USAGE_2 "Exibe apenas uma lista de todos os nomes de projeto em uso"
|
||||
#define STRING_CMD_PROJECTS_NO "Sem projetos."
|
||||
#define STRING_CMD_PROJECTS_NONE "(nenhum)"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY "{1} projeto"
|
||||
#define STRING_CMD_PROJECTS_SUMMARY2 "{1} projetos"
|
||||
#define STRING_CMD_PROJECTS_TASK "({1} tarefa)"
|
||||
#define STRING_CMD_PROJECTS_TASKS "({1} tarefas)"
|
||||
|
||||
#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."
|
||||
#define STRING_CMD_PURGE_1 "Purged {1} task."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue