aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-dateedit.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-12-24 00:11:59 +0800
committerMilan Crha <mcrha@redhat.com>2009-12-24 00:11:59 +0800
commit3f36489c67887491385086180147a7e4475a349d (patch)
tree7329bf876160e9d9db57630303aa2e128708fb1c /widgets/misc/e-dateedit.c
parent6df525477e6bbee76f53a989f51f8aace6cd58cf (diff)
downloadgsoc2013-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 'widgets/misc/e-dateedit.c')
-rw-r--r--widgets/misc/e-dateedit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index 03af596bc2..975018ef27 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -1674,7 +1674,8 @@ field_set_to_none (const gchar *text)
while (n = (gint)((guchar)*pos), isspace (n))
pos++;
- none_string = _("None");
+ /* Translators: "None" for date field of a date edit, shown when there is no date set */
+ none_string = C_("date", "None");
if (*pos == '\0' || !strncmp (pos, none_string, strlen (none_string)))
return TRUE;
@@ -1891,7 +1892,7 @@ e_date_edit_update_date_entry (EDateEdit *dedit)
priv = dedit->priv;
if (priv->date_set_to_none || !priv->date_is_valid) {
- gtk_entry_set_text (GTK_ENTRY (priv->date_entry), _("None"));
+ gtk_entry_set_text (GTK_ENTRY (priv->date_entry), C_("date", "None"));
} else {
/* This is a strftime() format for a short date.
%x the preferred date representation for the current locale without the time,