Skip to content

Commit

Permalink
chore: update translate
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jan 11, 2023
1 parent 8ba5714 commit 7a98c16
Show file tree
Hide file tree
Showing 13 changed files with 191 additions and 84 deletions.
10 changes: 9 additions & 1 deletion frontend/src/language/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@ export const msg = [
$gettext('Writing certificate private key to disk'),
$gettext('Reloading nginx'),
$gettext('Finished'),
$gettext('Issued certificate successfully')
$gettext('Issued certificate successfully'),

$gettext('Initialing core upgrader'),
$gettext('Initial core upgrader error'),
$gettext('Downloading latest release'),
$gettext('Download latest release error'),
$gettext('Performing core upgrade'),
$gettext('Perform core upgrade error'),
$gettext('Upgraded successfully')
]
29 changes: 29 additions & 0 deletions frontend/src/language/en/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,14 @@ msgstr ""
msgid "Domain Config Created Successfully"
msgstr "Domain Config Created Successfully"

#: src/language/constants.ts:26
msgid "Download latest release error"
msgstr ""

#: src/language/constants.ts:25
msgid "Downloading latest release"
msgstr ""

#: src/views/domain/DomainEdit.vue:4 src/views/domain/DomainEdit.vue:5
msgid "Edit %{n}"
msgstr "Edit %{n}"
Expand Down Expand Up @@ -457,6 +465,14 @@ msgstr ""
msgid "HTTP Port"
msgstr ""

#: src/language/constants.ts:24
msgid "Initial core upgrader error"
msgstr ""

#: src/language/constants.ts:23
msgid "Initialing core upgrader"
msgstr ""

#: src/routes/index.ts:153 src/views/other/Install.vue:128
msgid "Install"
msgstr "Install"
Expand Down Expand Up @@ -672,6 +688,14 @@ msgstr "Password (*)"
msgid "Path"
msgstr "Path"

#: src/language/constants.ts:28
msgid "Perform core upgrade error"
msgstr ""

#: src/language/constants.ts:27
msgid "Performing core upgrade"
msgstr ""

#: src/views/other/Install.vue:36
msgid "Please input your E-mail!"
msgstr "Please input your E-mail!"
Expand Down Expand Up @@ -931,6 +955,11 @@ msgstr "Saved successfully"
msgid "Upgrade"
msgstr ""

#: src/language/constants.ts:29
#, fuzzy
msgid "Upgraded successfully"
msgstr "Saved successfully"

#: src/views/system/Upgrade.vue:63
msgid "Upgrading Nginx UI, please wait..."
msgstr ""
Expand Down
28 changes: 28 additions & 0 deletions frontend/src/language/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,14 @@ msgstr ""
msgid "Domain Config Created Successfully"
msgstr ""

#: src/language/constants.ts:26
msgid "Download latest release error"
msgstr ""

#: src/language/constants.ts:25
msgid "Downloading latest release"
msgstr ""

#: src/views/domain/DomainEdit.vue:4
#: src/views/domain/DomainEdit.vue:5
msgid "Edit %{n}"
Expand Down Expand Up @@ -480,6 +488,14 @@ msgstr ""
msgid "HTTP Port"
msgstr ""

#: src/language/constants.ts:24
msgid "Initial core upgrader error"
msgstr ""

#: src/language/constants.ts:23
msgid "Initialing core upgrader"
msgstr ""

#: src/routes/index.ts:153
#: src/views/other/Install.vue:128
msgid "Install"
Expand Down Expand Up @@ -699,6 +715,14 @@ msgstr ""
msgid "Path"
msgstr ""

#: src/language/constants.ts:28
msgid "Perform core upgrade error"
msgstr ""

#: src/language/constants.ts:27
msgid "Performing core upgrade"
msgstr ""

#: src/views/other/Install.vue:36
msgid "Please input your E-mail!"
msgstr ""
Expand Down Expand Up @@ -961,6 +985,10 @@ msgstr ""
msgid "Upgrade"
msgstr ""

#: src/language/constants.ts:29
msgid "Upgraded successfully"
msgstr ""

#: src/views/system/Upgrade.vue:63
msgid "Upgrading Nginx UI, please wait..."
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/language/translations.json

Large diffs are not rendered by default.

Binary file modified frontend/src/language/zh_CN/app.mo
Binary file not shown.
33 changes: 30 additions & 3 deletions frontend/src/language/zh_CN/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,8 @@ msgid "Content"
msgstr "内容"

#: src/views/system/Upgrade.vue:3
#, fuzzy
msgid "Core Upgrade"
msgstr "升级"
msgstr "核心升级"

#: src/views/dashboard/DashBoard.vue:64
msgid "CPU Status"
Expand Down Expand Up @@ -319,6 +318,14 @@ msgstr "域名"
msgid "Domain Config Created Successfully"
msgstr "域名配置文件创建成功"

#: src/language/constants.ts:26
msgid "Download latest release error"
msgstr "下载最新版本错误"

#: src/language/constants.ts:25
msgid "Downloading latest release"
msgstr "下载最新版本"

#: src/views/domain/DomainEdit.vue:4 src/views/domain/DomainEdit.vue:5
msgid "Edit %{n}"
msgstr "编辑 %{n}"
Expand Down Expand Up @@ -452,6 +459,14 @@ msgstr "HTTP Challenge 监听端口"
msgid "HTTP Port"
msgstr "HTTP 监听端口"

#: src/language/constants.ts:24
msgid "Initial core upgrader error"
msgstr "初始化核心升级程序错误"

#: src/language/constants.ts:23
msgid "Initialing core upgrader"
msgstr "初始化核心升级器"

#: src/routes/index.ts:153 src/views/other/Install.vue:128
msgid "Install"
msgstr "安装"
Expand Down Expand Up @@ -661,6 +676,14 @@ msgstr "密码 (*)"
msgid "Path"
msgstr "路径"

#: src/language/constants.ts:28
msgid "Perform core upgrade error"
msgstr "执行核心升级错误"

#: src/language/constants.ts:27
msgid "Performing core upgrade"
msgstr "正在进行核心升级"

#: src/views/other/Install.vue:36
msgid "Please input your E-mail!"
msgstr "请输入您的邮箱!"
Expand Down Expand Up @@ -904,9 +927,13 @@ msgstr "更新成功"
msgid "Upgrade"
msgstr "升级"

#: src/language/constants.ts:29
msgid "Upgraded successfully"
msgstr "升级成功"

#: src/views/system/Upgrade.vue:63
msgid "Upgrading Nginx UI, please wait..."
msgstr ""
msgstr "正在升级Nginx UI,请等待..."

#: src/views/dashboard/DashBoard.vue:137
msgid "Uptime:"
Expand Down
Binary file modified frontend/src/language/zh_TW/app.mo
Binary file not shown.
Loading

0 comments on commit 7a98c16

Please sign in to comment.