mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-05 20:51:25 -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
|
@ -3,6 +3,7 @@ host = https://www.transifex.com
|
|||
|
||||
[qbittorrent.qbittorrent_master]
|
||||
file_filter = src/lang/qbittorrent_<lang>.ts
|
||||
lang_map = pt: pt_PT
|
||||
source_file = src/lang/qbittorrent_en.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue