From 9db9b6a8cec33bfa12045c00486a45740c086a21 Mon Sep 17 00:00:00 2001
From: CaIon
Date: Thu, 30 Oct 2025 00:14:12 +0800
Subject: [PATCH] feat(i18n): add translations for "The Unified" and "LLM API
Gateway" in English, French, Japanese, and Russian
---
web/src/i18n/locales/en.json | 4 +++-
web/src/i18n/locales/fr.json | 4 +++-
web/src/i18n/locales/ja.json | 4 +++-
web/src/i18n/locales/ru.json | 4 +++-
web/src/pages/Home/index.jsx | 18 +++++-------------
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json
index 1b4195fc..50d76f60 100644
--- a/web/src/i18n/locales/en.json
+++ b/web/src/i18n/locales/en.json
@@ -2100,6 +2100,8 @@
"例如:4.99": "e.g.: 4.99",
"例如:100000": "e.g.: 100000",
"请填写完整的产品信息": "Please fill in complete product information",
- "产品ID已存在": "Product ID already exists"
+ "产品ID已存在": "Product ID already exists",
+ "统一的": "The Unified",
+ "大模型接口网关": "LLM API Gateway"
}
}
\ No newline at end of file
diff --git a/web/src/i18n/locales/fr.json b/web/src/i18n/locales/fr.json
index 27789a19..b2d0dc38 100644
--- a/web/src/i18n/locales/fr.json
+++ b/web/src/i18n/locales/fr.json
@@ -2080,6 +2080,8 @@
"默认区域,如: us-central1": "Région par défaut, ex: us-central1",
"默认折叠侧边栏": "Réduire la barre latérale par défaut",
"默认测试模型": "Modèle de test par défaut",
- "默认补全倍率": "Taux de complétion par défaut"
+ "默认补全倍率": "Taux de complétion par défaut",
+ "统一的": "La Passerelle",
+ "大模型接口网关": "API LLM Unifiée"
}
}
diff --git a/web/src/i18n/locales/ja.json b/web/src/i18n/locales/ja.json
index 8b17bc31..7cded82e 100644
--- a/web/src/i18n/locales/ja.json
+++ b/web/src/i18n/locales/ja.json
@@ -2071,6 +2071,8 @@
"默认区域,如: us-central1": "デフォルトリージョン(例:us-central1)",
"默认折叠侧边栏": "サイドバーをデフォルトで折りたたむ",
"默认测试模型": "デフォルトテストモデル",
- "默认补全倍率": "デフォルト補完倍率"
+ "默认补全倍率": "デフォルト補完倍率",
+ "统一的": "統合型",
+ "大模型接口网关": "LLM APIゲートウェイ"
}
}
\ No newline at end of file
diff --git a/web/src/i18n/locales/ru.json b/web/src/i18n/locales/ru.json
index db0a4762..7162a9eb 100644
--- a/web/src/i18n/locales/ru.json
+++ b/web/src/i18n/locales/ru.json
@@ -2089,6 +2089,8 @@
"默认区域,如: us-central1": "Регион по умолчанию, например: us-central1",
"默认折叠侧边栏": "Сворачивать боковую панель по умолчанию",
"默认测试模型": "Модель для тестирования по умолчанию",
- "默认补全倍率": "Коэффициент вывода по умолчанию"
+ "默认补全倍率": "Коэффициент вывода по умолчанию",
+ "统一的": "Единый",
+ "大模型接口网关": "Шлюз API LLM"
}
}
diff --git a/web/src/pages/Home/index.jsx b/web/src/pages/Home/index.jsx
index 19681639..c153c1b3 100644
--- a/web/src/pages/Home/index.jsx
+++ b/web/src/pages/Home/index.jsx
@@ -169,19 +169,11 @@ const Home = () => {
- {i18n.language === 'en' ? (
- <>
- The Unified
-
- LLMs API Gateway
- >
- ) : (
- <>
- 统一的
-
- 大模型接口网关
- >
- )}
+ <>
+ {t('统一的')}
+
+ {t('大模型接口网关')}
+ >
{t('更好的价格,更好的稳定性,只需要将模型基址替换为:')}