Explorar el Código

add more i18n

Timmy hace 1 año
padre
commit
bf7e861db7

+ 2 - 0
hichina-main-front-mobile-first/src/i18n/en-US/index.js

@@ -36,4 +36,6 @@ export default {
   enter_email: "Enter your email",
   enter_password: "Enter your password",
   confirm_password: "Confirm your password",
+  place_to_go_in: "Place to go in",
+  guidebook_of: "Guidebook of",
 };

+ 5 - 0
hichina-main-front-mobile-first/src/i18n/ko-KR/index.js

@@ -34,4 +34,9 @@ export default {
   search_by_title: "제목으로 검색",
   deals_for_you: "당신을 위한 거래",
   seasonal_recommendation: "계절 추천",
+  // enter_email: "Enter your email",
+  // enter_password: "Enter your password",
+  // confirm_password: "Confirm your password",
+  // place_to_go_in: "Place to go in",
+  // guidebook_of: "Guidebook of",
 };

+ 5 - 0
hichina-main-front-mobile-first/src/i18n/ru-RU/index.js

@@ -34,4 +34,9 @@ export default {
   search_by_title: "Поиск по названию",
   deals_for_you: "Предложения для вас",
   seasonal_recommendation: "Seasonal Recommendation",
+  enter_email: "Enter your email",
+  enter_password: "Enter your password",
+  confirm_password: "Confirm your password",
+  place_to_go_in: "Place to go in",
+  guidebook_of: "Guidebook of",
 };

+ 2 - 0
hichina-main-front-mobile-first/src/i18n/th-TH/index.js

@@ -36,4 +36,6 @@ export default {
   enter_email: "กรุณากรอกอีเมลของคุณ",
   enter_password: "กรุณากรอกรหัสผ่านของคุณ",
   confirm_password: "กรุณายืนยันรหัสผ่านของคุณ",
+  place_to_go_in: "สถานที่น่าไปใน",
+  guidebook_of: "คู่มือท่องเที่ยวของ",
 };

+ 2 - 2
hichina-main-front-mobile-first/src/pages/DestinationDetailPage.vue

@@ -34,7 +34,7 @@
             <div v-html="description"></div>
           </div>
           <div class="q-pa-md text-h4" style="margin-top: auto">
-            Guidebook of {{ destinationName }}
+            {{ $t("guidebook_of") }} {{ destinationName }}
             <q-btn class="primary" color="primary" @click="goDownload">
               <q-icon left size="3em" name="download" />
               <div>Download</div>
@@ -53,7 +53,7 @@
         margin-left: 30px;
       "
     >
-      Places to go in {{ destinationName }}
+      {{ $t("place_to_go_in") }} {{ destinationName }}
     </div>
 
     <div