From 5726dec0e06b4514db84611f292b0cbbc1664584 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 22 Jun 2020 15:06:13 +0200 Subject: UI: Fix untranslated layout headings --- source/blender/modifiers/intern/MOD_armature.c | 2 +- source/blender/modifiers/intern/MOD_decimate.c | 4 ++-- source/blender/modifiers/intern/MOD_solidify.c | 2 +- source/blender/modifiers/intern/MOD_wave.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/modifiers/intern') diff --git a/source/blender/modifiers/intern/MOD_armature.c b/source/blender/modifiers/intern/MOD_armature.c index 9cc1f4596a9..cf702c7d40d 100644 --- a/source/blender/modifiers/intern/MOD_armature.c +++ b/source/blender/modifiers/intern/MOD_armature.c @@ -249,7 +249,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(col, &ptr, "use_deform_preserve_volume", 0, NULL, ICON_NONE); uiItemR(col, &ptr, "use_multi_modifier", 0, NULL, ICON_NONE); - col = uiLayoutColumnWithHeading(layout, true, "Bind to"); + col = uiLayoutColumnWithHeading(layout, true, IFACE_("Bind to")); uiItemR(col, &ptr, "use_vertex_groups", 0, IFACE_("Vertex Groups"), ICON_NONE); uiItemR(col, &ptr, "use_bone_envelopes", 0, IFACE_("Bone Envelopes"), ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c index 4fa7bf4cd63..75fd558ae39 100644 --- a/source/blender/modifiers/intern/MOD_decimate.c +++ b/source/blender/modifiers/intern/MOD_decimate.c @@ -239,14 +239,14 @@ static void panel_draw(const bContext *C, Panel *panel) int decimate_type = RNA_enum_get(&ptr, "decimate_type"); char count_info[32]; - snprintf(count_info, 32, IFACE_("Face Count: %d"), RNA_int_get(&ptr, "face_count")); + snprintf(count_info, 32, "%s: %d", IFACE_("Face Count"), RNA_int_get(&ptr, "face_count")); uiItemR(layout, &ptr, "decimate_type", 0, NULL, ICON_NONE); if (decimate_type == MOD_DECIM_MODE_COLLAPSE) { uiItemR(layout, &ptr, "ratio", UI_ITEM_R_SLIDER, NULL, ICON_NONE); - row = uiLayoutRowWithHeading(layout, true, "Symmetry"); + row = uiLayoutRowWithHeading(layout, true, IFACE_("Symmetry")); uiLayoutSetPropDecorate(row, false); sub = uiLayoutRow(row, true); uiItemR(sub, &ptr, "use_symmetry", 0, "", ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index f8d372f4d2b..82a8227c33a 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -128,7 +128,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(layout, &ptr, "use_even_offset", 0, NULL, ICON_NONE); } - col = uiLayoutColumnWithHeading(layout, false, "Rim"); + col = uiLayoutColumnWithHeading(layout, false, IFACE_("Rim")); uiItemR(col, &ptr, "use_rim", 0, IFACE_("Fill"), ICON_NONE); sub = uiLayoutColumn(col, false); uiLayoutSetActive(sub, RNA_boolean_get(&ptr, "use_rim")); diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c index c1fe8e1f009..789b65dbde3 100644 --- a/source/blender/modifiers/intern/MOD_wave.c +++ b/source/blender/modifiers/intern/MOD_wave.c @@ -388,7 +388,7 @@ static void panel_draw(const bContext *C, Panel *panel) uiLayoutSetPropSep(layout, true); - row = uiLayoutRowWithHeading(layout, true, "Motion"); + row = uiLayoutRowWithHeading(layout, true, IFACE_("Motion")); uiItemR(row, &ptr, "use_x", UI_ITEM_R_TOGGLE | UI_ITEM_R_FORCE_BLANK_DECORATE, NULL, ICON_NONE); uiItemR(row, &ptr, "use_y", UI_ITEM_R_TOGGLE | UI_ITEM_R_FORCE_BLANK_DECORATE, NULL, ICON_NONE); -- cgit v1.2.3