From 63f2af9d8f9b43c0e8b83e9d87a111958479e700 Mon Sep 17 00:00:00 2001
From: ctaoist <14012127+ctaoist@users.noreply.github.com>
Date: Wed, 18 Jan 2023 14:38:12 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9C=A8=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E5=BD=93=E5=89=8D=E6=89=80?=
=?UTF-8?q?=E7=94=A8=E7=9A=84=E5=90=8E=E7=AB=AF=20(#731)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Config.tsx | 5 ++++-
src/i18n/en.ts | 2 ++
src/i18n/zh.ts | 2 ++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/components/Config.tsx b/src/components/Config.tsx
index 6c86445..bf2dc8f 100644
--- a/src/components/Config.tsx
+++ b/src/components/Config.tsx
@@ -266,10 +266,13 @@ function ConfigImpl({
+
{t('current_backend')}
+
{apiConfig.baseURL}
+
Action
}
- label="Switch backend"
+ label={t("switch_backend")}
onClick={openAPIConfigModal}
/>
diff --git a/src/i18n/en.ts b/src/i18n/en.ts
index fcdf253..f7d18e6 100644
--- a/src/i18n/en.ts
+++ b/src/i18n/en.ts
@@ -25,7 +25,9 @@ export const data = {
order_name_asc: 'By name alphabetically (A-Z)',
order_name_desc: 'By name alphabetically (Z-A)',
Connections: 'Connections',
+ current_backend: 'Current Backend',
Active: 'Active',
+ switch_backend: 'Switch backend"',
Closed: 'Closed',
switch_theme: 'Switch theme',
theme: 'theme',
diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts
index e92f9ff..6debc98 100644
--- a/src/i18n/zh.ts
+++ b/src/i18n/zh.ts
@@ -25,7 +25,9 @@ export const data = {
order_name_asc: '按名称字母排序 (A-Z)',
order_name_desc: '按名称字母排序 (Z-A)',
Connections: '连接',
+ current_backend: '当前后端',
Active: '活动',
+ switch_backend: '切换后端',
Closed: '已断开',
switch_theme: '切换主题',
theme: '主题',