feat: 添加首页本地化支持,包括标题、RWA产品和动态新闻的翻译
This commit is contained in:
@@ -345,5 +345,16 @@
|
|||||||
"themeLight": "فاتح",
|
"themeLight": "فاتح",
|
||||||
"themeDark": "داكن",
|
"themeDark": "داكن",
|
||||||
"themeAuto": "تلقائي (حسب النظام)"
|
"themeAuto": "تلقائي (حسب النظام)"
|
||||||
|
},
|
||||||
|
"home": {
|
||||||
|
"title": "الصفحة الرئيسية",
|
||||||
|
"rwa": {
|
||||||
|
"title": "منتجات RWA",
|
||||||
|
"buy": "شراء",
|
||||||
|
"stage": "المرحلة: "
|
||||||
|
},
|
||||||
|
"news": {
|
||||||
|
"title": "الأخبار والتحديثات"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -589,5 +589,16 @@
|
|||||||
"description": "If you have any questions about these Terms of Service or need assistance, please contact us:",
|
"description": "If you have any questions about these Terms of Service or need assistance, please contact us:",
|
||||||
"email": "Email"
|
"email": "Email"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"home": {
|
||||||
|
"title": "Home",
|
||||||
|
"rwa": {
|
||||||
|
"title": "RWA Products",
|
||||||
|
"buy": "Buy",
|
||||||
|
"stage": "Stage: "
|
||||||
|
},
|
||||||
|
"news": {
|
||||||
|
"title": "News & Updates"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -595,5 +595,16 @@
|
|||||||
"description": "如果您对本服务条款有任何疑问或需要帮助,请通过以下方式联系我们:",
|
"description": "如果您对本服务条款有任何疑问或需要帮助,请通过以下方式联系我们:",
|
||||||
"email": "电子邮件"
|
"email": "电子邮件"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"home": {
|
||||||
|
"title": "首页",
|
||||||
|
"rwa": {
|
||||||
|
"title": "RWA产品",
|
||||||
|
"buy": "购 入",
|
||||||
|
"stage": "阶段:"
|
||||||
|
},
|
||||||
|
"news": {
|
||||||
|
"title": "动态新闻"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -345,5 +345,16 @@
|
|||||||
"themeLight": "淺色",
|
"themeLight": "淺色",
|
||||||
"themeDark": "深色",
|
"themeDark": "深色",
|
||||||
"themeAuto": "跟隨系統"
|
"themeAuto": "跟隨系統"
|
||||||
|
},
|
||||||
|
"home": {
|
||||||
|
"title": "首頁",
|
||||||
|
"rwa": {
|
||||||
|
"title": "RWA產品",
|
||||||
|
"buy": "購 入",
|
||||||
|
"stage": "階段:"
|
||||||
|
},
|
||||||
|
"news": {
|
||||||
|
"title": "動態新聞"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ function openNewsDetail(item: NewData) {
|
|||||||
<template>
|
<template>
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
<div class="text-md font-semibold mb-4">
|
<div class="text-md font-semibold mb-4">
|
||||||
动态新闻
|
{{ $t('home.news.title') }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-if="data?.data.length === 0">
|
<template v-if="data?.data.length === 0">
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ function handleClick(item: RwaData) {
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="text-md font-semibold">
|
<div class="text-md font-semibold">
|
||||||
RWA产品
|
{{ $t('home.rwa.title') }}
|
||||||
</div>
|
</div>
|
||||||
<template v-if="data?.data.length === 0">
|
<template v-if="data?.data.length === 0">
|
||||||
<ui-empty />
|
<ui-empty />
|
||||||
@@ -42,12 +42,12 @@ function handleClick(item: RwaData) {
|
|||||||
|
|
||||||
<ion-button size="small">
|
<ion-button size="small">
|
||||||
<ion-icon slot="start" :icon="cartOutline" />
|
<ion-icon slot="start" :icon="cartOutline" />
|
||||||
<span>购 入</span>
|
<span>{{ $t('home.rwa.buy') }}</span>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-sm font-semibold mb-2 text-text-300">
|
<div class="text-sm font-semibold mb-2 text-text-300">
|
||||||
阶段:{{ item.editionName }}
|
{{ $t('home.rwa.stage') }}{{ item.editionName }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-2xl font-bold mb-2">
|
<div class="text-2xl font-bold mb-2">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import Rwa from "./components/rwa.vue";
|
|||||||
<ion-button slot="start" fill="clear" class="z-1" @click="$router.push('/global-menu')">
|
<ion-button slot="start" fill="clear" class="z-1" @click="$router.push('/global-menu')">
|
||||||
<IconParkOutlineApplicationMenu slot="icon-only" />
|
<IconParkOutlineApplicationMenu slot="icon-only" />
|
||||||
</ion-button>
|
</ion-button>
|
||||||
<ion-title>首页</ion-title>
|
<ion-title>{{ $t('home.title') }}</ion-title>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
</ion-header>
|
</ion-header>
|
||||||
<ion-content :fullscreen="true" class="ion-padding">
|
<ion-content :fullscreen="true" class="ion-padding">
|
||||||
|
|||||||
Reference in New Issue
Block a user