diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-04-14 20:06:59 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-04-14 20:06:59 +0400 |
commit | 9cd72eef995ae730f3fd30276db997c845b7b40c (patch) | |
tree | 9da005fbdacb365051ab626972c2debd41d766e1 /source | |
parent | e5bda9f8270d390a694c256731d292cc1c5c5235 (diff) |
Minor fix to recent i18n commits.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 5 |
1 files 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"); |