mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Fix selection of Portuguese translation files.
Qt returns "Brazil" as country of QLocale("pt") instead of "Portugal". This conflicts with QLocale("pt_BR"). Rename the pt.ts to pt_PT and put a language mapping in tx's config for that locale. Closes #4776.
This commit is contained in:
parent
3067f82aea
commit
0da4bfa0cf
4 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
<file>lang/qbittorrent_nb.qm</file>
|
||||
<file>lang/qbittorrent_nl.qm</file>
|
||||
<file>lang/qbittorrent_pl.qm</file>
|
||||
<file>lang/qbittorrent_pt.qm</file>
|
||||
<file>lang/qbittorrent_pt_PT.qm</file>
|
||||
<file>lang/qbittorrent_pt_BR.qm</file>
|
||||
<file>lang/qbittorrent_ro.qm</file>
|
||||
<file>lang/qbittorrent_ru.qm</file>
|
||||
|
|
|
@ -98,7 +98,7 @@ TRANSLATIONS = \
|
|||
$$LANG_PATH/qbittorrent_sk.ts \
|
||||
$$LANG_PATH/qbittorrent_sl.ts \
|
||||
$$LANG_PATH/qbittorrent_ro.ts \
|
||||
$$LANG_PATH/qbittorrent_pt.ts \
|
||||
$$LANG_PATH/qbittorrent_pt_PT.ts \
|
||||
$$LANG_PATH/qbittorrent_nb.ts \
|
||||
$$LANG_PATH/qbittorrent_fi.ts \
|
||||
$$LANG_PATH/qbittorrent_da.ts \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue