Footnotes

- Relocated 'N tasks' style message to footnotes.
This commit is contained in:
Paul Beckingham 2011-06-27 00:22:18 -04:00
parent 1813f67230
commit 43e72b8ac8
3 changed files with 10 additions and 10 deletions

View file

@ -190,7 +190,7 @@ int CmdHistoryMonthly::execute (std::string& output)
<< "\n";
else
{
out << STRING_FEEDBACK_NO_TASKS << "\n";
context.footnote (STRING_FEEDBACK_NO_TASKS);
rc = 1;
}
@ -347,7 +347,7 @@ int CmdHistoryAnnual::execute (std::string& output)
<< "\n";
else
{
out << STRING_FEEDBACK_NO_TASKS << "\n";
context.footnote (STRING_FEEDBACK_NO_TASKS);
rc = 1;
}
@ -546,7 +546,7 @@ int CmdGHistoryMonthly::execute (std::string& output)
}
else
{
out << STRING_FEEDBACK_NO_TASKS << "\n";
context.footnote (STRING_FEEDBACK_NO_TASKS);
rc = 1;
}
@ -742,7 +742,7 @@ int CmdGHistoryAnnual::execute (std::string& output)
}
else
{
out << STRING_FEEDBACK_NO_TASKS << "\n";
context.footnote (STRING_FEEDBACK_NO_TASKS);
rc = 1;
}

View file

@ -396,7 +396,7 @@ int CmdInfo::execute (std::string& output)
if (! filtered.size ())
{
out << STRING_FEEDBACK_NO_MATCH << "\n";
context.footnote (STRING_FEEDBACK_NO_MATCH);
rc = 1;
}

View file

@ -115,20 +115,20 @@ int CmdTags::execute (std::string& output)
<< optionalBlankLine ();
if (unique.size () == 1)
out << STRING_CMD_TAGS_SINGLE;
context.footnote (STRING_CMD_TAGS_SINGLE);
else
out << format (STRING_CMD_TAGS_PLURAL, unique.size ());
context.footnote (format (STRING_CMD_TAGS_PLURAL, unique.size ()));
if (quantity == 1)
out << " " << STRING_FEEDBACK_TASKS_SINGLE;
context.footnote (STRING_FEEDBACK_TASKS_SINGLE);
else
out << " " << format (STRING_FEEDBACK_TASKS_PLURAL, quantity);
context.footnote (format (STRING_FEEDBACK_TASKS_PLURAL, quantity));
out << "\n";
}
else
{
out << STRING_CMD_TAGS_NO_TAGS << "\n";
context.footnote (STRING_CMD_TAGS_NO_TAGS);
rc = 1;
}