diff --git a/.tx/config b/.tx/config index 2b8d3296e..28fa38bf9 100644 --- a/.tx/config +++ b/.tx/config @@ -3,7 +3,7 @@ host = https://www.transifex.com [qbittorrent.qbittorrent_master] file_filter = src/lang/qbittorrent_.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_.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 diff --git a/src/lang/lang.qrc b/src/lang/lang.qrc index 2657f5374..62908ac87 100644 --- a/src/lang/lang.qrc +++ b/src/lang/lang.qrc @@ -53,7 +53,7 @@ qbittorrent_uk.qm qbittorrent_uz@Latn.qm qbittorrent_vi.qm - qbittorrent_zh.qm + qbittorrent_zh_CN.qm qbittorrent_zh_HK.qm qbittorrent_zh_TW.qm diff --git a/src/lang/qbittorrent_zh.ts b/src/lang/qbittorrent_zh_CN.ts similarity index 100% rename from src/lang/qbittorrent_zh.ts rename to src/lang/qbittorrent_zh_CN.ts diff --git a/src/webui/www/translations/webui_translations.qrc b/src/webui/www/translations/webui_translations.qrc index c4287cc02..cbb6a9a19 100644 --- a/src/webui/www/translations/webui_translations.qrc +++ b/src/webui/www/translations/webui_translations.qrc @@ -53,7 +53,7 @@ webui_uk.qm webui_uz@Latn.qm webui_vi.qm - webui_zh.qm + webui_zh_CN.qm webui_zh_HK.qm webui_zh_TW.qm diff --git a/src/webui/www/translations/webui_zh.ts b/src/webui/www/translations/webui_zh_CN.ts similarity index 100% rename from src/webui/www/translations/webui_zh.ts rename to src/webui/www/translations/webui_zh_CN.ts