Qt: Add translation support (#664)

* Translation PoC

* i18n but better

* More Greek translation

* Add proper translation UI

* Linux CI: Install qt6-tools-dev
This commit is contained in:
wheremyfoodat 2024-12-04 21:08:33 +02:00 committed by GitHub
parent 28461a1d44
commit bfdc6f0240
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 1656 additions and 7 deletions

View file

@ -24,6 +24,7 @@ struct FrontendSettings {
Theme theme = Theme::Dark;
WindowIcon icon = WindowIcon::Rpog;
std::string language = "en";
static Theme themeFromString(std::string inString);
static const char* themeToString(Theme theme);