mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-31 05:47:18 +02:00
Feedback
- Inverted the test, and improved it.
This commit is contained in:
parent
9b85f8fff2
commit
84d7fca53f
1 changed files with 3 additions and 3 deletions
|
@ -475,10 +475,10 @@ std::string onProjectChange (Task& task, bool scope /* = true */)
|
|||
msg << format (STRING_HELPER_PROJECT_COMPL, project, percentage)
|
||||
<< " ";
|
||||
|
||||
if (count_pending > 1)
|
||||
msg << format (STRING_HELPER_PROJECT_REM, count_pending, count_pending + count_done);
|
||||
else
|
||||
if (count_pending == 1 && count_done == 0)
|
||||
msg << format (STRING_HELPER_PROJECT_REM1, count_pending);
|
||||
else
|
||||
msg << format (STRING_HELPER_PROJECT_REM, count_pending, count_pending + count_done);
|
||||
}
|
||||
|
||||
return msg.str ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue