diff --git a/src/App.vue b/src/App.vue index d20ea8c..1328fa4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,8 @@ import { Trash2, ArrowRightLeft, Loader2, - Check + Check, + FileText } from 'lucide-vue-next'; import { fetch } from '@tauri-apps/plugin-http'; import { useSettingsStore, LANGUAGES, DEFAULT_TEMPLATE } from './stores/settings'; @@ -20,7 +21,7 @@ function cn(...inputs: ClassValue[]) { } const settings = useSettingsStore(); -const view = ref<'translate' | 'settings'>('translate'); +const view = ref<'translate' | 'settings' | 'logs'>('translate'); // Translation State const sourceText = ref(''); @@ -149,17 +150,26 @@ const translate = async () => {
-
- +
+

GemmaTrans

- +
+ + +
@@ -227,7 +237,7 @@ const translate = async () => {
-
+

API Configuration

@@ -290,33 +300,45 @@ const translate = async () => {
+
+ -
-

Debug Logs

-
-
- No logs recorded yet. Try translating something. -
-
-
- [{{ log.timestamp }}] - {{ log.type }} -
-
{{ typeof log.content === 'object' ? JSON.stringify(log.content, null, 2) : log.content }}
-
+ +
+
+
+

Debug Logs

+ +
+
+
+ No logs recorded yet. Try translating something.
-
+
+
+ [{{ log.timestamp }}] + {{ log.type }} +
+
{{ typeof log.content === 'object' ? JSON.stringify(log.content, null, 2) : log.content }}
+
+