From 3abfe46464bbdb1a6d9eb9fa78f1e72fd7c20cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B3=E5=85=83=E7=9A=93?= Date: Sat, 7 Jun 2025 01:19:48 +0800 Subject: [PATCH] EXTREMELY basic translating in the newsView page. & made the about window i18n available & added GOALS_BEFORE_NEXT_DEVLOG.md file to track what goals should I hit before getting a another devlog. --- GOALS_BEFORE_NEXT_DEVLOG.md | 4 +++ components/app/windows/about.vue | 26 ++++++++------ components/app/windows/newsView.vue | 53 +++++++++++++++++++++++------ i18n/locales/en.json | 14 ++++++++ i18n/locales/zh-tw.json | 14 ++++++++ 5 files changed, 89 insertions(+), 22 deletions(-) create mode 100644 GOALS_BEFORE_NEXT_DEVLOG.md diff --git a/GOALS_BEFORE_NEXT_DEVLOG.md b/GOALS_BEFORE_NEXT_DEVLOG.md new file mode 100644 index 0000000..dc85eed --- /dev/null +++ b/GOALS_BEFORE_NEXT_DEVLOG.md @@ -0,0 +1,4 @@ +# Goals before the next devlog +(Hopefuly it can be done like on jun/7?) +1. Get the custom Groq api thingy work +2. Get Translation into news, newsView, aboutNewsorg & sources diff --git a/components/app/windows/about.vue b/components/app/windows/about.vue index 856cc77..eb4bc3a 100644 --- a/components/app/windows/about.vue +++ b/components/app/windows/about.vue @@ -5,33 +5,37 @@ const emit = defineEmits(["windowopener", "error", "loadValue"]); const props = defineProps<{ values?: string; }>(); +const { t } = useI18n();