diff options
Diffstat (limited to 'source/blender/blenfont/BLF_translation.h')
-rw-r--r-- | source/blender/blenfont/BLF_translation.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenfont/BLF_translation.h b/source/blender/blenfont/BLF_translation.h index b42e6f80022..badfe1f4a4c 100644 --- a/source/blender/blenfont/BLF_translation.h +++ b/source/blender/blenfont/BLF_translation.h @@ -79,9 +79,11 @@ bool BLF_is_default_context(const char *msgctxt); const char *BLF_pgettext(const char *msgctxt, const char *msgid); /* translation */ +bool BLF_translate(void); bool BLF_translate_iface(void); bool BLF_translate_tooltips(void); bool BLF_translate_new_dataname(void); +const char *BLF_translate_do(const char *msgctxt, const char *msgid); const char *BLF_translate_do_iface(const char *msgctxt, const char *msgid); const char *BLF_translate_do_tooltip(const char *msgctxt, const char *msgid); const char *BLF_translate_do_new_dataname(const char *msgctxt, const char *msgid); @@ -146,6 +148,7 @@ const char *BLF_translate_do_new_dataname(const char *msgctxt, const char *msgid #define BLF_I18NCONTEXT_ID_ACTION "Action" #define BLF_I18NCONTEXT_ID_ARMATURE "Armature" #define BLF_I18NCONTEXT_ID_BRUSH "Brush" +#define BLF_I18NCONTEXT_ID_CACHELIBRARY "CacheLibrary" #define BLF_I18NCONTEXT_ID_CAMERA "Camera" #define BLF_I18NCONTEXT_ID_CURVE "Curve" #define BLF_I18NCONTEXT_ID_FREESTYLELINESTYLE "FreestyleLineStyle" @@ -180,8 +183,7 @@ const char *BLF_translate_do_new_dataname(const char *msgctxt, const char *msgid #define BLF_I18NCONTEXT_ID_MASK "Mask" /* Helper for bpy.app.i18n object... */ -typedef struct -{ +typedef struct { const char *c_id; const char *py_id; const char *value; |