Browse Source

chore: update translations

Jacky 3 months ago
parent
commit
5c11266945
2 changed files with 11 additions and 14 deletions
  1. 11 13
      app/src/language/zh_CN/app.po
  2. 0 1
      app/src/lib/http/index.ts

+ 11 - 13
app/src/language/zh_CN/app.po

@@ -197,9 +197,8 @@ msgid "Assistant"
 msgstr "助手"
 msgstr "助手"
 
 
 #: src/views/system/SelfCheck/SelfCheck.vue:50
 #: src/views/system/SelfCheck/SelfCheck.vue:50
-#, fuzzy
 msgid "Attempt to fix"
 msgid "Attempt to fix"
-msgstr "尝试次数"
+msgstr "尝试修复"
 
 
 #: src/views/preference/AuthSettings.vue:17
 #: src/views/preference/AuthSettings.vue:17
 msgid "Attempts"
 msgid "Attempts"
@@ -382,23 +381,24 @@ msgstr "重新检查"
 
 
 #: src/views/system/SelfCheck/tasks.ts:12
 #: src/views/system/SelfCheck/tasks.ts:12
 msgid "Check if the nginx.conf includes the sites-enabled directory."
 msgid "Check if the nginx.conf includes the sites-enabled directory."
-msgstr ""
+msgstr "检查 nginx.conf 是否包含 sites-enabled 的目录。"
 
 
 #: src/views/system/SelfCheck/tasks.ts:16
 #: src/views/system/SelfCheck/tasks.ts:16
 msgid "Check if the nginx.conf includes the streams-enabled directory."
 msgid "Check if the nginx.conf includes the streams-enabled directory."
-msgstr ""
+msgstr "检查 nginx.conf 是否包含 streams-enabled 的目录。"
 
 
 #: src/views/system/SelfCheck/tasks.ts:4
 #: src/views/system/SelfCheck/tasks.ts:4
 msgid ""
 msgid ""
 "Check if the sites-available and sites-enabled directory is under the nginx "
 "Check if the sites-available and sites-enabled directory is under the nginx "
 "configuration directory."
 "configuration directory."
-msgstr ""
+msgstr "检查 sites-available 和 sites-enabled 目录是否位于 nginx 配置目录下。"
 
 
 #: src/views/system/SelfCheck/tasks.ts:8
 #: src/views/system/SelfCheck/tasks.ts:8
 msgid ""
 msgid ""
 "Check if the streams-available and streams-enabled directory is under the "
 "Check if the streams-available and streams-enabled directory is under the "
 "nginx configuration directory."
 "nginx configuration directory."
 msgstr ""
 msgstr ""
+"检查 nginx 配置目录下是否有 streams-available 和 streams-enabled 目录。"
 
 
 #: src/language/constants.ts:13
 #: src/language/constants.ts:13
 msgid "Cleaning environment variables"
 msgid "Cleaning environment variables"
@@ -1429,11 +1429,11 @@ msgstr "Nginx 访问日志路径"
 
 
 #: src/views/system/SelfCheck/tasks.ts:11
 #: src/views/system/SelfCheck/tasks.ts:11
 msgid "Nginx Conf Include Sites Enabled"
 msgid "Nginx Conf Include Sites Enabled"
-msgstr ""
+msgstr "Nginx Conf 中引用启用站点目录"
 
 
 #: src/views/system/SelfCheck/tasks.ts:15
 #: src/views/system/SelfCheck/tasks.ts:15
 msgid "Nginx Conf Include Streams Enabled"
 msgid "Nginx Conf Include Streams Enabled"
-msgstr ""
+msgstr "Nginx Conf 中引用启用 Streams 目录"
 
 
 #: src/views/site/site_edit/SiteEdit.vue:223
 #: src/views/site/site_edit/SiteEdit.vue:223
 #: src/views/stream/StreamEdit.vue:207
 #: src/views/stream/StreamEdit.vue:207
@@ -1810,7 +1810,7 @@ msgstr "下载"
 
 
 #: src/views/system/SelfCheck/SelfCheck.vue:42
 #: src/views/system/SelfCheck/SelfCheck.vue:42
 msgid "Recheck"
 msgid "Recheck"
-msgstr ""
+msgstr "重新检查"
 
 
 #: src/components/StdDesign/StdDataDisplay/StdBulkActions.vue:43
 #: src/components/StdDesign/StdDataDisplay/StdBulkActions.vue:43
 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:544
 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:544
@@ -2100,7 +2100,7 @@ msgstr "选择器"
 
 
 #: src/routes/index.ts:283 src/views/system/SelfCheck/SelfCheck.vue:37
 #: src/routes/index.ts:283 src/views/system/SelfCheck/SelfCheck.vue:37
 msgid "Self Check"
 msgid "Self Check"
-msgstr ""
+msgstr "自我检查"
 
 
 #: src/views/dashboard/ServerAnalytic.vue:348
 #: src/views/dashboard/ServerAnalytic.vue:348
 #: src/views/dashboard/ServerAnalytic.vue:35
 #: src/views/dashboard/ServerAnalytic.vue:35
@@ -2183,9 +2183,8 @@ msgid "Site Logs"
 msgstr "站点列表"
 msgstr "站点列表"
 
 
 #: src/views/system/SelfCheck/tasks.ts:3
 #: src/views/system/SelfCheck/tasks.ts:3
-#, fuzzy
 msgid "Sites Directory"
 msgid "Sites Directory"
-msgstr "目录"
+msgstr "网站目录"
 
 
 #: src/routes/index.ts:56
 #: src/routes/index.ts:56
 msgid "Sites List"
 msgid "Sites List"
@@ -2234,9 +2233,8 @@ msgid "Storage"
 msgstr "存储"
 msgstr "存储"
 
 
 #: src/views/system/SelfCheck/tasks.ts:7
 #: src/views/system/SelfCheck/tasks.ts:7
-#, fuzzy
 msgid "Streams Directory"
 msgid "Streams Directory"
-msgstr "目录"
+msgstr "Streams 目录"
 
 
 #: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36
 #: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36
 msgid "Success"
 msgid "Success"

+ 0 - 1
app/src/lib/http/index.ts

@@ -4,7 +4,6 @@ import { useNProgress } from '@/lib/nprogress/nprogress'
 import { useSettingsStore, useUserStore } from '@/pinia'
 import { useSettingsStore, useUserStore } from '@/pinia'
 import router from '@/routes'
 import router from '@/routes'
 import { message } from 'ant-design-vue'
 import { message } from 'ant-design-vue'
-
 import axios from 'axios'
 import axios from 'axios'
 import { storeToRefs } from 'pinia'
 import { storeToRefs } from 'pinia'
 import 'nprogress/nprogress.css'
 import 'nprogress/nprogress.css'