From 9cd72eef995ae730f3fd30276db997c845b7b40c Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sat, 14 Apr 2012 16:06:59 +0000 Subject: [PATCH] Minor fix to recent i18n commits. --- source/blender/windowmanager/intern/wm_operators.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index a0992bb65bc..3e81568d42a 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2237,8 +2237,9 @@ static int wm_console_toggle_op(bContext *UNUSED(C), wmOperator *UNUSED(op)) static void WM_OT_console_toggle(wmOperatorType *ot) { - /* XXX Have to mark these for xgettext, as under linux they do not exists... */ - ot->name = CTX_N_(BLF_I18NCONTEXT_OPERATOR_DEFAULT, "Toggle System Console"); + /* XXX Have to mark these for xgettext, as under linux they do not exists... + * And even worth, have to give the context as text, as xgettext doesn’t expand macros. :( */ + ot->name = CTX_N_("Operator"/* BLF_I18NCONTEXT_OPERATOR_DEFAULT */, "Toggle System Console"); ot->idname = "WM_OT_console_toggle"; ot->description = N_("Toggle System Console");