- Missed a string in CmdAdd.
This commit is contained in:
Paul Beckingham 2011-06-25 11:54:47 -04:00
parent b70fa61f34
commit 5972272de2
2 changed files with 3 additions and 1 deletions

View file

@ -76,7 +76,8 @@ int CmdAdd::execute (std::string& output)
std::stringstream out;
// TODO This should be a call in to feedback.cpp.
#ifdef FEATURE_NEW_ID
out << "Created task " << context.tdb.nextId () << ".\n";
out << format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ())
<< "\n";
#endif
context.footnote (onProjectChange (task));

View file

@ -159,6 +159,7 @@
#define STRING_CMD_URGENCY_NO_TASKS "No tasks specified."
#define STRING_CMD_URGENCY_RESULT "task {1} urgency {2}"
#define STRING_CMD_ADD_USAGE "Adds a new task."
#define STRING_CMD_ADD_FEEDBACK "Created task {1}."
#define STRING_CMD_MOD_UNEXPECTED "Unexpected argument '{1}' found while modifying a task."
#define STRING_CMD_LOG_USAGE "Adds a new task that is already completed."