Browse Source

Merge pull request #17978 from sledgehammer999/fix_chinese_locale

Fine tune translations loading for Chinese locales
adaptive-webui-19844
sledgehammer999 2 years ago committed by GitHub
parent
commit
22fb9797c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .tx/config
  2. 2
      src/lang/lang.qrc
  3. 0
      src/lang/qbittorrent_zh_CN.ts
  4. 2
      src/webui/www/translations/webui_translations.qrc
  5. 0
      src/webui/www/translations/webui_zh_CN.ts

4
.tx/config

@ -3,7 +3,7 @@ host = https://www.transifex.com
[qbittorrent.qbittorrent_master] [qbittorrent.qbittorrent_master]
file_filter = src/lang/qbittorrent_<lang>.ts 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_file = src/lang/qbittorrent_en.ts
source_lang = en source_lang = en
type = QT type = QT
@ -19,7 +19,7 @@ mode = developer
[qbittorrent.qbittorrent_webui] [qbittorrent.qbittorrent_webui]
file_filter = src/webui/www/translations/webui_<lang>.ts 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_file = src/webui/www/translations/webui_en.ts
source_lang = en source_lang = en
type = QT type = QT

2
src/lang/lang.qrc

@ -53,7 +53,7 @@
<file>qbittorrent_uk.qm</file> <file>qbittorrent_uk.qm</file>
<file>qbittorrent_uz@Latn.qm</file> <file>qbittorrent_uz@Latn.qm</file>
<file>qbittorrent_vi.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_HK.qm</file>
<file>qbittorrent_zh_TW.qm</file> <file>qbittorrent_zh_TW.qm</file>
</qresource> </qresource>

0
src/lang/qbittorrent_zh.ts → src/lang/qbittorrent_zh_CN.ts

2
src/webui/www/translations/webui_translations.qrc

@ -53,7 +53,7 @@
<file>webui_uk.qm</file> <file>webui_uk.qm</file>
<file>webui_uz@Latn.qm</file> <file>webui_uz@Latn.qm</file>
<file>webui_vi.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_HK.qm</file>
<file>webui_zh_TW.qm</file> <file>webui_zh_TW.qm</file>
</qresource> </qresource>

0
src/webui/www/translations/webui_zh.ts → src/webui/www/translations/webui_zh_CN.ts

Loading…
Cancel
Save