github BoyceLig/Clash_Chinese_Patch 0.18.1
Clash for Windows v0.18.1汉化补丁

latest releases: 0.20.39, 0.20.38, 0.20.37...
3 years ago

解压压缩包后,请自行替换下列路径中的app.asar文件

Clash for Windows\resources\app.asar

#28 翻译补充

增加字段

#v0.18.0-0.18.1
"missing file"="文件丢失"
"\n          "+e._s(t.payload)="名称\n          "+e._s(t.payload)
"\n          "+e._s(t.type)="类型\n          "+e._s(t.type)
"\n            "+e._s(e.providerOfPayload(t.payload).vehicleType)="规则来源:\n            "+e._s(e.providerOfPayload(t.payload).vehicleType)
"\n            "+e._s(e.providerOfPayload(t.payload).behavior)="  行为类型:\n            "+e._s(e.providerOfPayload(t.payload).behavior)
future: '%s后'=future: '%s前'
#v0.18.0-0.18.1-end

汉化工具修改:
02 汉化.bat 文件99行后增加字段

cls
"%~dp0StringsReplace.exe" "%~dp0英汉对照.txt" %cfwpath%resources\app\node_modules\moment\dist\locale\zh-cn.js"
cls
"%~dp0StringsReplace.exe" "%~dp0英汉对照.txt" %cfwpath%resources\app\node_modules\moment\locale\zh-cn.js"
cls
"%~dp0StringsReplace.exe" "%~dp0英汉对照.txt" %cfwpath%resources\app\node_modules\moment\src\locale\zh-cn.js"

#时间后面添加字符

t.join(" ")},fromNow:function(e){return l()(e).locale('zh-cn').fromNow()}=t.join(" ")},fromNow:function(e){return l()(e).locale('zh-cn').fromNow()+"建立连接"}
R.statSync(L.join(this.profilesPath,e)).mtime;return l()(t).locale('zh-cn').from(this.now)}=R.statSync(L.join(this.profilesPath,e)).mtime;return l()(t).locale('zh-cn').from(this.now)+"更新"}
(["clashAxiosClient"])),methods:{fromNowString:function(e){return l()(e).locale('zh-cn').fromNow()}=(["clashAxiosClient"])),methods:{fromNowString:function(e){return l()(e).locale('zh-cn').fromNow()+"更新"}

image
image
image

相关推荐:

白塔加速

TG群组一键直达

七折优惠码:BoyceClash

一个月最低7元,一年最低只要69, 轻松跑满宽带。

Don't miss a new Clash_Chinese_Patch release

NewReleases is sending notifications on new releases.