Merge pull request #17978 from sledgehammer999/fix_chinese_locale

Fine tune translations loading for Chinese locales
This commit is contained in:
sledgehammer999 2022-11-08 02:41:34 +02:00 committed by GitHub
commit 22fb9797c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>