aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
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 /modules/mail
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 'modules/mail')
-rw-r--r--modules/mail/e-mail-junk-hook.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/mail/e-mail-junk-hook.c b/modules/mail/e-mail-junk-hook.c
index ccdcf0c97e..bf4a5ccf36 100644
--- a/modules/mail/e-mail-junk-hook.c
+++ b/modules/mail/e-mail-junk-hook.c
@@ -84,8 +84,10 @@ mail_junk_hook_get_name (CamelJunkPlugin *junk_plugin)
interface = (EMJunkInterface *) junk_plugin;
- if (!interface->hook->plugin->enabled)
- return _("None");
+ if (!interface->hook->plugin->enabled) {
+ /* Translators: "None" for a junk hook name, when the junk plugin is not enabled */
+ return C_("mail-junk-hook", "None");
+ }
return interface->hook->plugin->name;
}