Handy_Cao 5 ヶ月 前
コミット
7c240a2619

+ 4 - 1
public/locales/en-US.json

@@ -1,7 +1,10 @@
 {
     "app": {
         "name": "Muchinfo",
-        "slogan": "Digital Trading Platform\r\nModern Integrated Services"
+        "slogan": "Digital Trading Platform\r\nModern Integrated Services",
+        "close": "Close",
+        "pervious": "Previous",
+        "next": "Next"
     },
     "home": {
         "product": "Product",

+ 4 - 1
public/locales/th-TH.json

@@ -1,7 +1,10 @@
 {
     "app": {
         "name": "หลายศตวรรษ",
-        "slogan": "แพลตฟอร์มการซื้อขายดิจิทัล\r\nบริการครบวงจรที่ทันสมัย"
+        "slogan": "แพลตฟอร์มการซื้อขายดิจิทัล\r\nบริการครบวงจรที่ทันสมัย",
+        "close": "ปิด",
+        "pervious": "ตัวสุดท้าย",
+        "next": "ตัวถัดไป"
     },
     "home": {
         "product": "ผลิตภัณฑ์",

+ 4 - 1
public/locales/vi-VN.json

@@ -1,7 +1,10 @@
 {
     "app": {
         "name": "TCE",
-        "slogan": "Nền tảng đặt trước hàng hóa giao ngay của Sở Giao dịch Hàng hóa Thái Lan"
+        "slogan": "Nền tảng đặt trước hàng hóa giao ngay của Sở Giao dịch Hàng hóa Thái Lan",
+        "close": "Đóng cửa",
+        "pervious": "Bài trước",
+        "next": "Bài tiếp theo"
     },
     "home": {
         "product": "Sản phẩm",

+ 4 - 1
public/locales/zh-CN.json

@@ -1,7 +1,10 @@
 {
     "app": {
         "name": "多元世纪交易中心",
-        "slogan": "数字化交易平台\r\n现代化综合服务"
+        "slogan": "数字化交易平台\r\n现代化综合服务",
+        "close": "关闭",
+        "pervious": "上一条",
+        "next": "下一条"
     },
     "home": {
         "product": "产品",

+ 4 - 1
public/locales/zh-TW.json

@@ -1,7 +1,10 @@
 {
     "app": {
         "name": "多元世紀交易中心",
-        "slogan": "數字化交易平臺\r\n現代化綜合服務"
+        "slogan": "數字化交易平臺\r\n現代化綜合服務",
+        "close": "關閉",
+        "pervious": "上一條",
+        "next": "下一條"
     },
     "home": {
         "product": "產品",

+ 3 - 3
src/packages/mobile/App.vue

@@ -1,7 +1,7 @@
 <template>
   <router-view />
   <Notify v-model:show="notify.show" :title="notify.title" :content="notify.content" />
-  <Dialog class="g-dialog-message" v-model:show="message.show" theme="round-button" confirm-button-text="关闭">
+  <Dialog class="g-dialog-message" v-model:show="message.show" theme="round-button" :confirm-button-text="$t('app.close')">
     <template #title>
       <div class="g-dialog-message__header">
         <h4>{{ currentMessage?.title }}</h4>
@@ -10,8 +10,8 @@
     </template>
     <div class="g-dialog-message__content" v-html="currentMessage?.content"></div>
     <div class="g-dialog-message__footer" v-if="message.dataList.length > 1">
-      <span :class="{ disabled: message.index === 0 }" @click="changeMessage(-1)">上一条</span>
-      <span :class="{ disabled: message.index === (message.dataList.length - 1) }" @click="changeMessage(1)">下一条</span>
+      <span :class="{ disabled: message.index === 0 }" @click="changeMessage(-1)">{{ $t('app.pervious')  }}</span>
+      <span :class="{ disabled: message.index === (message.dataList.length - 1) }" @click="changeMessage(1)">{{ $t('app.next')  }}</span>
     </div>
   </Dialog>
 </template>