Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blentranslation/BLT_translation.h
| Show All 38 Lines | |||||
| bool BLT_translate_iface(void); | bool BLT_translate_iface(void); | ||||
| bool BLT_translate_tooltips(void); | bool BLT_translate_tooltips(void); | ||||
| bool BLT_translate_new_dataname(void); | bool BLT_translate_new_dataname(void); | ||||
| const char *BLT_translate_do(const char *msgctxt, const char *msgid); | const char *BLT_translate_do(const char *msgctxt, const char *msgid); | ||||
| const char *BLT_translate_do_iface(const char *msgctxt, const char *msgid); | const char *BLT_translate_do_iface(const char *msgctxt, const char *msgid); | ||||
| const char *BLT_translate_do_tooltip(const char *msgctxt, const char *msgid); | const char *BLT_translate_do_tooltip(const char *msgctxt, const char *msgid); | ||||
| const char *BLT_translate_do_new_dataname(const char *msgctxt, const char *msgid); | const char *BLT_translate_do_new_dataname(const char *msgctxt, const char *msgid); | ||||
| bool BLT_lang_is_ime_supported(void); | |||||
| /* The "translation-marker" macro. */ | /* The "translation-marker" macro. */ | ||||
| #define N_(msgid) msgid | #define N_(msgid) msgid | ||||
| #define CTX_N_(context, msgid) msgid | #define CTX_N_(context, msgid) msgid | ||||
| /* Those macros should be used everywhere in UI code. */ | /* Those macros should be used everywhere in UI code. */ | ||||
| #ifdef WITH_INTERNATIONAL | #ifdef WITH_INTERNATIONAL | ||||
| /*# define _(msgid) BLT_gettext(msgid) */ | /*# define _(msgid) BLT_gettext(msgid) */ | ||||
| # define IFACE_(msgid) BLT_translate_do_iface(NULL, msgid) | # define IFACE_(msgid) BLT_translate_do_iface(NULL, msgid) | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||