mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
I18N
- Missed a string in CmdAdd.
This commit is contained in:
parent
b70fa61f34
commit
5972272de2
2 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||
|
|
|
@ -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."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue