![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <glib.h>
Include dependency graph for l10n.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_l10n_language_t |
| struct | dt_l10n_t |
Typedefs | |
| typedef struct dt_l10n_language_t | dt_l10n_language_t |
| typedef struct dt_l10n_t | dt_l10n_t |
Functions | |
| dt_l10n_t * | dt_l10n_init (gboolean init_list) |
| void | dt_l10n_disable_setlocale_early (void) |
| struct dt_l10n_t * | dt_l10n_get_global (void) |
| const char * | dt_l10n_get_current_lang (dt_l10n_t *l10n) |
| const char * | dt_l10n_get_current_code (dt_l10n_t *l10n) |
| const char * | dt_l10n_get_name (const dt_l10n_language_t *language) |
| typedef struct dt_l10n_language_t dt_l10n_language_t |
Definition at line 92 of file l10n.c.
References _l10n_gtk_locale_disabled, and TRUE.
Referenced by main(), and set_locale().
| const char * dt_l10n_get_current_code | ( | dt_l10n_t * | l10n | ) |
ISO code of the language the GUI currently runs in – "fr" for fr_FR, "de" for de_AT – or "C" when running untranslated. This is the machine-readable half of the pair: dt_l10n_get_current_lang() returns the human-readable name shown in preferences ("Francais (fr_FR)"), which is not usable as a file name suffix or a URL segment.
Definition at line 463 of file l10n.c.
References dt_l10n_language_t::base_code, dt_l10n_language_t::code, IS_NULL_PTR, dt_l10n_t::languages, and dt_l10n_t::selected.
Referenced by _on_capture().
| const char * dt_l10n_get_current_lang | ( | dt_l10n_t * | l10n | ) |
Definition at line 457 of file l10n.c.
References dt_l10n_t::languages, and dt_l10n_t::selected.
Referenced by dt_gui_gtk_init().
Definition at line 636 of file darktable.c.
References darktable, and darktable_t::l10n.
Referenced by _on_capture(), dt_gui_gtk_init(), get_lang(), init_tab_general(), language_callback(), and reset_language_widget().
| const char * dt_l10n_get_name | ( | const dt_l10n_language_t * | language | ) |
Definition at line 450 of file l10n.c.
References dt_l10n_language_t::code, IS_NULL_PTR, and dt_l10n_language_t::name.
Referenced by init_tab_general(), and sort_languages().
| dt_l10n_t * dt_l10n_init | ( | gboolean | init_list | ) |
Definition at line 313 of file l10n.c.
References dt_l10n_language_t::base_code, dt_l10n_language_t::code, dt_conf_get_string(), dt_free, dt_loc_get_localedir(), DT_PATH_MAX, dtwin_get_locale(), get_language_names(), GETTEXT_PACKAGE, i, dt_l10n_language_t::is_default, IS_NULL_PTR, dt_l10n_t::languages, dt_l10n_language_t::name, dt_l10n_t::selected, selected, set_locale(), sort_languages(), dt_l10n_t::sys_default, and TRUE.
Referenced by dt_init().