diff options
author | Bastien Montagne <bastien@blender.org> | 2022-02-28 16:35:49 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-02-28 16:37:07 +0300 |
commit | 1e848281f94ff11d8a037469c34bd645d41e3ada (patch) | |
tree | 47b6d77b2c0c0dbafb92402cc14a396c3774bff2 /source/blender/blentranslation/BLT_translation.h | |
parent | 8e940f31fdca44816a5d6151c74567b2d6d75454 (diff) |
18n: Add new `EDITOR_VIEW3D` translation context.
Diffstat (limited to 'source/blender/blentranslation/BLT_translation.h')
-rw-r--r-- | source/blender/blentranslation/BLT_translation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blentranslation/BLT_translation.h b/source/blender/blentranslation/BLT_translation.h index 08a0c9605e5..ebb0f604df7 100644 --- a/source/blender/blentranslation/BLT_translation.h +++ b/source/blender/blentranslation/BLT_translation.h @@ -129,6 +129,9 @@ bool BLT_lang_is_ime_supported(void); #define BLT_I18NCONTEXT_ID_MOVIECLIP "MovieClip" #define BLT_I18NCONTEXT_ID_MASK "Mask" +/* Editors-types contexts. */ +#define BLT_I18NCONTEXT_EDITOR_VIEW3D "View3D" + /* Helper for bpy.app.i18n object... */ typedef struct { const char *c_id; @@ -191,6 +194,7 @@ typedef struct { BLT_I18NCONTEXTS_ITEM(BLT_I18NCONTEXT_ID_WORLD, "id_world"), \ BLT_I18NCONTEXTS_ITEM(BLT_I18NCONTEXT_ID_WORKSPACE, "id_workspace"), \ BLT_I18NCONTEXTS_ITEM(BLT_I18NCONTEXT_ID_WINDOWMANAGER, "id_windowmanager"), \ + BLT_I18NCONTEXTS_ITEM(BLT_I18NCONTEXT_EDITOR_VIEW3D, "editor_view3d"), \ { \ NULL, NULL, NULL \ } \ |