mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-11 06:08:34 +00:00
gui: Implement gui translations
This commit is contained in:
@@ -22,8 +22,15 @@ public:
|
||||
|
||||
int exec() override;
|
||||
|
||||
signals:
|
||||
void LanguageChanged(const std::string& locale);
|
||||
|
||||
private:
|
||||
void LoadValuesFromConfig();
|
||||
void InitializeEmulatorLanguages();
|
||||
void OnLanguageChanged(int index);
|
||||
|
||||
std::unique_ptr<Ui::SettingsDialog> ui;
|
||||
|
||||
std::map<std::string, int> languages;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user