l10n removal of STRING_UDA_NUMERIC

This commit is contained in:
Paul Beckingham
2018-01-07 13:10:52 -05:00
parent 0b790f46a1
commit aac883241f
11 changed files with 2 additions and 12 deletions

View File

@@ -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);
}