Blender V2.61 - r43446
|
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) |
Definition in file BLF_translation.h.
#define IFACE_ | ( | msgid | ) | BLF_translate_do_iface(msgid) |
Definition at line 75 of file BLF_translation.h.
Referenced by BIF_menustringTransformOrientation(), colorband_buttons_large(), colorband_buttons_small(), curvemap_brush_tools_func(), curvemap_buttons_layout(), curvemap_clipping_func(), curvemap_tools_func(), draw_modifier(), editortype_pup(), file_draw_buttons(), file_panel_bookmarks(), foreach_nodeclass(), graph_panel_modifiers(), modeselect_addmode(), nla_panel_modifiers(), poselib_add_menu_invoke(), pyrna_py_to_prop(), recent_files_menu_draw(), template_ID(), ui_draw_aligned_panel_header(), ui_template_node_link_menu(), uiDefAutoButR(), uiItemFullO(), uiItemM(), uiLayoutOperatorButs(), uiTemplatePreview(), uiTemplateRunningJobs(), view3d_modeselect_pup(), view3d_panel_operator_redo_header(), wm_block_create_splash(), wm_block_dialog_create(), WM_operator_confirm_message(), WM_operatortype_append(), WM_operatortype_append_macro(), WM_operatortype_append_macro_ptr(), WM_operatortype_append_ptr(), WM_read_file(), and WM_window_open_temp().
#define N_ | ( | msgid | ) | msgid |
Definition at line 73 of file BLF_translation.h.
Referenced by buttons_header_buttons(), editortype_pup(), file_draw_buttons(), recent_files_menu_register(), template_id_browse_tip(), and view3d_modeselect_pup().
#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) |
Definition at line 76 of file BLF_translation.h.
Referenced by BIF_menustringTransformOrientation(), colorband_buttons_large(), colorband_buttons_small(), curvemap_buttons_layout(), draw_constraint(), draw_modifier(), ED_area_header_switchbutton(), file_draw_buttons(), graph_panel_modifiers(), nla_panel_modifiers(), template_ID(), ui_def_but_operator(), ui_tooltip_create(), uiTemplateHeader3D(), uiTemplateReportsBanner(), and uiTemplateRunningJobs().
const char* BLF_gettext | ( | const char * | msgid | ) |
Definition at line 93 of file blf_translation.c.
Referenced by BLF_translate_do_iface(), BLF_translate_do_tooltip(), rna_ensure_property_description(), rna_ensure_property_name(), and RNA_property_enum_items_gettexted().
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.
void BLF_lang_set | ( | const char * | ) |
Definition at line 296 of file blf_lang.c.
const char* BLF_pgettext | ( | const char * | context, |
const char * | message | ||
) |
Definition at line 104 of file blf_translation.c.
References addon::engine::free(), NULL, strlen(), and TEXT_DOMAIN_NAME.
Referenced by rna_ensure_property_name(), and RNA_property_enum_items_gettexted().
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().