diff options
author | Milan Crha <mcrha@redhat.com> | 2009-12-24 00:11:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-12-24 00:11:59 +0800 |
commit | 3f36489c67887491385086180147a7e4475a349d (patch) | |
tree | 7329bf876160e9d9db57630303aa2e128708fb1c /calendar/gui/e-cal-model-tasks.c | |
parent | 6df525477e6bbee76f53a989f51f8aace6cd58cf (diff) | |
download | gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.gz gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.bz2 gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.lz gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.xz gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.zst gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.zip |
Bug #329693 - Add contexts to translated "None" words
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 6 |
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; |