Fine tune translations loading for Chinese locales

Closes #17506
This commit is contained in:
sledgehammer999 2022-11-05 01:33:17 +02:00
parent 617dedc464
commit 06c4c58613
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
5 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ host = https://www.transifex.com
[qbittorrent.qbittorrent_master]
file_filter = src/lang/qbittorrent_<lang>.ts
lang_map = pt: pt_PT
lang_map = pt: pt_PT, zh: zh_CN
source_file = src/lang/qbittorrent_en.ts
source_lang = en
type = QT
@ -19,7 +19,7 @@ mode = developer
[qbittorrent.qbittorrent_webui]
file_filter = src/webui/www/translations/webui_<lang>.ts
lang_map = pt: pt_PT
lang_map = pt: pt_PT, zh: zh_CN
source_file = src/webui/www/translations/webui_en.ts
source_lang = en
type = QT

View file

@ -53,7 +53,7 @@
<file>qbittorrent_uk.qm</file>
<file>qbittorrent_uz@Latn.qm</file>
<file>qbittorrent_vi.qm</file>
<file>qbittorrent_zh.qm</file>
<file>qbittorrent_zh_CN.qm</file>
<file>qbittorrent_zh_HK.qm</file>
<file>qbittorrent_zh_TW.qm</file>
</qresource>

View file

@ -53,7 +53,7 @@
<file>webui_uk.qm</file>
<file>webui_uz@Latn.qm</file>
<file>webui_vi.qm</file>
<file>webui_zh.qm</file>
<file>webui_zh_CN.qm</file>
<file>webui_zh_HK.qm</file>
<file>webui_zh_TW.qm</file>
</qresource>