From 3f36489c67887491385086180147a7e4475a349d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 23 Dec 2009 17:11:59 +0100 Subject: Bug #329693 - Add contexts to translated "None" words --- modules/mail/e-mail-junk-hook.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/mail') 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; } -- cgit v1.2.3