diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-10 18:57:19 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-10 18:57:19 +0400 |
commit | f57398568a326dcbc69900d2c21b96abca14429b (patch) | |
tree | 2b1a27bf8ec75aa74339192f61cb1b982e2d8b9b /source/blender/makesrna | |
parent | 98fbbe4297be2b021a22801c51b09eddb33ebe8d (diff) |
More UI message i18n fixes and improvements...
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index 7b55671e4ed..912f4d914cb 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -28,6 +28,8 @@ #include "BLI_math_base.h" +#include "BLF_translation.h" + #include "RNA_define.h" #include "RNA_enum_types.h" #include "rna_internal.h" @@ -362,6 +364,7 @@ static void rna_def_lamp(BlenderRNA *brna) prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE); RNA_def_property_enum_items(prop, lamp_type_items); RNA_def_property_ui_text(prop, "Type", "Type of Lamp"); + RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_LAMP); RNA_def_property_update(prop, 0, "rna_Lamp_draw_update"); prop = RNA_def_property(srna, "distance", PROP_FLOAT, PROP_DISTANCE); |