Skip to content

Commit

Permalink
Fix the prompt message when switching auto-renwal cert
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Mar 15, 2022
1 parent c4f7bb7 commit 8b60d61
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CGO_ENABLED=1 GOOS=linux CC=x86_64-unknown-linux-gnu-gcc CXX=x86_64-unknown-linux-gnu-g++ GOARCH=amd64 go build -o nginx-ui-server -v main.go
# CGO_ENABLED=1 GOOS=linux CC=x86_64-unknown-linux-gnu-gcc CXX=x86_64-unknown-linux-gnu-g++ GOARCH=amd64 go build -ldflags "-X 'github.com/0xJacky/Nginx-UI/server/settings.buildTime=$(date +%s)'" -o nginx-ui-server -v main.go
FROM --platform=linux/amd64 debian:buster
WORKDIR /app
COPY ./resources/demo/sources.list /etc/apt/sources.list
Expand Down
28 changes: 14 additions & 14 deletions frontend/src/locale/en/LC_MESSAGES/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ msgstr ""
msgid "Configurations"
msgstr ""

#: src/views/dashboard/DashBoard.vue:204
#: src/views/dashboard/DashBoard.vue:207
msgid "CPU Status"
msgstr ""

Expand Down Expand Up @@ -117,7 +117,7 @@ msgstr ""
msgid "Disabled successfully"
msgstr ""

#: src/views/dashboard/DashBoard.vue:282
#: src/views/dashboard/DashBoard.vue:285
msgid "Disk IO"
msgstr ""

Expand Down Expand Up @@ -231,7 +231,7 @@ msgstr ""
msgid "Load Averages:"
msgstr ""

#: src/router/index.js:93 src/views/other/Login.vue:24
#: src/router/index.js:93 src/views/other/Login.vue:25
msgid "Login"
msgstr ""

Expand Down Expand Up @@ -261,23 +261,23 @@ msgstr ""
msgid "Manage Users"
msgstr ""

#: src/views/dashboard/DashBoard.vue:100
#: src/views/dashboard/DashBoard.vue:103
msgid "Memory"
msgstr ""

#: src/views/config/Config.vue:5 src/views/domain/DomainList.vue:5
msgid "Name"
msgstr ""

#: src/views/dashboard/DashBoard.vue:231
#: src/views/dashboard/DashBoard.vue:234
msgid "Network"
msgstr ""

#: src/views/dashboard/DashBoard.vue:165
#: src/views/dashboard/DashBoard.vue:168
msgid "Network Total Receive"
msgstr ""

#: src/views/dashboard/DashBoard.vue:174
#: src/views/dashboard/DashBoard.vue:177
msgid "Network Total Send"
msgstr ""

Expand Down Expand Up @@ -331,11 +331,11 @@ msgstr ""
msgid "Project Team"
msgstr ""

#: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:305
#: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:308
msgid "Reads"
msgstr ""

#: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:240
#: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:243
msgid "Receive"
msgstr ""

Expand All @@ -358,7 +358,7 @@ msgstr ""
msgid "Saved successfully"
msgstr ""

#: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:254
#: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:257
msgid "Send"
msgstr ""

Expand All @@ -367,7 +367,7 @@ msgstr ""
msgid "Server error"
msgstr ""

#: src/views/dashboard/DashBoard.vue:37
#: src/views/dashboard/DashBoard.vue:38
msgid "Server Info"
msgstr ""

Expand All @@ -383,15 +383,15 @@ msgstr ""
msgid "Status"
msgstr ""

#: src/views/dashboard/DashBoard.vue:132
#: src/views/dashboard/DashBoard.vue:135
msgid "Storage"
msgstr ""

#: src/views/domain/CertInfo.vue:4
msgid "Subject Name: %{name}"
msgstr ""

#: src/views/dashboard/DashBoard.vue:116
#: src/views/dashboard/DashBoard.vue:119
msgid "Swap"
msgstr ""

Expand Down Expand Up @@ -443,6 +443,6 @@ msgstr ""
msgid "Username (*)"
msgstr ""

#: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:291
#: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:294
msgid "Writes"
msgstr ""
32 changes: 16 additions & 16 deletions frontend/src/locale/zh_CN/LC_MESSAGES/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ msgstr "配置名称"
msgid "Configurations"
msgstr "配置"

#: src/views/dashboard/DashBoard.vue:204
#: src/views/dashboard/DashBoard.vue:207
msgid "CPU Status"
msgstr "CPU 状态"

Expand Down Expand Up @@ -119,7 +119,7 @@ msgstr "禁用"
msgid "Disabled successfully"
msgstr "禁用成功"

#: src/views/dashboard/DashBoard.vue:282
#: src/views/dashboard/DashBoard.vue:285
msgid "Disk IO"
msgstr "磁盘 IO"

Expand Down Expand Up @@ -233,7 +233,7 @@ msgstr "开源许可"
msgid "Load Averages:"
msgstr "系统负载:"

#: src/router/index.js:93 src/views/other/Login.vue:24
#: src/router/index.js:93 src/views/other/Login.vue:25
msgid "Login"
msgstr "登录"

Expand Down Expand Up @@ -265,23 +265,23 @@ msgstr "网站管理"
msgid "Manage Users"
msgstr "用户管理"

#: src/views/dashboard/DashBoard.vue:100
#: src/views/dashboard/DashBoard.vue:103
msgid "Memory"
msgstr "内存"

#: src/views/config/Config.vue:5 src/views/domain/DomainList.vue:5
msgid "Name"
msgstr "名称"

#: src/views/dashboard/DashBoard.vue:231
#: src/views/dashboard/DashBoard.vue:234
msgid "Network"
msgstr "网络"

#: src/views/dashboard/DashBoard.vue:165
#: src/views/dashboard/DashBoard.vue:168
msgid "Network Total Receive"
msgstr "下载流量"

#: src/views/dashboard/DashBoard.vue:174
#: src/views/dashboard/DashBoard.vue:177
msgid "Network Total Send"
msgstr "上传流量"

Expand Down Expand Up @@ -335,11 +335,11 @@ msgstr "私钥路径 (ssl_certificate_key)"
msgid "Project Team"
msgstr "项目团队"

#: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:305
#: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:308
msgid "Reads"
msgstr "读"

#: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:240
#: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:243
msgid "Receive"
msgstr "下载"

Expand All @@ -362,7 +362,7 @@ msgstr "保存错误 %{msg}"
msgid "Saved successfully"
msgstr "保存成功"

#: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:254
#: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:257
msgid "Send"
msgstr "上传"

Expand All @@ -371,7 +371,7 @@ msgstr "上传"
msgid "Server error"
msgstr "服务器错误"

#: src/views/dashboard/DashBoard.vue:37
#: src/views/dashboard/DashBoard.vue:38
msgid "Server Info"
msgstr "服务器信息"

Expand All @@ -387,15 +387,15 @@ msgstr "站点列表"
msgid "Status"
msgstr "状态"

#: src/views/dashboard/DashBoard.vue:132
#: src/views/dashboard/DashBoard.vue:135
msgid "Storage"
msgstr "存储"

#: src/views/domain/CertInfo.vue:4
msgid "Subject Name: %{name}"
msgstr "主体名称: %{name}"

#: src/views/dashboard/DashBoard.vue:116
#: src/views/dashboard/DashBoard.vue:119
msgid "Swap"
msgstr ""

Expand Down Expand Up @@ -423,8 +423,8 @@ msgid ""
"fields in your configuration file. The configuration filename cannot be "
"changed after it has been created."
msgstr ""
"只有在您的配置文件中有相应字段时,下列的配置才能生效。配置文件名称创建后不"
"可修改。"
"只有在您的配置文件中有相应字段时,下列的配置才能生效。配置文件名称创建后不可"
"修改。"

#: src/views/domain/DomainEdit.vue:11 src/views/domain/DomainEdit.vue:5
msgid "This feature is not available in demo."
Expand All @@ -451,7 +451,7 @@ msgstr "用户名"
msgid "Username (*)"
msgstr "用户名 (*)"

#: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:291
#: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:294
msgid "Writes"
msgstr "写"

Expand Down
32 changes: 16 additions & 16 deletions frontend/src/locale/zh_TW/LC_MESSAGES/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ msgstr "配置名稱"
msgid "Configurations"
msgstr "配置"

#: src/views/dashboard/DashBoard.vue:204
#: src/views/dashboard/DashBoard.vue:207
msgid "CPU Status"
msgstr "中央處理器狀態"

Expand Down Expand Up @@ -120,7 +120,7 @@ msgstr "禁用"
msgid "Disabled successfully"
msgstr "禁用成功"

#: src/views/dashboard/DashBoard.vue:282
#: src/views/dashboard/DashBoard.vue:285
msgid "Disk IO"
msgstr "磁碟 IO"

Expand Down Expand Up @@ -234,7 +234,7 @@ msgstr "開源許可"
msgid "Load Averages:"
msgstr "系統負載:"

#: src/router/index.js:93 src/views/other/Login.vue:24
#: src/router/index.js:93 src/views/other/Login.vue:25
msgid "Login"
msgstr "登入"

Expand Down Expand Up @@ -266,23 +266,23 @@ msgstr "網站管理"
msgid "Manage Users"
msgstr "使用者管理"

#: src/views/dashboard/DashBoard.vue:100
#: src/views/dashboard/DashBoard.vue:103
msgid "Memory"
msgstr "記憶體"

#: src/views/config/Config.vue:5 src/views/domain/DomainList.vue:5
msgid "Name"
msgstr "名稱"

#: src/views/dashboard/DashBoard.vue:231
#: src/views/dashboard/DashBoard.vue:234
msgid "Network"
msgstr "網路"

#: src/views/dashboard/DashBoard.vue:165
#: src/views/dashboard/DashBoard.vue:168
msgid "Network Total Receive"
msgstr "下載流量"

#: src/views/dashboard/DashBoard.vue:174
#: src/views/dashboard/DashBoard.vue:177
msgid "Network Total Send"
msgstr "上傳流量"

Expand Down Expand Up @@ -336,11 +336,11 @@ msgstr "私鑰路徑 (ssl_certificate_key)"
msgid "Project Team"
msgstr "專案團隊"

#: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:305
#: src/views/dashboard/DashBoard.vue:61 src/views/dashboard/DashBoard.vue:308
msgid "Reads"
msgstr "讀"

#: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:240
#: src/views/dashboard/DashBoard.vue:51 src/views/dashboard/DashBoard.vue:243
msgid "Receive"
msgstr "下載"

Expand All @@ -363,7 +363,7 @@ msgstr "儲存錯誤 %{msg}"
msgid "Saved successfully"
msgstr "儲存成功"

#: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:254
#: src/views/dashboard/DashBoard.vue:54 src/views/dashboard/DashBoard.vue:257
msgid "Send"
msgstr "上傳"

Expand All @@ -372,7 +372,7 @@ msgstr "上傳"
msgid "Server error"
msgstr "伺服器錯誤"

#: src/views/dashboard/DashBoard.vue:37
#: src/views/dashboard/DashBoard.vue:38
msgid "Server Info"
msgstr "伺服器資訊"

Expand All @@ -388,15 +388,15 @@ msgstr "站點列表"
msgid "Status"
msgstr "狀態"

#: src/views/dashboard/DashBoard.vue:132
#: src/views/dashboard/DashBoard.vue:135
msgid "Storage"
msgstr "儲存"

#: src/views/domain/CertInfo.vue:4
msgid "Subject Name: %{name}"
msgstr "主體名稱: %{name}"

#: src/views/dashboard/DashBoard.vue:116
#: src/views/dashboard/DashBoard.vue:119
msgid "Swap"
msgstr "交換空間"

Expand Down Expand Up @@ -424,8 +424,8 @@ msgid ""
"fields in your configuration file. The configuration filename cannot be "
"changed after it has been created."
msgstr ""
"只有在您的配置檔案中有相應欄位時,下列的配置才能生效。配置檔名稱建立後不可"
"修改。"
"只有在您的配置檔案中有相應欄位時,下列的配置才能生效。配置檔名稱建立後不可修"
"。"

#: src/views/domain/DomainEdit.vue:11 src/views/domain/DomainEdit.vue:5
msgid "This feature is not available in demo."
Expand All @@ -452,7 +452,7 @@ msgstr "使用者名稱"
msgid "Username (*)"
msgstr "使用者名稱 (*)"

#: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:291
#: src/views/dashboard/DashBoard.vue:58 src/views/dashboard/DashBoard.vue:294
msgid "Writes"
msgstr "寫"

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/config/ConfigEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<script>
import FooterToolBar from '@/components/FooterToolbar/FooterToolBar'
import VueItextarea from '@/components/VueItextarea/VueItextarea'
import $gettext, {$interpolate} from "@/lib/translate/gettext";
import {$gettext, $interpolate} from "@/lib/translate/gettext"
export default {
name: 'DomainEdit',
Expand Down
Loading

0 comments on commit 8b60d61

Please sign in to comment.