diff options
Diffstat (limited to 'lib/Task.cc')
-rw-r--r-- | lib/Task.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Task.cc b/lib/Task.cc index 72023e4..25733ff 100644 --- a/lib/Task.cc +++ b/lib/Task.cc @@ -24,7 +24,7 @@ int Task::Run() { return state; } catch (GeneralException e) { - cerr << "Task " << GetName() << " caused an unexpected exception: \"" << e.GetMsg() << "\". Terminating.\n"; + cerr << _("Task ") << GetName() << _(" caused an unexpected exception: \"") << e.GetMsg() << _("\". Terminating.\n"); return TASK_DONE; } @@ -36,7 +36,7 @@ int Task::GetState() { } String Task::GetName() { - return "Unknow Task"; + return _("Unknow Task"); } void Task::Suspend(int newstate) throw (GeneralException) { |