From 134bf10e4d3bc3ab629c38c618fed467aa817891 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 13 Apr 2012 20:25:05 +0000 Subject: i18n: "labels" of multi-section enums need to be marked for gettext (N_()), as they are not available from python... --- source/blender/editors/sculpt_paint/paint_hide.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'source/blender/editors/sculpt_paint/paint_hide.c') diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index a3acce33683..43bb4d33212 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -355,16 +355,13 @@ void PAINT_OT_hide_show(struct wmOperatorType *ot) static EnumPropertyItem action_items[] = { {PARTIALVIS_HIDE, "HIDE", 0, "Hide", "Hide vertices"}, {PARTIALVIS_SHOW, "SHOW", 0, "Show", "Show vertices"}, - {0}}; + {0, NULL, 0, NULL, NULL}}; static EnumPropertyItem area_items[] = { - {PARTIALVIS_OUTSIDE, "OUTSIDE", 0, "Outside", - "Hide or show vertices outside the selection"}, - {PARTIALVIS_INSIDE, "INSIDE", 0, "Inside", - "Hide or show vertices inside the selection"}, - {PARTIALVIS_ALL, "ALL", 0, "All", - "Hide or show all vertices"}, - {0}}; + {PARTIALVIS_OUTSIDE, "OUTSIDE", 0, "Outside", "Hide or show vertices outside the selection"}, + {PARTIALVIS_INSIDE, "INSIDE", 0, "Inside", "Hide or show vertices inside the selection"}, + {PARTIALVIS_ALL, "ALL", 0, "All", "Hide or show all vertices"}, + {0, NULL, 0, NULL, NULL}}; /* identifiers */ ot->name = "Hide/Show"; -- cgit v1.2.3