18n: Add new `EDITOR_VIEW3D` translation context.
This commit is contained in:
parent
8e940f31fd
commit
1e848281f9
Notes:
blender-bot
2023-02-14 02:08:37 +01:00
Referenced by issue #97915, Regression: Blender doesn't translate viewpoint menu items
|
@ -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 \
|
||||
} \
|
||||
|
|
Loading…
Reference in New Issue