Qt: Move translation-related functions to their own file

This commit is contained in:
Connor McLaughlin
2022-08-18 23:20:03 +10:00
parent 0f82dc9161
commit 9bb73dea04
7 changed files with 181 additions and 158 deletions

View File

@@ -245,7 +245,7 @@ void RunOnUIThread(const std::function<void()>& func, bool block = false);
std::vector<std::pair<QString, QString>> GetAvailableLanguageList();
/// Call when the language changes.
void ReinstallTranslator();
void InstallTranslator();
/// Returns the application name and version, optionally including debug/devel config indicator.
QString GetAppNameAndVersion();