l10n: Eliminated STRING_TASK_INVALID_DUR

This commit is contained in:
Paul Beckingham 2018-01-15 12:28:52 -05:00
parent fe93e72f0b
commit f1049b4a7a
11 changed files with 2 additions and 12 deletions

View file

@ -127,7 +127,7 @@ void ColumnRecur::modify (Task& task, const std::string& value)
task.set (_name, value);
}
else
throw format (STRING_TASK_INVALID_DUR, value);
throw format ("The duration value '{1}' is not supported.", value);
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -31,7 +31,6 @@
#include <Variant.h>
#include <Filter.h>
#include <format.h>
#include <i18n.h>
extern Context context;
extern Task& contextTask;
@ -76,7 +75,7 @@ void ColumnTypeDuration::modify (Task& task, const std::string& value)
task.set (_name, evaluatedValue);
}
else
throw format (STRING_TASK_INVALID_DUR, value);
throw format ("The duration value '{1}' is not supported.", value);
}
////////////////////////////////////////////////////////////////////////////////