Browse Source

pref: 优化 OSS 连接检测错误信息 (#4426)

pull/4427/head
ssongliu 8 months ago committed by GitHub
parent
commit
e69fd3b388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      backend/i18n/lang/en.yaml
  2. 2
      backend/i18n/lang/zh-Hant.yaml
  3. 2
      backend/i18n/lang/zh.yaml
  4. 2
      frontend/src/views/host/monitor/setting/days/index.vue

2
backend/i18n/lang/en.yaml

@ -144,7 +144,7 @@ ErrNodeModulesNotFound: "The node_modules folder does not exist! Please edit the
#setting
ErrBackupInUsed: "The backup account is already being used in a cronjob and cannot be deleted."
ErrBackupCheck: "Backup account test connection failed {{ .err}}"
ErrOSSConn: "Unable to successfully request the latest version. Please check if the server can connect to the external network environment."
ErrOSSConn: "Unable to retrieve the latest version, please check if the server can connect to the external network."
ErrEntrance: "Security entrance information error. Please check and try again!"
#tool

2
backend/i18n/lang/zh-Hant.yaml

@ -145,7 +145,7 @@ ErrNodeModulesNotFound: "node_modules 文件夾不存在!請編輯運行環境
#setting
ErrBackupInUsed: "該備份帳號已在計劃任務中使用,無法刪除"
ErrBackupCheck: "備份帳號測試連接失敗 {{ .err}}"
ErrOSSConn: "無法成功請求最新版本,請檢查伺服器是否能夠連接到外部網絡環境。"
ErrOSSConn: "無法獲取最新版本,請確認伺服器是否能夠連接外部網路。"
ErrEntrance: "安全入口信息錯誤,請檢查後重試!"
#tool

2
backend/i18n/lang/zh.yaml

@ -144,7 +144,7 @@ ErrNodeModulesNotFound: "node_modules 文件夹不存在!请编辑运行环境
#setting
ErrBackupInUsed: "该备份账号已在计划任务中使用,无法删除"
ErrBackupCheck: "备份账号测试连接失败 {{ .err}}"
ErrOSSConn: "无法成功请求最新版本,请检查服务器是否能够连接到外部网络环境。"
ErrOSSConn: "无法获取最新版本,请确认服务器是否能够连接外部网络。"
ErrEntrance: "安全入口信息错误,请检查后重试!"
#tool

2
frontend/src/views/host/monitor/setting/days/index.vue

@ -15,7 +15,7 @@
<el-col :span="22">
<el-form-item
:label="$t('monitor.storeDays')"
:rules="[Rules.integerNumber, checkNumberRange(1, 30)]"
:rules="[Rules.integerNumber, checkNumberRange(1, 365)]"
prop="monitorStoreDays"
>
<el-input clearable v-model.number="form.monitorStoreDays" />

Loading…
Cancel
Save