mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
l10n removal of STRING_UDA_NUMERIC
This commit is contained in:
parent
798cd5b658
commit
3f14491e31
11 changed files with 2 additions and 12 deletions
|
@ -31,7 +31,6 @@
|
|||
#include <Variant.h>
|
||||
#include <Filter.h>
|
||||
#include <format.h>
|
||||
#include <i18n.h>
|
||||
|
||||
extern Context context;
|
||||
extern Task& contextTask;
|
||||
|
@ -72,7 +71,7 @@ void ColumnTypeNumeric::modify (Task& task, const std::string& value)
|
|||
// If the result is not readily convertible to a numeric value, then this is
|
||||
// an error.
|
||||
if (evaluatedValue.type () == Variant::type_string)
|
||||
throw format (STRING_UDA_NUMERIC, evaluatedValue.get_string ());
|
||||
throw format ("The value '{1}' is not a valid numeric value.", evaluatedValue.get_string ());
|
||||
|
||||
task.set (_name, evaluatedValue);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue