diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-01 12:30:44 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-04-01 12:31:34 +0300 |
commit | dd4108545ada2bfab607acdd5cda98e77619798f (patch) | |
tree | 78eeb75aac268d4015bf8fb80ff42b4e8f1c0ebf /source/blender/editors/screen/workspace_edit.c | |
parent | d3367f3ca23edf290a6e9fc037635ceaf6b768f3 (diff) |
Fix T63169: 'Duplicate Current' entry in new workspace menu is not translated.
Diffstat (limited to 'source/blender/editors/screen/workspace_edit.c')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c index d68fdbca956..63d25cb96c4 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -533,7 +533,8 @@ static int workspace_add_invoke(bContext *C, wmOperator *op, const wmEvent *UNUS BLI_freelistN(&templates); uiItemS(layout); - uiItemO(layout, "Duplicate Current", ICON_DUPLICATE, "WORKSPACE_OT_duplicate"); + uiItemO(layout, CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Duplicate Current"), ICON_DUPLICATE, + "WORKSPACE_OT_duplicate"); UI_popup_menu_end(C, pup); |