gwenhywfar
4.7.0beta
|
#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/misc2.h>
#include <gwenhywfar/xml.h>
#include <gwenhywfar/stringlist.h>
Go to the source code of this file.
Functions | |
GWENHYWFAR_API int | GWEN_I18N_BindTextDomain_Codeset (const char *textdomain, const char *cs) |
GWENHYWFAR_API int | GWEN_I18N_BindTextDomain_Dir (const char *textdomain, const char *folder) |
GWENHYWFAR_API const char * | GWEN_I18N_GetCurrentLocale (void) |
GWENHYWFAR_API GWEN_STRINGLIST * | GWEN_I18N_GetCurrentLocaleList (void) |
GWENHYWFAR_API int | GWEN_I18N_SetLocale (const char *s) |
GWENHYWFAR_API const char * | GWEN_I18N_Translate (const char *textdomain, const char *text) |
GWENHYWFAR_API int GWEN_I18N_BindTextDomain_Codeset | ( | const char * | textdomain, |
const char * | cs | ||
) |
Definition at line 289 of file i18n.c.
References DBG_INFO, GWEN_ERROR_GENERIC, GWEN_ERROR_NOT_SUPPORTED, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_I18N_ModuleInit().
GWENHYWFAR_API int GWEN_I18N_BindTextDomain_Dir | ( | const char * | textdomain, |
const char * | folder | ||
) |
Definition at line 275 of file i18n.c.
References DBG_INFO, GWEN_ERROR_GENERIC, GWEN_ERROR_NOT_SUPPORTED, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_I18N_ModuleInit().
GWENHYWFAR_API const char* GWEN_I18N_GetCurrentLocale | ( | void | ) |
Definition at line 241 of file i18n.c.
References gwen_i18n__currentlocale.
GWENHYWFAR_API GWEN_STRINGLIST* GWEN_I18N_GetCurrentLocaleList | ( | void | ) |
Gwenhywfar remains the owner of the object returned (if any), so you MUST NOT free it.
Definition at line 235 of file i18n.c.
References gwen_i18n__localelist.
Referenced by GWEN_LoadPluginDescrsByType(), GWEN_PluginDescription_GetLongDescrByFormat(), and GWEN_XMLNode_GetLocalizedCharValue().
GWENHYWFAR_API int GWEN_I18N_SetLocale | ( | const char * | s) |
Definition at line 178 of file i18n.c.
References DBG_INFO, gwen_i18n__currentlocale, gwen_i18n__localelist, GWEN_LOGDOMAIN, GWEN_StringList_AppendString(), GWEN_StringList_Clear(), and NULL.
Referenced by GWEN_I18N_ModuleInit().
GWENHYWFAR_API const char* GWEN_I18N_Translate | ( | const char * | textdomain, |
const char * | text | ||
) |
Definition at line 247 of file i18n.c.
Referenced by GWEN_Dialog_TranslateString(), GWEN_PluginDescription_GetLongDescr(), and GWEN_PluginDescription_GetShortDescr().