Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-04-01 12:30:44 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-04-01 12:31:34 +0300
commitdd4108545ada2bfab607acdd5cda98e77619798f (patch)
tree78eeb75aac268d4015bf8fb80ff42b4e8f1c0ebf /source/blender/editors/screen/workspace_edit.c
parentd3367f3ca23edf290a6e9fc037635ceaf6b768f3 (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.c3
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);