Blender V2.61 - r43446
Defines | Functions

BLF_translation.h File Reference

Go to the source code of this file.

Defines

#define TEXT_DOMAIN_NAME   "blender"
#define N_(msgid)   msgid
#define IFACE_(msgid)   BLF_translate_do_iface(msgid)
#define TIP_(msgid)   BLF_translate_do_tooltip(msgid)

Functions

const char * BLF_gettext (const char *msgid)
const char * BLF_pgettext (const char *context, const char *message)
void BLF_lang_init (void)
void BLF_lang_set (const char *)
void BLF_lang_encoding_name (const char *str)
void BLF_lang_encoding (const char *str)
int BLF_translate_iface (void)
int BLF_translate_tooltips (void)
const char * BLF_translate_do_iface (const char *msgid)
const char * BLF_translate_do_tooltip (const char *msgid)

Detailed Description

Definition in file BLF_translation.h.


Define Documentation

#define IFACE_ (   msgid)    BLF_translate_do_iface(msgid)
#define N_ (   msgid)    msgid
#define TEXT_DOMAIN_NAME   "blender"

Definition at line 36 of file BLF_translation.h.

Referenced by BLF_pgettext().

#define TIP_ (   msgid)    BLF_translate_do_tooltip(msgid)

Function Documentation

const char* BLF_gettext ( const char *  msgid)
void BLF_lang_encoding ( const char *  str)

Definition at line 290 of file blf_lang.c.

Referenced by main().

void BLF_lang_encoding_name ( const char *  str)
void BLF_lang_init ( void  )

Definition at line 285 of file blf_lang.c.

Referenced by main(), and WM_init().

void BLF_lang_set ( const char *  )

Definition at line 296 of file blf_lang.c.

Referenced by main(), and WM_init().

const char* BLF_pgettext ( const char *  context,
const char *  message 
)
const char* BLF_translate_do_iface ( const char *  msgid)

Definition at line 157 of file blf_translation.c.

References BLF_gettext(), and BLF_translate_iface().

const char* BLF_translate_do_tooltip ( const char *  msgid)

Definition at line 169 of file blf_translation.c.

References BLF_gettext(), and BLF_translate_tooltips().

int BLF_translate_iface ( void  )

Definition at line 139 of file blf_translation.c.

References UserDef::transopts, U, USER_DOTRANSLATE, and USER_TR_IFACE.

Referenced by BLF_translate_do_iface().

int BLF_translate_tooltips ( void  )

Definition at line 148 of file blf_translation.c.

References UserDef::transopts, U, USER_DOTRANSLATE, and USER_TR_TOOLTIPS.

Referenced by BLF_translate_do_tooltip().