mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 00:41:19 +12:00
Fix several language selection issues (#994)
This commit is contained in:
parent
d4a2a8e8de
commit
13a50a915e
4 changed files with 39 additions and 51 deletions
|
@ -13,8 +13,7 @@ public:
|
|||
void OnAssertFailure(const wxChar* file, int line, const wxChar* func, const wxChar* cond, const wxChar* msg) override;
|
||||
int FilterEvent(wxEvent& event) override;
|
||||
|
||||
const std::vector<const wxLanguageInfo*>& GetLanguages() const { return m_languages; }
|
||||
static std::vector<const wxLanguageInfo*> GetAvailableLanguages();
|
||||
std::vector<const wxLanguageInfo*> GetLanguages() const;
|
||||
|
||||
static void CreateDefaultFiles(bool first_start = false);
|
||||
static bool TrySelectMLCPath(fs::path path);
|
||||
|
@ -22,11 +21,13 @@ public:
|
|||
|
||||
private:
|
||||
void ActivateApp(wxActivateEvent& event);
|
||||
void LocalizeUI();
|
||||
static std::vector<const wxLanguageInfo*> GetAvailableTranslationLanguages(wxTranslations* translationsMgr);
|
||||
|
||||
MainWindow* m_mainFrame = nullptr;
|
||||
|
||||
wxLocale m_locale;
|
||||
std::vector<const wxLanguageInfo*> m_languages;
|
||||
std::vector<const wxLanguageInfo*> m_availableTranslations;
|
||||
};
|
||||
|
||||
wxDECLARE_APP(CemuApp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue