diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-04-14 00:25:05 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-04-14 00:25:05 +0400 |
commit | 134bf10e4d3bc3ab629c38c618fed467aa817891 (patch) | |
tree | 5d5cfe7061bc271a3191b816e2547e19c8f6a394 /source/blender/editors/sculpt_paint/paint_hide.c | |
parent | 4c1c092fb95f1ee8edf05e91280e0ac71521ccd1 (diff) |
i18n: "labels" of multi-section enums need to be marked for gettext (N_()), as they are not available from python...
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 13 |
1 files changed, 5 insertions, 8 deletions
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"; |