Save language preset.

* Added global variable g_local_dir to get "localization" directory.
* Chage/Set language works correctly now.
* Probably, fixed work on Linux
This commit is contained in:
YuSanka 2018-02-12 08:57:32 +01:00
parent d18a200b0f
commit badeb2f64c
7 changed files with 60 additions and 38 deletions

View file

@ -77,7 +77,7 @@ void show_info(wxWindow* parent, wxString message, wxString title);
// load language saved at application config
bool load_language();
// save language at application config
void save_language(bool bReset);
void save_language();
// get list of installed languages
void get_installed_languages(wxArrayString & names, wxArrayLong & identifiers);
// select language from the list of installed languages