l10n: Eliminated STRING_TASK_VALID_RECUR

This commit is contained in:
Paul Beckingham
2018-01-17 21:16:20 -05:00
parent 1fc7dc3951
commit 72383a7d7f
11 changed files with 3 additions and 11 deletions

View File

@@ -1646,7 +1646,8 @@ void Task::validate (bool applyDefault /* = true */)
Duration p;
std::string::size_type i = 0;
if (! p.parse (value, i))
throw format (STRING_TASK_VALID_RECUR, value);
// TODO Ideal location to map unsupported old recurrence periods to supported values.
throw format ("The recurrence value '{1}' is not valid.", value);
}
}
}