UI: Fix untranslated layout headings
This commit is contained in:
parent
6c76a782e9
commit
5726dec0e0
|
@ -407,7 +407,7 @@ static void nla_panel_properties(const bContext *C, Panel *panel)
|
|||
uiItemR(row, &strip_ptr, "use_auto_blend", 0, NULL, ICON_NONE); // XXX as toggle?
|
||||
|
||||
/* settings */
|
||||
column = uiLayoutColumnWithHeading(layout, true, "Playback");
|
||||
column = uiLayoutColumnWithHeading(layout, true, IFACE_("Playback"));
|
||||
row = uiLayoutRow(column, true);
|
||||
uiLayoutSetActive(row,
|
||||
!(RNA_boolean_get(&strip_ptr, "use_animated_influence") ||
|
||||
|
@ -446,7 +446,7 @@ static void nla_panel_actclip(const bContext *C, Panel *panel)
|
|||
uiItemR(column, &strip_ptr, "action_frame_start", 0, IFACE_("Frame Start"), ICON_NONE);
|
||||
uiItemR(column, &strip_ptr, "action_frame_end", 0, IFACE_("End"), ICON_NONE);
|
||||
|
||||
row = uiLayoutRowWithHeading(layout, false, "Sync Length");
|
||||
row = uiLayoutRowWithHeading(layout, false, IFACE_("Sync Length"));
|
||||
uiItemR(row, &strip_ptr, "use_sync_length", 0, "", ICON_NONE);
|
||||
uiItemO(row, IFACE_("Now"), ICON_FILE_REFRESH, "NLA_OT_action_sync_length");
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ static void panel_draw(const bContext *C, Panel *panel)
|
|||
uiLayoutSetPropDecorate(sub, false);
|
||||
uiItemR(sub, &ptr, "invert_vertex_group", 0, "", ICON_ARROW_LEFTRIGHT);
|
||||
|
||||
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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"));
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue