From c1b3c3b1424d84242e0169148a66935d1c29ea7b Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Wed, 25 Feb 2026 00:33:34 -0400 Subject: [PATCH] improve eval ui --- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/App.vue | 18 +++++++++++++++--- 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 87d21e5..6d8f13d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ai-translate-client", "private": true, - "version": "0.3.1", + "version": "0.3.2", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 85a8d42..b4ba70a 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -19,7 +19,7 @@ dependencies = [ [[package]] name = "ai-translate-client" -version = "0.3.1" +version = "0.3.2" dependencies = [ "futures-util", "reqwest 0.12.28", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index c40c181..1dc090d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ai-translate-client" -version = "0.3.1" +version = "0.3.2" description = "A client using AI models to translate" authors = ["Julian"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 573a3cd..1b68bb7 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "ai-translate-client", - "version": "0.3.1", + "version": "0.3.2", "identifier": "top.volan.ai-translate-client", "build": { "beforeDevCommand": "pnpm dev", diff --git a/src/App.vue b/src/App.vue index 550ef0f..e496934 100644 --- a/src/App.vue +++ b/src/App.vue @@ -220,7 +220,7 @@ const copyTarget = async () => { }; const evaluateTranslation = async () => { - if (!settings.enableEvaluation || !targetText.value) return; + if (!targetText.value) return; isEvaluating.value = true; evaluationResult.value = null; @@ -653,6 +653,18 @@ const translate = async () => { + +
+ +
@@ -799,7 +811,7 @@ const translate = async () => { -
+
@@ -882,7 +894,7 @@ const translate = async () => {
-
+