Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
463ddea3
Commit
463ddea3
authored
Dec 19, 2025
by
shaw
Browse files
fix(frontend): 修复代理快捷添加弹窗的 i18n 解析错误
batchInputHint 中的 @ 符号需要使用 {'@'} 转义
parent
e769f676
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/i18n/locales/en.ts
View file @
463ddea3
...
...
@@ -818,7 +818,7 @@ export default {
batchAdd
:
'
Quick Add
'
,
batchInput
:
'
Proxy List
'
,
batchInputPlaceholder
:
"
Enter one proxy per line in the following formats:
\n
socks5://user:pass{'@'}192.168.1.1:1080
\n
http://192.168.1.1:8080
\n
https://user:pass{'@'}proxy.example.com:443
"
,
batchInputHint
:
'
Supports http, https, socks5 protocols. Format: protocol://[user:pass
@
]host:port
'
,
batchInputHint
:
"
Supports http, https, socks5 protocols. Format: protocol://[user:pass
{'@'}
]host:port
"
,
parsedCount
:
'
{count} valid
'
,
invalidCount
:
'
{count} invalid
'
,
duplicateCount
:
'
{count} duplicate
'
,
...
...
frontend/src/i18n/locales/zh.ts
View file @
463ddea3
...
...
@@ -943,7 +943,7 @@ export default {
batchAdd
:
'
快捷添加
'
,
batchInput
:
'
代理列表
'
,
batchInputPlaceholder
:
"
每行输入一个代理,支持以下格式:
\n
socks5://user:pass{'@'}192.168.1.1:1080
\n
http://192.168.1.1:8080
\n
https://user:pass{'@'}proxy.example.com:443
"
,
batchInputHint
:
'
支持 http、https、socks5 协议,格式:协议://[用户名:密码
@
]主机:端口
'
,
batchInputHint
:
"
支持 http、https、socks5 协议,格式:协议://[用户名:密码
{'@'}
]主机:端口
"
,
parsedCount
:
'
有效 {count} 个
'
,
invalidCount
:
'
无效 {count} 个
'
,
duplicateCount
:
'
重复 {count} 个
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment