From bac7428fde693a19a320822ff03fd25b669c6e17 Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Sun, 22 Feb 2026 17:45:16 -0400 Subject: [PATCH] little modify --- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/App.vue | 4 ++-- src/stores/settings.ts | 1 + 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 222545e..8061d5d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gemmatrans-client", "private": true, - "version": "0.1.1", + "version": "0.1.2", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 4c77210..4df719b 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1236,7 +1236,7 @@ dependencies = [ [[package]] name = "gemmatrans-client" -version = "0.1.1" +version = "0.1.2" dependencies = [ "serde", "serde_json", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 219a6ef..21cafa7 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gemmatrans-client" -version = "0.1.1" +version = "0.1.2" description = "A Tauri App" authors = ["you"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e2f1272..ab269e5 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": "gemmatrans-client", - "version": "0.1.1", + "version": "0.1.2", "identifier": "top.volan.gemmatrans-client", "build": { "beforeDevCommand": "pnpm dev", diff --git a/src/App.vue b/src/App.vue index 323443f..3a8aece 100644 --- a/src/App.vue +++ b/src/App.vue @@ -188,7 +188,7 @@ const translate = async () => {
-

GemmaTrans

+

TranslateGemma

diff --git a/src/stores/settings.ts b/src/stores/settings.ts index d230ef5..4132047 100644 --- a/src/stores/settings.ts +++ b/src/stores/settings.ts @@ -28,6 +28,7 @@ export const LANGUAGES: Language[] = [ export const DEFAULT_TEMPLATE = `You are a professional {SOURCE_LANG} ({SOURCE_CODE}) to {TARGET_LANG} ({TARGET_CODE}) translator. Your goal is to accurately convey the meaning and nuances of the original {SOURCE_LANG} text while adhering to {TARGET_LANG} grammar, vocabulary, and cultural sensitivities. Produce only the {TARGET_LANG} translation, without any additional explanations or commentary. Please translate the following {SOURCE_LANG} text into {TARGET_LANG}: + {TEXT}`; export const useSettingsStore = defineStore('settings', () => {