mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
cleanup ContentControl
This commit is contained in:
parent
f99d909f34
commit
3486cbd4c9
10 changed files with 59 additions and 114 deletions
|
|
@ -39,9 +39,7 @@ namespace langs {
|
|||
std::string name;
|
||||
};
|
||||
|
||||
std::string locale_by_envlocale(
|
||||
const std::string& envlocale, const io::path& resdir
|
||||
);
|
||||
std::string locale_by_envlocale(const std::string& envlocale);
|
||||
|
||||
const std::string& get_current();
|
||||
const std::unordered_map<std::string, LocaleInfo>& get_locales_info();
|
||||
|
|
@ -51,9 +49,7 @@ namespace langs {
|
|||
const std::wstring& key, const std::wstring& context
|
||||
);
|
||||
|
||||
void setup(
|
||||
const io::path& resdir,
|
||||
std::string locale,
|
||||
const std::vector<io::path>& roots
|
||||
);
|
||||
/// @brief Change locale to specified
|
||||
/// @param locale isolanguage_ISOCOUNTRY (example: en_US)
|
||||
void setup(std::string locale, const std::vector<io::path>& roots);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue