diff options
author | Damien Picard <pioverfour> | 2022-08-29 16:56:31 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-29 17:04:03 +0300 |
commit | 9120c86c3fcab1a2cc0424f1f055f80b3d660853 (patch) | |
tree | dbac03023b471a8923df588f5ea05cbf66c29d50 /source/blender/makesrna/intern/rna_camera.c | |
parent | 0db582c41c3b8aba65eabaa97093b386fa4d0ddf (diff) |
I18n: disambiguate and make a few more strings translatable
Those strings were at least partly disambiguated:
- Area
- Zone
- Measurement
- Ease
- BBone Ease In / Out
- Back
- Camera BG image depth
- GP interpolate sequence
- Edge Crease
- Theme
- Jitter
- Brush
- GPencil
- Lens distorsion compositing node
- Cineon color management
- Black
- Gamma
- White
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15791
Diffstat (limited to 'source/blender/makesrna/intern/rna_camera.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_camera.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_camera.c b/source/blender/makesrna/intern/rna_camera.c index 988e65b4ba8..0807dbe61eb 100644 --- a/source/blender/makesrna/intern/rna_camera.c +++ b/source/blender/makesrna/intern/rna_camera.c @@ -10,6 +10,8 @@ #include "BLI_math.h" +#include "BLT_translation.h" + #include "RNA_access.h" #include "RNA_define.h" @@ -369,6 +371,7 @@ static void rna_def_camera_background_image(BlenderRNA *brna) RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); RNA_def_property_enum_items(prop, bgpic_display_depth_items); RNA_def_property_ui_text(prop, "Depth", "Display under or over everything"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_CAMERA); RNA_def_property_update(prop, NC_CAMERA | ND_DRAW_RENDER_VIEWPORT, NULL); /* expose 2 flags as a enum of 3 items */ |