Skip to content

Commit e6344a6

Browse files
committed
fix translation issues
1 parent 42417e8 commit e6344a6

File tree

8 files changed

+80
-91
lines changed

8 files changed

+80
-91
lines changed

frontend/src/locale/en/LC_MESSAGES/app.po

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ msgstr ""
1010
"Generated-By: easygettext\n"
1111
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1212

13-
#: src/views/other/Install.vue:50
14-
msgid "<translate>Install</translate>"
15-
msgstr ""
16-
1713
#: src/router/index.js:99
1814
msgid "404 Not Found"
1915
msgstr ""
@@ -28,7 +24,6 @@ msgid "Action"
2824
msgstr ""
2925

3026
#: src/router/index.js:47 src/views/domain/DomainAdd.vue:18
31-
#: src/views/domain/DomainEdit.vue:46
3227
msgid "Add Site"
3328
msgstr ""
3429

@@ -49,7 +44,7 @@ msgstr ""
4944
msgid "Build with"
5045
msgstr ""
5146

52-
#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:23
47+
#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:24
5348
msgid "Cancel"
5449
msgstr ""
5550

@@ -97,7 +92,7 @@ msgstr ""
9792
msgid "Dashboard"
9893
msgstr ""
9994

100-
#: src/views/other/Install.vue:106
95+
#: src/views/other/Install.vue:105
10196
msgid "Database (Optional, default: database)"
10297
msgstr ""
10398

@@ -130,23 +125,23 @@ msgstr ""
130125
msgid "Do you want to change the template to support the TLS?"
131126
msgstr ""
132127

133-
#: src/views/domain/DomainEdit.vue:46
128+
#: src/views/domain/DomainEdit.vue:38
134129
msgid "Edit %{n}"
135130
msgstr ""
136131

137132
#: src/router/index.js:69 src/views/config/ConfigEdit.vue:15
138133
msgid "Edit Configuration"
139134
msgstr ""
140135

141-
#: src/views/domain/DomainEdit.vue:92
136+
#: src/views/domain/DomainEdit.vue:87
142137
msgid "Edit Configuration File"
143138
msgstr ""
144139

145140
#: src/router/index.js:51
146141
msgid "Edit Site"
147142
msgstr ""
148143

149-
#: src/views/other/Install.vue:32
144+
#: src/views/other/Install.vue:31
150145
msgid "Email (*)"
151146
msgstr ""
152147

@@ -187,7 +182,7 @@ msgstr ""
187182
msgid "File Not Found"
188183
msgstr ""
189184

190-
#: src/views/domain/DomainEdit.vue:9 src/views/domain/DomainEdit.vue:3
185+
#: src/views/domain/DomainEdit.vue:10 src/views/domain/DomainEdit.vue:4
191186
msgid "Getting Certificate from Let's Encrypt"
192187
msgstr ""
193188

@@ -219,7 +214,7 @@ msgstr ""
219214
msgid "Intermediate Certification Authorities: %{issuer}"
220215
msgstr ""
221216

222-
#: src/views/other/Install.vue:47
217+
#: src/views/other/Install.vue:46
223218
msgid "Invalid E-mail!"
224219
msgstr ""
225220

@@ -248,11 +243,10 @@ msgstr ""
248243
msgid "Logout successful"
249244
msgstr ""
250245

251-
#: src/views/domain/DomainEdit.vue:12 src/views/domain/DomainEdit.vue:6
246+
#: src/views/domain/DomainEdit.vue:13 src/views/domain/DomainEdit.vue:7
252247
msgid ""
253-
"Make sure you have configured a reverse proxy for <code>.well-known</code> "
254-
"directory to <code>HTTPChallengePort</code> (default: 9180) before getting "
255-
"the certificate."
248+
"Make sure you have configured a reverse proxy for .well-known directory to "
249+
"HTTPChallengePort (default: 9180) before getting the certificate."
256250
msgstr ""
257251

258252
#: src/router/index.js:60
@@ -313,19 +307,19 @@ msgstr ""
313307
msgid "Password"
314308
msgstr ""
315309

316-
#: src/views/other/Install.vue:84
310+
#: src/views/other/Install.vue:83
317311
msgid "Password (*)"
318312
msgstr ""
319313

320-
#: src/views/other/Install.vue:51
314+
#: src/views/other/Install.vue:50
321315
msgid "Please input your E-mail!"
322316
msgstr ""
323317

324-
#: src/views/other/Install.vue:97 src/views/other/Login.vue:69
318+
#: src/views/other/Install.vue:96 src/views/other/Login.vue:69
325319
msgid "Please input your password!"
326320
msgstr ""
327321

328-
#: src/views/other/Install.vue:74 src/views/other/Login.vue:46
322+
#: src/views/other/Install.vue:73 src/views/other/Login.vue:46
329323
msgid "Please input your username!"
330324
msgstr ""
331325

@@ -350,7 +344,7 @@ msgid "Root Directory (root)"
350344
msgstr ""
351345

352346
#: src/views/config/ConfigEdit.vue:6 src/views/domain/DomainAdd.vue:6
353-
#: src/views/domain/DomainEdit.vue:24
347+
#: src/views/domain/DomainEdit.vue:25
354348
msgid "Save"
355349
msgstr ""
356350

@@ -413,7 +407,7 @@ msgid ""
413407
"from Let's Encrypt\" first."
414408
msgstr ""
415409

416-
#: src/views/other/Install.vue:121
410+
#: src/views/other/Install.vue:120
417411
msgid "The filename cannot contain the following characters: %{c}"
418412
msgstr ""
419413

@@ -441,7 +435,7 @@ msgstr ""
441435
msgid "Username"
442436
msgstr ""
443437

444-
#: src/views/other/Install.vue:61
438+
#: src/views/other/Install.vue:60
445439
msgid "Username (*)"
446440
msgstr ""
447441

-51 Bytes
Binary file not shown.

frontend/src/locale/zh_CN/LC_MESSAGES/app.po

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ msgstr ""
1212
"Generated-By: easygettext\n"
1313
"X-Generator: Poedit 3.0.1\n"
1414

15-
#: src/views/other/Install.vue:50
16-
msgid "<translate>Install</translate>"
17-
msgstr ""
18-
1915
#: src/router/index.js:99
2016
msgid "404 Not Found"
2117
msgstr "404 未找到页面"
@@ -30,7 +26,6 @@ msgid "Action"
3026
msgstr "操作"
3127

3228
#: src/router/index.js:47 src/views/domain/DomainAdd.vue:18
33-
#: src/views/domain/DomainEdit.vue:46
3429
msgid "Add Site"
3530
msgstr "添加站点"
3631

@@ -51,7 +46,7 @@ msgstr "成功启用 %{name} 自动续签"
5146
msgid "Build with"
5247
msgstr "构建基于"
5348

54-
#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:23
49+
#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:24
5550
msgid "Cancel"
5651
msgstr "取消"
5752

@@ -99,7 +94,7 @@ msgstr "创建时间"
9994
msgid "Dashboard"
10095
msgstr "仪表盘"
10196

102-
#: src/views/other/Install.vue:106
97+
#: src/views/other/Install.vue:105
10398
msgid "Database (Optional, default: database)"
10499
msgstr "数据库 (可选,默认: database)"
105100

@@ -132,23 +127,23 @@ msgstr "磁盘 IO"
132127
msgid "Do you want to change the template to support the TLS?"
133128
msgstr "你想要改变模板以支持 TLS 吗?"
134129

135-
#: src/views/domain/DomainEdit.vue:46
130+
#: src/views/domain/DomainEdit.vue:38
136131
msgid "Edit %{n}"
137132
msgstr "编辑 %{n}"
138133

139134
#: src/router/index.js:69 src/views/config/ConfigEdit.vue:15
140135
msgid "Edit Configuration"
141136
msgstr "编辑配置"
142137

143-
#: src/views/domain/DomainEdit.vue:92
138+
#: src/views/domain/DomainEdit.vue:87
144139
msgid "Edit Configuration File"
145140
msgstr "编辑配置文件"
146141

147142
#: src/router/index.js:51
148143
msgid "Edit Site"
149144
msgstr "编辑站点"
150145

151-
#: src/views/other/Install.vue:32
146+
#: src/views/other/Install.vue:31
152147
msgid "Email (*)"
153148
msgstr "邮箱 (*)"
154149

@@ -189,7 +184,7 @@ msgstr "启用失败 %{msg}"
189184
msgid "File Not Found"
190185
msgstr "未找到文件"
191186

192-
#: src/views/domain/DomainEdit.vue:9 src/views/domain/DomainEdit.vue:3
187+
#: src/views/domain/DomainEdit.vue:10 src/views/domain/DomainEdit.vue:4
193188
msgid "Getting Certificate from Let's Encrypt"
194189
msgstr "从 Let's Encrypt 获取证书"
195190

@@ -221,7 +216,7 @@ msgstr "安装"
221216
msgid "Intermediate Certification Authorities: %{issuer}"
222217
msgstr "中级证书颁发机构: %{issuer}"
223218

224-
#: src/views/other/Install.vue:47
219+
#: src/views/other/Install.vue:46
225220
msgid "Invalid E-mail!"
226221
msgstr "无效的邮箱!"
227222

@@ -250,14 +245,13 @@ msgstr "登录成功"
250245
msgid "Logout successful"
251246
msgstr "登出成功"
252247

253-
#: src/views/domain/DomainEdit.vue:12 src/views/domain/DomainEdit.vue:6
248+
#: src/views/domain/DomainEdit.vue:13 src/views/domain/DomainEdit.vue:7
254249
msgid ""
255-
"Make sure you have configured a reverse proxy for <code>.well-known</code> "
256-
"directory to <code>HTTPChallengePort</code> (default: 9180) before getting "
257-
"the certificate."
250+
"Make sure you have configured a reverse proxy for .well-known directory to "
251+
"HTTPChallengePort (default: 9180) before getting the certificate."
258252
msgstr ""
259-
"在获取签发证书前,请确保配置文件中已将 <code>.well-known</code> 目录反向代"
260-
"理到<code>HTTPChallengePort</code> (默认: 9180)"
253+
"在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 "
254+
"HTTPChallengePort (默认: 9180)"
261255

262256
#: src/router/index.js:60
263257
msgid "Manage Configs"
@@ -317,19 +311,19 @@ msgstr ""
317311
msgid "Password"
318312
msgstr "密码"
319313

320-
#: src/views/other/Install.vue:84
314+
#: src/views/other/Install.vue:83
321315
msgid "Password (*)"
322316
msgstr "密码 (*)"
323317

324-
#: src/views/other/Install.vue:51
318+
#: src/views/other/Install.vue:50
325319
msgid "Please input your E-mail!"
326320
msgstr "请输入您的邮箱!"
327321

328-
#: src/views/other/Install.vue:97 src/views/other/Login.vue:69
322+
#: src/views/other/Install.vue:96 src/views/other/Login.vue:69
329323
msgid "Please input your password!"
330324
msgstr "请输入您的密码!"
331325

332-
#: src/views/other/Install.vue:74 src/views/other/Login.vue:46
326+
#: src/views/other/Install.vue:73 src/views/other/Login.vue:46
333327
msgid "Please input your username!"
334328
msgstr "请输入您的用户名!"
335329

@@ -354,7 +348,7 @@ msgid "Root Directory (root)"
354348
msgstr "网站根目录 (root)"
355349

356350
#: src/views/config/ConfigEdit.vue:6 src/views/domain/DomainAdd.vue:6
357-
#: src/views/domain/DomainEdit.vue:24
351+
#: src/views/domain/DomainEdit.vue:25
358352
msgid "Save"
359353
msgstr "保存"
360354

@@ -419,7 +413,7 @@ msgstr ""
419413
"系统将会每小时检测一次该域名证书,若距离上次签发已超过1个月,则将自动续签。"
420414
"<br/>如果您之前没有证书,请先点击 \"从 Let's Encrypt 获取证书\"。"
421415

422-
#: src/views/other/Install.vue:121
416+
#: src/views/other/Install.vue:120
423417
msgid "The filename cannot contain the following characters: %{c}"
424418
msgstr "文件名不能包含以下字符: %{c}"
425419

@@ -449,7 +443,7 @@ msgstr "运行时间:"
449443
msgid "Username"
450444
msgstr "用户名"
451445

452-
#: src/views/other/Install.vue:61
446+
#: src/views/other/Install.vue:60
453447
msgid "Username (*)"
454448
msgstr "用户名 (*)"
455449

0 commit comments

Comments
 (0)