l10n: Eliminated STRING_CMD_MODIFY_*

This commit is contained in:
Paul Beckingham
2018-01-20 15:40:22 -05:00
parent 9613350bb3
commit 641b2dd412
11 changed files with 13 additions and 137 deletions

View File

@@ -2199,7 +2199,7 @@ void Task::modify (modType type, bool text_required /* = false */)
}
}
else if (! mods && text_required)
throw std::string (STRING_CMD_MODIFY_NEED_TEXT);
throw std::string ("Additional text must be provided.");
// Modifying completed/deleted tasks generates a message, if the modification
// does not change status.
@@ -2207,7 +2207,7 @@ void Task::modify (modType type, bool text_required /* = false */)
getStatus () == originalStatus)
{
auto uuid = get ("uuid").substr (0, 8);
context.footnote (format (STRING_CMD_MODIFY_INACTIVE, uuid, get ("status"), uuid));
context.footnote (format ("Note: Modified task {1} is {2}. You may wish to make this task pending with: task {3} modify status:pending", uuid, get ("status"), uuid));
}
}
#endif