mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +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 <format.h>
|
||||
#include <util.h>
|
||||
#include <i18n.h>
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
@ -91,7 +90,7 @@ int CmdTags::execute (std::string& output)
|
|||
// Render a list of tags names from the map.
|
||||
Table view;
|
||||
view.width (context.getWidth ());
|
||||
view.add (STRING_COLUMN_LABEL_TAG);
|
||||
view.add ("Tag");
|
||||
view.add ("Count", false);
|
||||
setHeaderUnderline (view);
|
||||
|
||||
|
@ -124,9 +123,9 @@ int CmdTags::execute (std::string& output)
|
|||
context.footnote (format ("{1} tags", unique.size ()));
|
||||
|
||||
if (quantity == 1)
|
||||
context.footnote (STRING_FEEDBACK_TASKS_SINGLE);
|
||||
context.footnote ("(1 task)");
|
||||
else
|
||||
context.footnote (format (STRING_FEEDBACK_TASKS_PLURAL, quantity));
|
||||
context.footnote (format ("({1} tasks)", quantity));
|
||||
|
||||
out << '\n';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue