From c6c16276860bce405bb1a84492084b98cc0ab8be Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Sun, 22 Feb 2026 16:45:24 -0400 Subject: [PATCH] change ui to zh --- src-tauri/tauri.conf.json | 4 ++-- src/App.vue | 40 +++++++++++++++++++-------------------- src/stores/settings.ts | 12 ++++++------ 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1be00fe..dd9a431 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -13,8 +13,8 @@ "windows": [ { "title": "gemmatrans-client", - "width": 800, - "height": 600 + "width": 1400, + "height": 900 } ], "security": { diff --git a/src/App.vue b/src/App.vue index 1328fa4..5fb8c74 100644 --- a/src/App.vue +++ b/src/App.vue @@ -158,14 +158,14 @@ const translate = async () => { @@ -184,18 +184,18 @@ const translate = async () => { > -
-
@@ -206,7 +206,7 @@ const translate = async () => { > - {{ isTranslating ? 'Translating...' : 'Translate' }} + {{ isTranslating ? '正在翻译...' : '翻译' }}
@@ -221,7 +221,7 @@ const translate = async () => {
- @@ -231,7 +231,7 @@ const translate = async () => { - Translation will appear here... + 翻译结果将在此显示...
@@ -240,10 +240,10 @@ const translate = async () => {
-

API Configuration

+

API 配置

- + { />
- + {
- -

Render text as it is generated

+ +

在生成时即时渲染文本

-

Prompt Engineering

+

提示词工程

- - + +