diff options
author | Bastien Montagne <bastien@blender.org> | 2021-11-02 19:50:18 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-11-02 19:50:18 +0300 |
commit | 29dff8f84423852f01570334abf08fb922ffb51e (patch) | |
tree | 0ace98fe2d22cca12052350e861006c6b2486a7b /source/blender/gpencil_modifiers | |
parent | 20b163b53309fb6fbbb5aab78cde0d14e163e3b4 (diff) |
Fix lots of missing messages i18n handling in `uiItemL` calls.
Also fix several wrong usages of `IFACE_` (as a reminder, error/info
messages should use `TIP_`, not `IFACE_`).
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c index fa31aec2b5b..b35ebd4be9a 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c @@ -388,7 +388,7 @@ static void options_panel_draw(const bContext *UNUSED(C), Panel *panel) uiLayoutSetEnabled(layout, !is_baked); if (use_cache && !is_first) { - uiItemL(layout, "Cached from the first line art modifier.", ICON_INFO); + uiItemL(layout, TIP_("Cached from the first line art modifier"), ICON_INFO); return; } @@ -439,7 +439,7 @@ static void occlusion_panel_draw(const bContext *UNUSED(C), Panel *panel) uiLayoutSetEnabled(layout, !is_baked); if (!show_in_front) { - uiItemL(layout, IFACE_("Object is not in front"), ICON_INFO); + uiItemL(layout, TIP_("Object is not in front"), ICON_INFO); } layout = uiLayoutColumn(layout, false); @@ -568,7 +568,7 @@ static void face_mark_panel_draw(const bContext *UNUSED(C), Panel *panel) uiLayoutSetEnabled(layout, !is_baked); if (use_cache && !is_first) { - uiItemL(layout, "Cached from the first line art modifier.", ICON_INFO); + uiItemL(layout, TIP_("Cached from the first line art modifier"), ICON_INFO); return; } @@ -596,7 +596,7 @@ static void chaining_panel_draw(const bContext *UNUSED(C), Panel *panel) uiLayoutSetEnabled(layout, !is_baked); if (use_cache && !is_first) { - uiItemL(layout, "Cached from the first line art modifier.", ICON_INFO); + uiItemL(layout, TIP_("Cached from the first line art modifier"), ICON_INFO); return; } @@ -633,7 +633,7 @@ static void vgroup_panel_draw(const bContext *UNUSED(C), Panel *panel) uiLayoutSetEnabled(layout, !is_baked); if (use_cache && !is_first) { - uiItemL(layout, "Cached from the first line art modifier.", ICON_INFO); + uiItemL(layout, TIP_("Cached from the first line art modifier"), ICON_INFO); return; } @@ -666,7 +666,7 @@ static void bake_panel_draw(const bContext *UNUSED(C), Panel *panel) if (is_baked) { uiLayout *col = uiLayoutColumn(layout, false); uiLayoutSetPropSep(col, false); - uiItemL(col, IFACE_("Modifier has baked data"), ICON_NONE); + uiItemL(col, TIP_("Modifier has baked data"), ICON_NONE); uiItemR( col, ptr, "is_baked", UI_ITEM_R_TOGGLE, IFACE_("Continue Without Clearing"), ICON_NONE); } @@ -696,7 +696,7 @@ static void composition_panel_draw(const bContext *UNUSED(C), Panel *panel) uiItemR(layout, ptr, "use_image_boundary_trimming", 0, NULL, ICON_NONE); if (show_in_front) { - uiItemL(layout, IFACE_("Object is shown in front"), ICON_ERROR); + uiItemL(layout, TIP_("Object is shown in front"), ICON_ERROR); } uiLayout *col = uiLayoutColumn(layout, false); |