From e717345f2035fd809b3df56261a06e962db83a9f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 12 Nov 2009 08:53:06 -0500 Subject: [PATCH] Feature - #310 'task add' with external editor - Simplified and make clearer and error message that complained about things that were beyond user control (thanks to John Florian). (cherry picked from commit a2152628251c6d8c9bc840b8f36851f4ce680c99) Signed-off-by: Paul Beckingham --- src/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index c8c9d6e07..2f49c6ab1 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -527,7 +527,7 @@ void Task::validate () const if (!has ("uuid") || !has ("entry") || !has ("description")) - throw std::string ("A task must have a uuid, entry date and description in order to be valid."); // TODO i18n + throw std::string ("A task must have a description in order to be valid."); // TODO i18n if (get ("description") == "") // No i18n throw std::string ("Cannot add a task that is blank, or contains or characters."); // TODO i18n