Feedback
- Inverted the test, and improved it.
This commit is contained in:
@@ -475,10 +475,10 @@ std::string onProjectChange (Task& task, bool scope /* = true */)
|
|||||||
msg << format (STRING_HELPER_PROJECT_COMPL, project, percentage)
|
msg << format (STRING_HELPER_PROJECT_COMPL, project, percentage)
|
||||||
<< " ";
|
<< " ";
|
||||||
|
|
||||||
if (count_pending > 1)
|
if (count_pending == 1 && count_done == 0)
|
||||||
msg << format (STRING_HELPER_PROJECT_REM, count_pending, count_pending + count_done);
|
|
||||||
else
|
|
||||||
msg << format (STRING_HELPER_PROJECT_REM1, count_pending);
|
msg << format (STRING_HELPER_PROJECT_REM1, count_pending);
|
||||||
|
else
|
||||||
|
msg << format (STRING_HELPER_PROJECT_REM, count_pending, count_pending + count_done);
|
||||||
}
|
}
|
||||||
|
|
||||||
return msg.str ();
|
return msg.str ();
|
||||||
|
|||||||
Reference in New Issue
Block a user