Minor fix to recent i18n commits.
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user