aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-junk-hook.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail/e-mail-junk-hook.c')
-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;
}