diff options
author | Damien Picard <pioverfour> | 2022-08-09 13:42:16 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-09 14:07:32 +0300 |
commit | af59e32c1320b02fe29806ebfecbbdf1a9bf71b7 (patch) | |
tree | a65912a453fbeb4814efccf74925f444183c1f3a /source/blender/modifiers/intern | |
parent | 2de1b06287023000850cfd969584fe0927327c5b (diff) |
I18n: make more parts of the UI translatable
- "Name collisions" label in mesh properties
- "Threshold" labels in Vertex Weight Edit modifier
- "Particle System" label in Particle Instance modifier
- Slot number in the Shader Editor
- Status bar keymap items during modal operations:
add TIP_() macro to status bar interface template
- On dumping messages, sort preset files so their messages are stable
between runs
Ref. T43295
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15607
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particleinstance.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvgedit.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index 5018b2d1030..d6435c55211 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -553,7 +553,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) "particle_system", &particle_obj_ptr, "particle_systems", - "Particle System", + IFACE_("Particle System"), ICON_NONE); } else { diff --git a/source/blender/modifiers/intern/MOD_weightvgedit.c b/source/blender/modifiers/intern/MOD_weightvgedit.c index 7ffaa120ba2..8ccf140e665 100644 --- a/source/blender/modifiers/intern/MOD_weightvgedit.c +++ b/source/blender/modifiers/intern/MOD_weightvgedit.c @@ -316,7 +316,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) sub = uiLayoutRow(sub, true); uiLayoutSetActive(sub, RNA_boolean_get(ptr, "use_add")); uiLayoutSetPropSep(sub, false); - uiItemR(sub, ptr, "add_threshold", UI_ITEM_R_SLIDER, "Threshold", ICON_NONE); + uiItemR(sub, ptr, "add_threshold", UI_ITEM_R_SLIDER, IFACE_("Threshold"), ICON_NONE); uiItemDecoratorR(row, ptr, "add_threshold", 0); col = uiLayoutColumnWithHeading(layout, false, IFACE_("Group Remove")); @@ -327,7 +327,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) sub = uiLayoutRow(sub, true); uiLayoutSetActive(sub, RNA_boolean_get(ptr, "use_remove")); uiLayoutSetPropSep(sub, false); - uiItemR(sub, ptr, "remove_threshold", UI_ITEM_R_SLIDER, "Threshold", ICON_NONE); + uiItemR(sub, ptr, "remove_threshold", UI_ITEM_R_SLIDER, IFACE_("Threshold"), ICON_NONE); uiItemDecoratorR(row, ptr, "remove_threshold", 0); uiItemR(layout, ptr, "normalize", 0, NULL, ICON_NONE); |