From 5c1126694559fb8fe242fef81b20925cd110d422 Mon Sep 17 00:00:00 2001 From: Jacky Date: Wed, 22 Jan 2025 16:33:33 +0800 Subject: [PATCH] chore: update translations --- app/src/language/zh_CN/app.po | 24 +++++++++++------------- app/src/lib/http/index.ts | 1 - 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/src/language/zh_CN/app.po b/app/src/language/zh_CN/app.po index cbdf29b3..8dff0b27 100644 --- a/app/src/language/zh_CN/app.po +++ b/app/src/language/zh_CN/app.po @@ -197,9 +197,8 @@ msgid "Assistant" msgstr "助手" #: src/views/system/SelfCheck/SelfCheck.vue:50 -#, fuzzy msgid "Attempt to fix" -msgstr "尝试次数" +msgstr "尝试修复" #: src/views/preference/AuthSettings.vue:17 msgid "Attempts" @@ -382,23 +381,24 @@ msgstr "重新检查" #: src/views/system/SelfCheck/tasks.ts:12 msgid "Check if the nginx.conf includes the sites-enabled directory." -msgstr "" +msgstr "检查 nginx.conf 是否包含 sites-enabled 的目录。" #: src/views/system/SelfCheck/tasks.ts:16 msgid "Check if the nginx.conf includes the streams-enabled directory." -msgstr "" +msgstr "检查 nginx.conf 是否包含 streams-enabled 的目录。" #: src/views/system/SelfCheck/tasks.ts:4 msgid "" "Check if the sites-available and sites-enabled directory is under the nginx " "configuration directory." -msgstr "" +msgstr "检查 sites-available 和 sites-enabled 目录是否位于 nginx 配置目录下。" #: src/views/system/SelfCheck/tasks.ts:8 msgid "" "Check if the streams-available and streams-enabled directory is under the " "nginx configuration directory." msgstr "" +"检查 nginx 配置目录下是否有 streams-available 和 streams-enabled 目录。" #: src/language/constants.ts:13 msgid "Cleaning environment variables" @@ -1429,11 +1429,11 @@ msgstr "Nginx 访问日志路径" #: src/views/system/SelfCheck/tasks.ts:11 msgid "Nginx Conf Include Sites Enabled" -msgstr "" +msgstr "Nginx Conf 中引用启用站点目录" #: src/views/system/SelfCheck/tasks.ts:15 msgid "Nginx Conf Include Streams Enabled" -msgstr "" +msgstr "Nginx Conf 中引用启用 Streams 目录" #: src/views/site/site_edit/SiteEdit.vue:223 #: src/views/stream/StreamEdit.vue:207 @@ -1810,7 +1810,7 @@ msgstr "下载" #: src/views/system/SelfCheck/SelfCheck.vue:42 msgid "Recheck" -msgstr "" +msgstr "重新检查" #: src/components/StdDesign/StdDataDisplay/StdBulkActions.vue:43 #: src/components/StdDesign/StdDataDisplay/StdTable.vue:544 @@ -2100,7 +2100,7 @@ msgstr "选择器" #: src/routes/index.ts:283 src/views/system/SelfCheck/SelfCheck.vue:37 msgid "Self Check" -msgstr "" +msgstr "自我检查" #: src/views/dashboard/ServerAnalytic.vue:348 #: src/views/dashboard/ServerAnalytic.vue:35 @@ -2183,9 +2183,8 @@ msgid "Site Logs" msgstr "站点列表" #: src/views/system/SelfCheck/tasks.ts:3 -#, fuzzy msgid "Sites Directory" -msgstr "目录" +msgstr "网站目录" #: src/routes/index.ts:56 msgid "Sites List" @@ -2234,9 +2233,8 @@ msgid "Storage" msgstr "存储" #: src/views/system/SelfCheck/tasks.ts:7 -#, fuzzy msgid "Streams Directory" -msgstr "目录" +msgstr "Streams 目录" #: src/constants/index.ts:19 src/views/notification/notificationColumns.tsx:36 msgid "Success" diff --git a/app/src/lib/http/index.ts b/app/src/lib/http/index.ts index 4de199f7..f916747f 100644 --- a/app/src/lib/http/index.ts +++ b/app/src/lib/http/index.ts @@ -4,7 +4,6 @@ import { useNProgress } from '@/lib/nprogress/nprogress' import { useSettingsStore, useUserStore } from '@/pinia' import router from '@/routes' import { message } from 'ant-design-vue' - import axios from 'axios' import { storeToRefs } from 'pinia' import 'nprogress/nprogress.css'