mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 07:41:02 +08:00
Finish translations for the news.vue & update en.json for the news
stuff.
This commit is contained in:
parent
76f2d79904
commit
8c69fd2c35
@ -1,4 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
// forgot to import t 💀
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
// Vars for translating stuff
|
// Vars for translating stuff
|
||||||
interface translateInterfaceText {
|
interface translateInterfaceText {
|
||||||
translateText: string;
|
translateText: string;
|
||||||
@ -366,7 +369,11 @@ const translateFunction = () => {
|
|||||||
class="text-2xl text-bold"
|
class="text-2xl text-bold"
|
||||||
:class="getCheckResult(item.title) ? 'text-red-600' : ''"
|
:class="getCheckResult(item.title) ? 'text-red-600' : ''"
|
||||||
>
|
>
|
||||||
{{ item.title }}
|
{{
|
||||||
|
displayTranslateContent
|
||||||
|
? translateItem[item.title].translateText
|
||||||
|
: item.title
|
||||||
|
}}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="m-0 text-gray-600">
|
<p class="m-0 text-gray-600">
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
|
@ -130,5 +130,14 @@
|
|||||||
"contactEmailStarter": "Contact Email:"
|
"contactEmailStarter": "Contact Email:"
|
||||||
},
|
},
|
||||||
"copyrightInfo": "Copyright Info"
|
"copyrightInfo": "Copyright Info"
|
||||||
|
},
|
||||||
|
"news": {
|
||||||
|
"open": "View Article",
|
||||||
|
"opennewwindow": "This will open a new window",
|
||||||
|
"similararticles": "Similar Articles",
|
||||||
|
"similarity": "Similarity",
|
||||||
|
"nosimilararticles": "There isn't any similar articles.",
|
||||||
|
"articleopenpart1": "This will open a open a new window about this new org",
|
||||||
|
"articleopenpart2": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user