24#ifdef WITH_INTERNATIONAL
43#ifdef WITH_INTERNATIONAL
56 return BPY_app_translations_py_pgettext(msgctxt, msgid);
66 const std::optional<StringRefNull> translation =
pgettext(msgctxt, msgid);
70 return translation->c_str();
75 const std::optional<StringRefNull> translation =
pgettext(msgctxt, msgid);
84#ifdef WITH_INTERNATIONAL
93#ifdef WITH_INTERNATIONAL
102#ifdef WITH_INTERNATIONAL
111#ifdef WITH_INTERNATIONAL
120#ifdef WITH_INTERNATIONAL
127template<
typename StringT> StringT
translate_do(StringT msgctxt, StringT msgid)
129#ifdef WITH_INTERNATIONAL
154#ifdef WITH_INTERNATIONAL
179#ifdef WITH_INTERNATIONAL
204#ifdef WITH_INTERNATIONAL
229#ifdef WITH_INTERNATIONAL
int BLI_thread_is_main(void)
#define BLT_I18NCONTEXT_DEFAULT
#define BLT_I18NCONTEXT_DEFAULT_BPYRNA
const char * BLT_translate_do(const char *msgctxt, const char *msgid)
bool BLT_translate_iface()
StringT translate_do_tooltip(StringT msgctxt, StringT msgid)
StringT translate_do(StringT msgctxt, StringT msgid)
bool BLT_translate_new_dataname()
StringT translate_do_new_dataname(StringT msgctxt, StringT msgid)
bool BLT_is_default_context(const StringRef msgctxt)
StringT translate_do_report(StringT msgctxt, StringT msgid)
const char * BLT_pgettext(const char *msgctxt, const char *msgid)
bool BLT_translate_reports()
const char * BLT_translate_do_tooltip(const char *msgctxt, const char *msgid)
static std::optional< StringRefNull > pgettext(StringRef msgctxt, const StringRef msgid)
bool BLT_translate_tooltips()
const char * BLT_translate_do_iface(const char *msgctxt, const char *msgid)
StringT translate_do_iface(StringT msgctxt, StringT msgid)
const char * BLT_translate_do_new_dataname(const char *msgctxt, const char *msgid)
const char * BLT_translate_do_report(const char *msgctxt, const char *msgid)
constexpr bool is_empty() const
std::optional< StringRefNull > translate(const int domain, const StringRef context, const StringRef key)