|
Blender V4.3
|
#include <cstdlib>#include <cstring>#include "BLT_translation.hh"#include "MEM_guardedalloc.h"#include "DNA_userdef_types.h"Go to the source code of this file.
Functions | |
| bool | BLT_is_default_context (const char *msgctxt) |
| const char * | BLT_pgettext (const char *msgctxt, const char *msgid) |
| bool | BLT_translate () |
| bool | BLT_translate_iface () |
| bool | BLT_translate_tooltips () |
| bool | BLT_translate_reports () |
| bool | BLT_translate_new_dataname () |
| 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_tooltip (const char *msgctxt, const char *msgid) |
| const char * | BLT_translate_do_report (const char *msgctxt, const char *msgid) |
| const char * | BLT_translate_do_new_dataname (const char *msgctxt, const char *msgid) |
Manages translation files and provides translation functions. (which are optional and can be disabled as a preference).
Definition in file blt_translation.cc.
| bool BLT_is_default_context | ( | const char * | msgctxt | ) |
Definition at line 30 of file blt_translation.cc.
References BLT_I18NCONTEXT_DEFAULT_BPYRNA.
Referenced by BLT_pgettext().
| const char * BLT_pgettext | ( | const char * | msgctxt, |
| const char * | msgid ) |
Definition at line 39 of file blt_translation.cc.
References bl_locale_pgettext(), BLT_I18NCONTEXT_DEFAULT, BLT_is_default_context(), and ret.
Referenced by app_translations_pgettext(), BLT_translate_do(), BLT_translate_do_iface(), BLT_translate_do_new_dataname(), BLT_translate_do_report(), and BLT_translate_do_tooltip().
| bool BLT_translate | ( | ) |
Definition at line 66 of file blt_translation.cc.
References BLI_thread_is_main().
Referenced by BLT_lang_get(), BLT_translate_do(), BLT_translate_iface(), BLT_translate_new_dataname(), BLT_translate_reports(), and BLT_translate_tooltips().
| const char * BLT_translate_do | ( | const char * | msgctxt, |
| const char * | msgid ) |
Definition at line 111 of file blt_translation.cc.
References BLT_pgettext(), and BLT_translate().
| const char * BLT_translate_do_iface | ( | const char * | msgctxt, |
| const char * | msgid ) |
Definition at line 126 of file blt_translation.cc.
References BLT_pgettext(), and BLT_translate_iface().
Referenced by app_translations_pgettext_iface(), RNA_property_enum_item_from_value_gettexted(), and RNA_property_enum_name_gettexted().
| const char * BLT_translate_do_new_dataname | ( | const char * | msgctxt, |
| const char * | msgid ) |
Definition at line 171 of file blt_translation.cc.
References BLT_pgettext(), and BLT_translate_new_dataname().
Referenced by app_translations_pgettext_data().
| const char * BLT_translate_do_report | ( | const char * | msgctxt, |
| const char * | msgid ) |
Definition at line 156 of file blt_translation.cc.
References BLT_pgettext(), and BLT_translate_reports().
Referenced by app_translations_pgettext_rpt().
| const char * BLT_translate_do_tooltip | ( | const char * | msgctxt, |
| const char * | msgid ) |
Definition at line 141 of file blt_translation.cc.
References BLT_pgettext(), and BLT_translate_tooltips().
Referenced by app_translations_pgettext_tip(), and RNA_property_enum_item_from_value_gettexted().
| bool BLT_translate_iface | ( | ) |
Definition at line 75 of file blt_translation.cc.
References BLT_translate(), and USER_TR_IFACE.
Referenced by BLT_translate_do_iface().
| bool BLT_translate_new_dataname | ( | ) |
Definition at line 102 of file blt_translation.cc.
References BLT_translate(), and USER_TR_NEWDATANAME.
Referenced by BLT_translate_do_new_dataname(), wm_file_read_post(), and workspace_append_activate_exec().
| bool BLT_translate_reports | ( | ) |
Definition at line 93 of file blt_translation.cc.
References BLT_translate(), and USER_TR_REPORTS.
Referenced by BLT_translate_do_report().
| bool BLT_translate_tooltips | ( | ) |
Definition at line 84 of file blt_translation.cc.
References BLT_translate(), and USER_TR_TOOLTIPS.
Referenced by BLT_translate_do_tooltip().