Unify the way to generate the language list in WebUI and GUI

PR #17994.
This commit is contained in:
brvphoenix 2022-12-25 21:44:37 +08:00 committed by GitHub
parent c5a4a0db2c
commit b33dc7d831
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 133 additions and 154 deletions

View file

@ -85,6 +85,8 @@ namespace Utils::Misc
QString userFriendlyDuration(qlonglong seconds, qlonglong maxCap = -1);
QString getUserIDString();
QString languageToLocalizedString(const QString &localeStr);
#ifdef Q_OS_WIN
Path windowsSystemPath();