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:
authorHans Goudey <h.goudey@me.com>2020-10-22 18:25:08 +0300
committerHans Goudey <h.goudey@me.com>2020-10-22 18:25:08 +0300
commit6180ecaea501ef97efd7eb022ed15d9740191224 (patch)
tree32d93b1ca575e2c7159f2a08d094d53cf58dee4b /source/blender/modifiers/intern/MOD_hook.c
parent5b35f1ed2b8362bbf6935b1df2829df00aef0b72 (diff)
Fix T81909: Translation missing for some labels in modifier panels
Every label string in uiItem* calls needs an IFACE_ call.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_hook.c')
-rw-r--r--source/blender/modifiers/intern/MOD_hook.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_hook.c b/source/blender/modifiers/intern/MOD_hook.c
index def72af45e8..e0c362171f2 100644
--- a/source/blender/modifiers/intern/MOD_hook.c
+++ b/source/blender/modifiers/intern/MOD_hook.c
@@ -492,11 +492,11 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
if (RNA_enum_get(&ob_ptr, "mode") == OB_MODE_EDIT) {
row = uiLayoutRow(layout, true);
- uiItemO(row, "Reset", ICON_NONE, "OBJECT_OT_hook_reset");
- uiItemO(row, "Recenter", ICON_NONE, "OBJECT_OT_hook_recenter");
+ uiItemO(row, IFACE_("Reset"), ICON_NONE, "OBJECT_OT_hook_reset");
+ uiItemO(row, IFACE_("Recenter"), ICON_NONE, "OBJECT_OT_hook_recenter");
row = uiLayoutRow(layout, true);
- uiItemO(row, "Select", ICON_NONE, "OBJECT_OT_hook_select");
- uiItemO(row, "Assign", ICON_NONE, "OBJECT_OT_hook_assign");
+ uiItemO(row, IFACE_("Select"), ICON_NONE, "OBJECT_OT_hook_select");
+ uiItemO(row, IFACE_("Assign"), ICON_NONE, "OBJECT_OT_hook_assign");
}
modifier_panel_end(layout, ptr);