/** * @internal * @return Returns no value * @brief Parses out the language, country and modifer setting from the * LC_MESSAGES environment variable */ static void efreet_parse_locale(void) { efreet_parsed_locale = 1; if (efreet_parse_locale_setting("LC_ALL")) return; if (efreet_parse_locale_setting("LC_MESSAGES")) return; efreet_parse_locale_setting("LANG"); }
/** * @internal * @return Returns no value * @brief Parses out the language, country and modifer setting from the * LC_MESSAGES environment variable */ static void efreet_parse_locale(void) { efreet_parsed_locale = 1; if (efreet_parse_locale_setting("LANG")) return; if (efreet_parse_locale_setting("LC_ALL")) return; if (efreet_parse_locale_setting("LC_MESSAGES")) return; efreet_language = eina_stringshare_add("C"); }