From 0e68065b40533deb22a5876919ad5b1bcced9a16 Mon Sep 17 00:00:00 2001 From: ChengPlay <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 14 Apr 2025 16:56:12 +0800 Subject: [PATCH] feat: change commandPlaceHolder translate (#8391) --- frontend/src/lang/modules/en.ts | 2 +- frontend/src/lang/modules/ja.ts | 2 +- frontend/src/lang/modules/ko.ts | 2 +- frontend/src/lang/modules/ms.ts | 2 +- frontend/src/lang/modules/pt-br.ts | 2 +- frontend/src/lang/modules/ru.ts | 2 +- frontend/src/lang/modules/tw.ts | 2 +- frontend/src/lang/modules/zh.ts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index b254e23c0..1f6b268ba 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -2621,7 +2621,7 @@ const message = { domain: 'Default Access Address', domainHelper: 'For example: 192.168.1.1 or example.com', bindDomain: 'Bind Website', - commandPlaceHolder: 'Currently only supports npx startup commands', + commandPlaceHolder: 'Currently only supports npx and binary startup commands', importMcpJson: 'Import MCP Server Configuration', importMcpJsonError: 'mcpServers structure is incorrect', bindDomainHelper: diff --git a/frontend/src/lang/modules/ja.ts b/frontend/src/lang/modules/ja.ts index 64909448c..66912327c 100644 --- a/frontend/src/lang/modules/ja.ts +++ b/frontend/src/lang/modules/ja.ts @@ -2591,7 +2591,7 @@ const message = { domain: 'デフォルトアクセスアドレス', domainHelper: '例: 192.168.1.1 または example.com', bindDomain: 'ウェブサイトをバインド', - commandPlaceHolder: '現在、npx スタートアップコマンドのみをサポートしています', + commandPlaceHolder: '現在、npx およびバイナリスタートアップコマンドのみをサポートしています', importMcpJson: 'MCP サーバー設定をインポート', importMcpJsonError: 'mcpServers 構造が正しくありません', bindDomainHelper: diff --git a/frontend/src/lang/modules/ko.ts b/frontend/src/lang/modules/ko.ts index ed271d07f..9c1e7ae0c 100644 --- a/frontend/src/lang/modules/ko.ts +++ b/frontend/src/lang/modules/ko.ts @@ -2550,7 +2550,7 @@ const message = { domain: 'デフォルトアクセスアドレス', domainHelper: '例: 192.168.1.1 または example.com', bindDomain: 'ウェブサイトをバインド', - commandPlaceHolder: '현재 npx 시작 명령만 지원합니다', + commandPlaceHolder: '현재 npx 및 바이너리 시작 명령만 지원합니다', importMcpJson: 'MCP サーバー設定をインポート', importMcpJsonError: 'mcpServers 構造が正しくありません', bindDomainHelper: diff --git a/frontend/src/lang/modules/ms.ts b/frontend/src/lang/modules/ms.ts index ff5443654..0cead4e5c 100644 --- a/frontend/src/lang/modules/ms.ts +++ b/frontend/src/lang/modules/ms.ts @@ -2649,7 +2649,7 @@ const message = { domain: 'Alamat Akses Lalai', domainHelper: 'Contoh: 192.168.1.1 atau example.com', bindDomain: 'Sematkan Laman Web', - commandPlaceHolder: 'Kini hanya menyokong perintah pelancaran npx', + commandPlaceHolder: 'Kini hanya menyokong perintah pelancaran npx dan binari', importMcpJson: 'Import Konfigurasi Pelayan MCP', importMcpJsonError: 'Struktur mcpServers tidak betul', bindDomainHelper: diff --git a/frontend/src/lang/modules/pt-br.ts b/frontend/src/lang/modules/pt-br.ts index 5b5143827..ee1db8484 100644 --- a/frontend/src/lang/modules/pt-br.ts +++ b/frontend/src/lang/modules/pt-br.ts @@ -2647,7 +2647,7 @@ const message = { domain: 'Endereço de Acesso Padrão', domainHelper: 'Por exemplo: 192.168.1.1 ou example.com', bindDomain: 'Vincular Site', - commandPlaceHolder: 'Atualmente, apenas comandos de inicialização npx são suportados', + commandPlaceHolder: 'Atualmente, apenas comandos de inicialização npx e binários são suportados', importMcpJson: 'Importar Configuração do Servidor MCP', importMcpJsonError: 'A estrutura mcpServers está incorreta', bindDomainHelper: diff --git a/frontend/src/lang/modules/ru.ts b/frontend/src/lang/modules/ru.ts index 4bd46e8d3..e0c345665 100644 --- a/frontend/src/lang/modules/ru.ts +++ b/frontend/src/lang/modules/ru.ts @@ -2643,7 +2643,7 @@ const message = { domain: 'Адрес доступа по умолчанию', domainHelper: 'Например: 192.168.1.1 или example.com', bindDomain: 'Привязать сайт', - commandPlaceHolder: 'В настоящее время поддерживаются только команды запуска npx', + commandPlaceHolder: 'В настоящее время поддерживаются только команды запуска npx и двоичных файлов', importMcpJson: 'Импортировать конфигурацию сервера MCP', importMcpJsonError: 'Структура mcpServers некорректна', bindDomainHelper: diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 76bd54bca..5eda35b4b 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -2456,7 +2456,7 @@ const message = { domain: '默認訪問地址', domainHelper: '例如:192.168.1.1 或者 example.com', bindDomain: '綁定網站', - commandPlaceHolder: '當前僅支持 npx 啟動命令', + commandPlaceHolder: '當前僅支持 npx 和 二進制啟動的命令', importMcpJson: '導入 MCP Server配置', importMcpJsonError: 'mcpServers 結構不正確', bindDomainHelper: '綁定網站之後會修改所有已安裝 MCP Server 的訪問地址,並關閉端口的外部訪問', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 877a12ed7..d0669de70 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -2458,7 +2458,7 @@ const message = { domain: '默认访问地址', domainHelper: '例如:192.168.1.1 或者 example.com', bindDomain: '绑定网站', - commandPlaceHolder: '当前仅支持 npx 启动命令', + commandPlaceHolder: '当前仅支持 npx 和 二进制启动的命令', importMcpJson: '导入 MCP Server 配置', importMcpJsonError: 'mcpServers 结构不正确', bindDomainHelper: '绑定网站之后会修改所有已安装 MCP Server 的访问地址,并关闭端口的外部访问',