Skip to content

Commit

Permalink
fix translation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Feb 24, 2022
1 parent 42417e8 commit e6344a6
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 91 deletions.
40 changes: 17 additions & 23 deletions frontend/src/locale/en/LC_MESSAGES/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ msgstr ""
"Generated-By: easygettext\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: src/views/other/Install.vue:50
msgid "<translate>Install</translate>"
msgstr ""

#: src/router/index.js:99
msgid "404 Not Found"
msgstr ""
Expand All @@ -28,7 +24,6 @@ msgid "Action"
msgstr ""

#: src/router/index.js:47 src/views/domain/DomainAdd.vue:18
#: src/views/domain/DomainEdit.vue:46
msgid "Add Site"
msgstr ""

Expand All @@ -49,7 +44,7 @@ msgstr ""
msgid "Build with"
msgstr ""

#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:23
#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:24
msgid "Cancel"
msgstr ""

Expand Down Expand Up @@ -97,7 +92,7 @@ msgstr ""
msgid "Dashboard"
msgstr ""

#: src/views/other/Install.vue:106
#: src/views/other/Install.vue:105
msgid "Database (Optional, default: database)"
msgstr ""

Expand Down Expand Up @@ -130,23 +125,23 @@ msgstr ""
msgid "Do you want to change the template to support the TLS?"
msgstr ""

#: src/views/domain/DomainEdit.vue:46
#: src/views/domain/DomainEdit.vue:38
msgid "Edit %{n}"
msgstr ""

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

#: src/views/domain/DomainEdit.vue:92
#: src/views/domain/DomainEdit.vue:87
msgid "Edit Configuration File"
msgstr ""

#: src/router/index.js:51
msgid "Edit Site"
msgstr ""

#: src/views/other/Install.vue:32
#: src/views/other/Install.vue:31
msgid "Email (*)"
msgstr ""

Expand Down Expand Up @@ -187,7 +182,7 @@ msgstr ""
msgid "File Not Found"
msgstr ""

#: src/views/domain/DomainEdit.vue:9 src/views/domain/DomainEdit.vue:3
#: src/views/domain/DomainEdit.vue:10 src/views/domain/DomainEdit.vue:4
msgid "Getting Certificate from Let's Encrypt"
msgstr ""

Expand Down Expand Up @@ -219,7 +214,7 @@ msgstr ""
msgid "Intermediate Certification Authorities: %{issuer}"
msgstr ""

#: src/views/other/Install.vue:47
#: src/views/other/Install.vue:46
msgid "Invalid E-mail!"
msgstr ""

Expand Down Expand Up @@ -248,11 +243,10 @@ msgstr ""
msgid "Logout successful"
msgstr ""

#: src/views/domain/DomainEdit.vue:12 src/views/domain/DomainEdit.vue:6
#: src/views/domain/DomainEdit.vue:13 src/views/domain/DomainEdit.vue:7
msgid ""
"Make sure you have configured a reverse proxy for <code>.well-known</code> "
"directory to <code>HTTPChallengePort</code> (default: 9180) before getting "
"the certificate."
"Make sure you have configured a reverse proxy for .well-known directory to "
"HTTPChallengePort (default: 9180) before getting the certificate."
msgstr ""

#: src/router/index.js:60
Expand Down Expand Up @@ -313,19 +307,19 @@ msgstr ""
msgid "Password"
msgstr ""

#: src/views/other/Install.vue:84
#: src/views/other/Install.vue:83
msgid "Password (*)"
msgstr ""

#: src/views/other/Install.vue:51
#: src/views/other/Install.vue:50
msgid "Please input your E-mail!"
msgstr ""

#: src/views/other/Install.vue:97 src/views/other/Login.vue:69
#: src/views/other/Install.vue:96 src/views/other/Login.vue:69
msgid "Please input your password!"
msgstr ""

#: src/views/other/Install.vue:74 src/views/other/Login.vue:46
#: src/views/other/Install.vue:73 src/views/other/Login.vue:46
msgid "Please input your username!"
msgstr ""

Expand All @@ -350,7 +344,7 @@ msgid "Root Directory (root)"
msgstr ""

#: src/views/config/ConfigEdit.vue:6 src/views/domain/DomainAdd.vue:6
#: src/views/domain/DomainEdit.vue:24
#: src/views/domain/DomainEdit.vue:25
msgid "Save"
msgstr ""

Expand Down Expand Up @@ -413,7 +407,7 @@ msgid ""
"from Let's Encrypt\" first."
msgstr ""

#: src/views/other/Install.vue:121
#: src/views/other/Install.vue:120
msgid "The filename cannot contain the following characters: %{c}"
msgstr ""

Expand Down Expand Up @@ -441,7 +435,7 @@ msgstr ""
msgid "Username"
msgstr ""

#: src/views/other/Install.vue:61
#: src/views/other/Install.vue:60
msgid "Username (*)"
msgstr ""

Expand Down
Binary file modified frontend/src/locale/zh_CN/LC_MESSAGES/app.mo
Binary file not shown.
44 changes: 19 additions & 25 deletions frontend/src/locale/zh_CN/LC_MESSAGES/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ msgstr ""
"Generated-By: easygettext\n"
"X-Generator: Poedit 3.0.1\n"

#: src/views/other/Install.vue:50
msgid "<translate>Install</translate>"
msgstr ""

#: src/router/index.js:99
msgid "404 Not Found"
msgstr "404 未找到页面"
Expand All @@ -30,7 +26,6 @@ msgid "Action"
msgstr "操作"

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

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

#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:23
#: src/views/config/ConfigEdit.vue:5 src/views/domain/DomainEdit.vue:24
msgid "Cancel"
msgstr "取消"

Expand Down Expand Up @@ -99,7 +94,7 @@ msgstr "创建时间"
msgid "Dashboard"
msgstr "仪表盘"

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

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

#: src/views/domain/DomainEdit.vue:46
#: src/views/domain/DomainEdit.vue:38
msgid "Edit %{n}"
msgstr "编辑 %{n}"

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

#: src/views/domain/DomainEdit.vue:92
#: src/views/domain/DomainEdit.vue:87
msgid "Edit Configuration File"
msgstr "编辑配置文件"

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

#: src/views/other/Install.vue:32
#: src/views/other/Install.vue:31
msgid "Email (*)"
msgstr "邮箱 (*)"

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

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

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

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

Expand Down Expand Up @@ -250,14 +245,13 @@ msgstr "登录成功"
msgid "Logout successful"
msgstr "登出成功"

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

#: src/router/index.js:60
msgid "Manage Configs"
Expand Down Expand Up @@ -317,19 +311,19 @@ msgstr ""
msgid "Password"
msgstr "密码"

#: src/views/other/Install.vue:84
#: src/views/other/Install.vue:83
msgid "Password (*)"
msgstr "密码 (*)"

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

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

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

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

#: src/views/config/ConfigEdit.vue:6 src/views/domain/DomainAdd.vue:6
#: src/views/domain/DomainEdit.vue:24
#: src/views/domain/DomainEdit.vue:25
msgid "Save"
msgstr "保存"

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

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

Expand Down Expand Up @@ -449,7 +443,7 @@ msgstr "运行时间:"
msgid "Username"
msgstr "用户名"

#: src/views/other/Install.vue:61
#: src/views/other/Install.vue:60
msgid "Username (*)"
msgstr "用户名 (*)"

Expand Down
Loading

0 comments on commit e6344a6

Please sign in to comment.