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/makesrna/intern/rna_scene.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/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 792b11d8e5b..410756ff5ea 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -37,8 +37,11 @@ #include "DNA_particle_types.h" #include "DNA_scene_types.h" #include "DNA_userdef_types.h" + #include "BLI_math.h" +#include "BLF_translation.h" + #include "BKE_tessmesh.h" /* Include for Bake Options */ @@ -204,11 +207,11 @@ EnumPropertyItem image_only_type_items[] = { {0, NULL, 0, NULL, NULL}}; EnumPropertyItem image_type_items[] = { - {0, "", 0, "Image", NULL}, + {0, "", 0, N_("Image"), NULL}, IMAGE_TYPE_ITEMS_IMAGE_ONLY - {0, "", 0, "Movie", NULL}, + {0, "", 0, N_("Movie"), NULL}, #ifdef _WIN32 /* XXX Missing codec menu */ {R_IMF_IMTYPE_AVICODEC, "AVICODEC", ICON_FILE_MOVIE, "AVI Codec", "Output video in AVI format"}, |