mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Unify translation files loading action
Since it is possible alternative WebUI could be coded in languages other than English, WebUI must be able to load user-provided webui_en.qm. At least one translated string must exist in order to generate an usable .qm file.
This commit is contained in:
parent
9491d40f22
commit
e98d4e874f
3 changed files with 14 additions and 16 deletions
|
@ -146,6 +146,7 @@ private:
|
|||
QMap<QString, TranslatedFile> m_translatedFiles;
|
||||
QString m_currentLocale;
|
||||
QTranslator m_translator;
|
||||
bool m_translationFileLoaded = false;
|
||||
|
||||
bool m_isLocalAuthEnabled;
|
||||
bool m_isAuthSubnetWhitelistEnabled;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue