fix: chinese translation
This commit is contained in:
5
.github/sync_translate.sh
vendored
5
.github/sync_translate.sh
vendored
@@ -1,11 +1,12 @@
|
|||||||
key="FRu3eopQWgsvWmnycBXxv2eWpbUwGOu2"
|
key="FRu3eopQWgsvWmnycBXxv2eWpbUwGOu2"
|
||||||
wget -O ../assets/translations/strings.i18n.json "https://localise.biz/api/export/locale/en-US.json?index=id&format=i18next4&key=$key"
|
wget -O ../assets/translations/strings.i18n.json "https://localise.biz/api/export/locale/en-US.json?index=id&format=i18next4&key=$key"
|
||||||
wget -O ../assets/translations/strings_fa.i18n.json "https://localise.biz/api/export/locale/fa.json?index=id&format=i18next4&key=$key"
|
wget -O ../assets/translations/strings_fa.i18n.json "https://localise.biz/api/export/locale/fa.json?index=id&format=i18next4&key=$key"
|
||||||
wget -O assets/translations/strings_zh.i18n.json "https://localise.biz/api/export/locale/zh.json?index=id&format=i18next4&key=$key"
|
wget -O ../assets/translations/strings_zh.i18n.json "https://localise.biz/api/export/locale/zh.json?index=id&format=i18next4&key=$key"
|
||||||
# # wget -O assets/translations/strings_pt.i18n.json "https://localise.biz/api/export/locale/pt.json?index=id&format=i18next4&key=$key"
|
# # wget -O ../assets/translations/strings_pt.i18n.json "https://localise.biz/api/export/locale/pt.json?index=id&format=i18next4&key=$key"
|
||||||
wget -O ../assets/translations/strings_ru.i18n.json "https://localise.biz/api/export/locale/ru.json?index=id&format=i18next4&key=$key"
|
wget -O ../assets/translations/strings_ru.i18n.json "https://localise.biz/api/export/locale/ru.json?index=id&format=i18next4&key=$key"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pip install polib deep-translator python-i18n
|
pip install polib deep-translator python-i18n
|
||||||
|
|
||||||
# python3 auto_translator.py fa en
|
# python3 auto_translator.py fa en
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
"nonActiveProfileBtnSemanticLabel": "选择“${name}”作为活动配置文件。",
|
"nonActiveProfileBtnSemanticLabel": "选择“${name}”作为活动配置文件。",
|
||||||
"subscription": {
|
"subscription": {
|
||||||
"traffic": "交通",
|
"traffic": "交通",
|
||||||
"updatedTimeAgo": "更新${时间前}",
|
"updatedTimeAgo": "更新${timeago}",
|
||||||
"remainingDuration": "剩余 ${duration} 天",
|
"remainingDuration": "剩余 ${duration} 天",
|
||||||
"remainingTrafficSemanticLabel": "已消耗 ${consumed} 流量,共 ${total} 流量。",
|
"remainingTrafficSemanticLabel": "已消耗 ${consumed} 流量,共 ${total} 流量。",
|
||||||
"expired": "已到期",
|
"expired": "已到期",
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
"unexpected": "意外的错误",
|
"unexpected": "意外的错误",
|
||||||
"clash": {
|
"clash": {
|
||||||
"unexpected": "意外的错误",
|
"unexpected": "意外的错误",
|
||||||
"core": "冲突错误${原因}"
|
"core": "冲突错误${reason}"
|
||||||
},
|
},
|
||||||
"singbox": {
|
"singbox": {
|
||||||
"unexpected": "意外的服务错误",
|
"unexpected": "意外的服务错误",
|
||||||
|
|||||||
Reference in New Issue
Block a user