mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
l10n: Eliminated some column labels
This commit is contained in:
parent
ed657f3ecf
commit
2201d304ee
10 changed files with 3 additions and 13 deletions
|
@ -34,7 +34,6 @@
|
||||||
#include <Table.h>
|
#include <Table.h>
|
||||||
#include <format.h>
|
#include <format.h>
|
||||||
#include <util.h>
|
#include <util.h>
|
||||||
#include <i18n.h>
|
|
||||||
|
|
||||||
extern Context context;
|
extern Context context;
|
||||||
|
|
||||||
|
@ -91,7 +90,7 @@ int CmdTags::execute (std::string& output)
|
||||||
// Render a list of tags names from the map.
|
// Render a list of tags names from the map.
|
||||||
Table view;
|
Table view;
|
||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
view.add (STRING_COLUMN_LABEL_TAG);
|
view.add ("Tag");
|
||||||
view.add ("Count", false);
|
view.add ("Count", false);
|
||||||
setHeaderUnderline (view);
|
setHeaderUnderline (view);
|
||||||
|
|
||||||
|
@ -124,9 +123,9 @@ int CmdTags::execute (std::string& output)
|
||||||
context.footnote (format ("{1} tags", unique.size ()));
|
context.footnote (format ("{1} tags", unique.size ()));
|
||||||
|
|
||||||
if (quantity == 1)
|
if (quantity == 1)
|
||||||
context.footnote (STRING_FEEDBACK_TASKS_SINGLE);
|
context.footnote ("(1 task)");
|
||||||
else
|
else
|
||||||
context.footnote (format (STRING_FEEDBACK_TASKS_PLURAL, quantity));
|
context.footnote (format ("({1} tasks)", quantity));
|
||||||
|
|
||||||
out << '\n';
|
out << '\n';
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Schlagwort"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Bis"
|
#define STRING_COLUMN_LABEL_UNTIL "Bis"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Kommentar von '{1}' hinzugefügt."
|
#define STRING_FEEDBACK_ANN_ADD "Kommentar von '{1}' hinzugefügt."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Kommentar '{1}' gelöscht."
|
#define STRING_FEEDBACK_ANN_DEL "Kommentar '{1}' gelöscht."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Tag"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Until"
|
#define STRING_COLUMN_LABEL_UNTIL "Until"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Annotation of '{1}' added."
|
#define STRING_FEEDBACK_ANN_ADD "Annotation of '{1}' added."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Annotation '{1}' deleted."
|
#define STRING_FEEDBACK_ANN_DEL "Annotation '{1}' deleted."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Etik"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Ĝis"
|
#define STRING_COLUMN_LABEL_UNTIL "Ĝis"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Aldonis komenton '{1}'."
|
#define STRING_FEEDBACK_ANN_ADD "Aldonis komenton '{1}'."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Viŝis komenton '{1}'."
|
#define STRING_FEEDBACK_ANN_DEL "Viŝis komenton '{1}'."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Marca"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Hasta"
|
#define STRING_COLUMN_LABEL_UNTIL "Hasta"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Anotación de '{1}' añadida."
|
#define STRING_FEEDBACK_ANN_ADD "Anotación de '{1}' añadida."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Anotación '{1}' eliminada."
|
#define STRING_FEEDBACK_ANN_DEL "Anotación '{1}' eliminada."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Étiq"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Until"
|
#define STRING_COLUMN_LABEL_UNTIL "Until"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Annotation of '{1}' added."
|
#define STRING_FEEDBACK_ANN_ADD "Annotation of '{1}' added."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Annotation '{1}' deleted."
|
#define STRING_FEEDBACK_ANN_DEL "Annotation '{1}' deleted."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Tag"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Fino a"
|
#define STRING_COLUMN_LABEL_UNTIL "Fino a"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Annotazione di '{1}' aggiunta."
|
#define STRING_FEEDBACK_ANN_ADD "Annotazione di '{1}' aggiunta."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Annotazione '{1}' cancellata."
|
#define STRING_FEEDBACK_ANN_DEL "Annotazione '{1}' cancellata."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Tag"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Until"
|
#define STRING_COLUMN_LABEL_UNTIL "Until"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Annotation of '{1}' added."
|
#define STRING_FEEDBACK_ANN_ADD "Annotation of '{1}' added."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Annotation '{1}' deleted."
|
#define STRING_FEEDBACK_ANN_DEL "Annotation '{1}' deleted."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Tag"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Do"
|
#define STRING_COLUMN_LABEL_UNTIL "Do"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Notatka '{1}' dodana."
|
#define STRING_FEEDBACK_ANN_ADD "Notatka '{1}' dodana."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Notatka '{1}' usunięta."
|
#define STRING_FEEDBACK_ANN_DEL "Notatka '{1}' usunięta."
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#ifndef INCLUDED_STRINGS
|
#ifndef INCLUDED_STRINGS
|
||||||
#define INCLUDED_STRINGS
|
#define INCLUDED_STRINGS
|
||||||
|
|
||||||
#define STRING_COLUMN_LABEL_TAG "Marca"
|
|
||||||
#define STRING_COLUMN_LABEL_UNTIL "Até"
|
#define STRING_COLUMN_LABEL_UNTIL "Até"
|
||||||
#define STRING_FEEDBACK_ANN_ADD "Adicionada anotação de '{1}'."
|
#define STRING_FEEDBACK_ANN_ADD "Adicionada anotação de '{1}'."
|
||||||
#define STRING_FEEDBACK_ANN_DEL "Eliminada anotação '{1}'."
|
#define STRING_FEEDBACK_ANN_DEL "Eliminada anotação '{1}'."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue