l10n: Eliminated STRING_CMD_SUMMARY_*

This commit is contained in:
Paul Beckingham
2018-01-20 20:56:54 -05:00
parent 47d17b67e0
commit 0d2cf73d90
10 changed files with 6 additions and 60 deletions

View File

@@ -45,7 +45,7 @@ CmdSummary::CmdSummary ()
{
_keyword = "summary";
_usage = "task <filter> summary";
_description = STRING_CMD_SUMMARY_USAGE;
_description = "Shows a report of task status by project";
_read_only = true;
_displays_id = false;
_needs_gc = true;
@@ -134,10 +134,10 @@ int CmdSummary::execute (std::string& output)
// Create a table for output.
Table view;
view.width (context.getWidth ());
view.add (STRING_CMD_SUMMARY_PROJECT);
view.add (STRING_CMD_SUMMARY_REMAINING, false);
view.add (STRING_CMD_SUMMARY_AVG_AGE, false);
view.add (STRING_CMD_SUMMARY_COMPLETE, false);
view.add ("Project");
view.add ("Remaining", false);
view.add ("Avg age", false);
view.add ("Complete", false);
view.add ("0% 100%", true, false);
setHeaderUnderline (view);
@@ -169,7 +169,7 @@ int CmdSummary::execute (std::string& output)
int row = view.addRow ();
view.set (row, 0, (i.first == ""
? STRING_CMD_SUMMARY_NONE
? "(none)"
: indentProject (i.first, " ", '.')));
view.set (row, 1, countPending[i.first]);