aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r--calendar/gui/e-cal-model-tasks.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c
index f189ac27db..2e80975e9f 100644
--- a/calendar/gui/e-cal-model-tasks.c
+++ b/calendar/gui/e-cal-model-tasks.c
@@ -724,7 +724,11 @@ set_status (ECalModelComponent *comp_data, const gchar *value)
prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_STATUS_PROPERTY);
/* an empty string is the same as 'None' */
- if (!value[0] || !e_util_utf8_strcasecmp (value, _("None")))
+ if (!value[0])
+ return;
+
+ /* Translators: "None" for task's status */
+ if (!e_util_utf8_strcasecmp (value, C_("cal-task-status", "None")))
return;
else if (!e_util_utf8_strcasecmp (value, _("Not Started")))
status = ICAL_STATUS_NEEDSACTION;