mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Finish translations for the news.vue & update en.json for the news
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
stuff.
This commit is contained in:
parent
76f2d79904
commit
8c69fd2c35
2 changed files with 17 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
// forgot to import t 💀
|
||||
const { t } = useI18n();
|
||||
|
||||
// Vars for translating stuff
|
||||
interface translateInterfaceText {
|
||||
translateText: string;
|
||||
|
@ -366,7 +369,11 @@ const translateFunction = () => {
|
|||
class="text-2xl text-bold"
|
||||
:class="getCheckResult(item.title) ? 'text-red-600' : ''"
|
||||
>
|
||||
{{ item.title }}
|
||||
{{
|
||||
displayTranslateContent
|
||||
? translateItem[item.title].translateText
|
||||
: item.title
|
||||
}}
|
||||
</h1>
|
||||
<p class="m-0 text-gray-600">
|
||||
<TooltipProvider>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue