diff options
Diffstat (limited to 'source/blender/gpencil_modifiers')
-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) |