Blender V4.3
boost_locale_wrapper.h File Reference

Go to the source code of this file.

Functions

void bl_locale_init (const char *messages_path, const char *default_domain)
 
void bl_locale_set (const char *locale)
 
const char * bl_locale_get (void)
 
const char * bl_locale_pgettext (const char *msgctxt, const char *msgid)
 

Detailed Description

A thin C wrapper around boost::locale.

Definition in file boost_locale_wrapper.h.

Function Documentation

◆ bl_locale_get()

const char * bl_locale_get ( void )

Definition at line 121 of file boost_locale_wrapper.cpp.

References locale_str.

Referenced by BLT_lang_get().

◆ bl_locale_init()

void bl_locale_init ( const char * messages_path,
const char * default_domain )

Definition at line 54 of file boost_locale_wrapper.cpp.

References default_domain, and messages_path.

Referenced by BLT_lang_init().

◆ bl_locale_pgettext()

const char * bl_locale_pgettext ( const char * msgctxt,
const char * msgid )

Definition at line 126 of file boost_locale_wrapper.cpp.

References facet_global.

Referenced by BLT_pgettext().

◆ bl_locale_set()

void bl_locale_set ( const char * locale)