diff options
author | Damien Picard <pioverfour> | 2022-09-15 12:13:33 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-09-15 12:38:45 +0300 |
commit | a869fcd686f4728b187ed64864afbaa8784a94af (patch) | |
tree | c108b59f0db86ed947c42c7de265f79fa635f9fa /source/blender/gpencil_modifiers/intern | |
parent | 903709c4ebd7b3cdf2094af3833e00abbddef160 (diff) |
I18n: disambiguate and extract a few messages
Disambiguate:
- Lower / Upper (case)
- Spray (ocean modifier)
- Keep Original (clip, grease pencil, object)
- Screen [space] (inside some enum items, mostly)
- Cast Shadow ("shadow that is cast", not "to cast a shadow")
Extract:
- Line Art Light Reference Near and Far
- Mesh vertex attribute domain: Vertex
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15938
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c index 6bb59f29b98..ec383c02c1d 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c @@ -397,7 +397,7 @@ static void edge_types_panel_draw(const bContext *UNUSED(C), Panel *panel) sub = uiLayoutRow(entry, false); uiItemR(sub, ptr, "use_light_contour", 0, IFACE_("Light Contour"), ICON_NONE); - uiItemR(entry, ptr, "use_shadow", 0, IFACE_("Cast Shadow"), ICON_NONE); + uiItemR(entry, ptr, "use_shadow", 0, CTX_IFACE_(BLT_I18NCONTEXT_ID_GPENCIL, "Cast Shadow"), ICON_NONE); uiItemL(layout, IFACE_("Options"), ICON_NONE); @@ -442,8 +442,8 @@ static void options_light_reference_draw(const bContext *UNUSED(C), Panel *panel uiItemR(remaining, ptr, "shadow_camera_size", 0, NULL, ICON_NONE); uiLayout *col = uiLayoutColumn(remaining, true); - uiItemR(col, ptr, "shadow_camera_near", 0, "Near", ICON_NONE); - uiItemR(col, ptr, "shadow_camera_far", 0, "Far", ICON_NONE); + uiItemR(col, ptr, "shadow_camera_near", 0, IFACE_("Near"), ICON_NONE); + uiItemR(col, ptr, "shadow_camera_far", 0, IFACE_("Far"), ICON_NONE); } static void options_panel_draw(const bContext *UNUSED(C), Panel *panel) |