#include <glib.h>
#include <locale.h>
Go to the source code of this file.
Functions | |
G_BEGIN_DECLS char const * | go_setlocale (int category, char const *val) |
void | go_locale_untranslated_booleans (void) |
go_locale_untranslated_booleans : | |
char const * | go_locale_boolean_name (gboolean b) |
GString const * | go_locale_get_currency (gboolean *precedes, gboolean *space_sep) |
go_locale_get_currency : : a pointer to a boolean which is set to TRUE if the currency should precede : a pointer to a boolean which is set to TRUE if the currency should have a space separating it from the the value | |
char | go_locale_get_arg_sep (void) |
char | go_locale_get_col_sep (void) |
char | go_locale_get_row_sep (void) |
GString const * | go_locale_get_thousand (void) |
GString const * | go_locale_get_decimal (void) |
int | go_locale_month_before_day (void) |
gboolean | go_locale_24h (void) |
go_locale_24h : | |
GString const * | go_locale_get_date_format (void) |
GString const * | go_locale_get_time_format (void) |
void | _go_locale_shutdown (void) |
void _go_locale_shutdown | ( | void | ) |
References FREE1, go_setlocale(), lc_currency, lc_date_format, lc_decimal, lc_thousand, lc_time_format, and locale_info_cached.
gboolean go_locale_24h | ( | void | ) |
go_locale_24h :
Returns: TRUE if the locale uses a 24h clock, FALSE otherwise.
References go_locale_get_time_format(), and locale_is_24h_cached.
char const* go_locale_boolean_name | ( | gboolean | b | ) |
References _, boolean_cached, lc_FALSE, and lc_TRUE.
Referenced by go_object_set_property().
char go_locale_get_arg_sep | ( | void | ) |
References go_locale_get_decimal().
Referenced by cb_graph_dim_editor_update().
char go_locale_get_col_sep | ( | void | ) |
References go_locale_get_decimal().
Referenced by cb_graph_dim_editor_update().
GString const* go_locale_get_currency | ( | gboolean * | precedes, | |
gboolean * | space_sep | |||
) |
go_locale_get_currency : : a pointer to a boolean which is set to TRUE if the currency should precede : a pointer to a boolean which is set to TRUE if the currency should have a space separating it from the the value
Play with the default logic so that things come out nicely for the default case.
Returns: A string with the default currency
References lc_currency, lc_precedes, lc_space_sep, locale_info_cached, and update_lc().
GString const* go_locale_get_date_format | ( | void | ) |
References date_format_cached, and lc_date_format.
GString const* go_locale_get_decimal | ( | void | ) |
References lc_decimal, locale_info_cached, and update_lc().
Referenced by go_locale_get_arg_sep(), and go_locale_get_col_sep().
char go_locale_get_row_sep | ( | void | ) |
GString const* go_locale_get_thousand | ( | void | ) |
References lc_thousand, locale_info_cached, and update_lc().
GString const* go_locale_get_time_format | ( | void | ) |
References lc_time_format, s, and time_format_cached.
Referenced by go_locale_24h().
int go_locale_month_before_day | ( | void | ) |
References date_order_cached.
void go_locale_untranslated_booleans | ( | void | ) |
go_locale_untranslated_booleans :
Short circuit the current locale so that we can import files and still produce error messages in the current LC_MESSAGE
References boolean_cached, lc_FALSE, and lc_TRUE.
G_BEGIN_DECLS char const* go_setlocale | ( | int | category, | |
char const * | val | |||
) |