SyuanYu 7 months ago
parent
commit
150e008185
6 changed files with 20 additions and 20 deletions
  1. 5 5
      src/components/Chat.vue
  2. 2 2
      src/language/en.json
  3. 2 2
      src/language/ja.json
  4. 2 2
      src/language/ko.json
  5. 2 2
      src/language/zh.json
  6. 7 7
      src/views/HomeView.vue

+ 5 - 5
src/components/Chat.vue

@@ -2993,7 +2993,7 @@ let dialog = ref(false);
                           :href="item.info.website_url || item.info.url"
                           target="_blank"
                         >
-                          {{ t("ctaGoUrl") }}
+                          {{ t("cta_url") }}
                         </a>
                       </div>
                     </div>
@@ -3054,7 +3054,7 @@ let dialog = ref(false);
                           :href="item.info.url || item.info.website_url"
                           target="_blank"
                         >
-                          {{ t("ctaGoUrl") }}
+                          {{ t("cta_url") }}
                         </a>
                       </div>
                     </div>
@@ -3104,7 +3104,7 @@ let dialog = ref(false);
                       <span>{{ item.info.floor || item.info.price }}</span>
                       <div class="link-btn">
                         <a :href="item.info.url" target="_blank">
-                          {{ t("ctaGoUrl") }}
+                          {{ t("cta_url") }}
                         </a>
                       </div>
                     </div>
@@ -3150,7 +3150,7 @@ let dialog = ref(false);
                     <span>{{ item.info.floor || item.info.price }}</span>
                     <div class="link-btn">
                       <a :href="item.info.url" target="_blank">
-                        {{ t("ctaGoUrl") }}
+                        {{ t("cta_url") }}
                       </a>
                     </div>
                   </div>
@@ -3174,7 +3174,7 @@ let dialog = ref(false);
                   :href="message.body.store_info_url || message.body.url"
                   target="_blank"
                 >
-                  {{ t("ctaBuyNow") }}
+                  {{ t("cta_buy") }}
                 </a>
                 <a :href="message.body.website_url" target="_blank"> 官網 </a>
               </div>

+ 2 - 2
src/language/en.json

@@ -2,8 +2,8 @@
   "title": "Artificial intelligence customer service",
   "prologue": "Hello, welcome to use the Taipei 101 Intelligent Customer Service System.",
   "service": "How may I help you?",
-  "ctaBuyNow": "Buy now",
-  "ctaGoUrl": "Go now",
+  "cta_buy": "Buy now",
+  "cta_url": "Go now",
   "official_website": "Official Website",
   "featured_product": "Featured Product",
   "customer_show": "AI Customer Service",

+ 2 - 2
src/language/ja.json

@@ -2,8 +2,8 @@
   "title": "AIインテリジェントカスタマーサービス",
   "prologue": "こんにちは、台北101インテリジェントカスタマーサービスシステムをご利用いただき、ようこそ。",
   "service": "どうすればお手伝いできますか?",
-  "ctaBuyNow": "すぐに購入する",
-  "ctaGoUrl": "すぐに行く",
+  "cta_buy": "すぐに購入する",
+  "cta_url": "すぐに行く",
   "official_website": "前往官網",
   "featured_product": "主打商品",
   "customer_show": "AIインテリジェントカスタマーサービス",

+ 2 - 2
src/language/ko.json

@@ -2,8 +2,8 @@
   "title": "AI 지능 고객 서비스",
   "prologue": "안녕하세요. 타이베이 101 지능형 고객 서비스 시스템을 이용해 주셔서 환영합니다.",
   "service": "어떻게 도와드릴까요?",
-  "ctaBuyNow": "바로 구매",
-  "ctaGoUrl": "즉시 이동",
+  "cta_buy": "바로 구매",
+  "cta_url": "즉시 이동",
   "official_website": "前往官網",
   "featured_product": "主打商品",
   "customer_show": "실제 고객 상담원",

+ 2 - 2
src/language/zh.json

@@ -2,8 +2,8 @@
   "title": "AI 智能客服",
   "prologue": "您好,歡迎您使用台北101智能客服系統",
   "service": "請問有什麼可以為您服務的呢?",
-  "ctaBuyNow": "立即購票",
-  "ctaGoUrl": "立即前往",
+  "cta_buy": "立即購票",
+  "cta_url": "立即前往",
   "official_website": "前往官網",
   "featured_product": "主打商品",
   "customer_show": "叫出真人客服",

+ 7 - 7
src/views/HomeView.vue

@@ -3124,7 +3124,7 @@ async function clickBtn(type, brand, item) {
                           :href="item.info.website_url || item.info.url"
                           target="_blank"
                         >
-                          {{ t("ctaGoUrl") }}
+                          {{ t("cta_url") }}
                         </a>
                       </div>
                     </div>
@@ -3185,7 +3185,7 @@ async function clickBtn(type, brand, item) {
                           :href="item.info.url || item.info.website_url"
                           target="_blank"
                         >
-                          {{ t("ctaGoUrl") }}
+                          {{ t("cta_url") }}
                         </a>
                       </div>
                     </div>
@@ -3275,7 +3275,7 @@ async function clickBtn(type, brand, item) {
                         )
                       "
                     >
-                      {{ t("ctaGoUrl") }}
+                      {{ t("cta_url") }}
                     </button>
                     <a
                       v-if="item.info.activity && item.info.activity !== ''"
@@ -3323,7 +3323,7 @@ async function clickBtn(type, brand, item) {
                     <span>{{ item.info.floor || item.info.price }}</span>
                     <div class="link-btn">
                       <a :href="item.info.url" target="_blank">
-                        {{ t("ctaGoUrl") }}
+                        {{ t("cta_url") }}
                       </a>
                     </div>
                   </div>
@@ -3347,7 +3347,7 @@ async function clickBtn(type, brand, item) {
                   :href="message.body.store_info_url || message.body.url"
                   target="_blank"
                 >
-                  {{ t("ctaBuyNow") }}
+                  {{ t("cta_buy") }}
                 </a>
                 <a :href="message.body.website_url" target="_blank"> 官網 </a>
               </div>
@@ -3946,7 +3946,7 @@ async function clickBtn(type, brand, item) {
         <span class="price">
           <p>{{ formatPrice(secondaryAd.price) }}</p>
           <a :href="secondaryAd.url">
-            {{ t("ctaGoUrl") }}
+            {{ t("cta_url") }}
           </a>
         </span>
 
@@ -4164,7 +4164,7 @@ async function clickBtn(type, brand, item) {
 
           <div class="link-btn">
             <a :href="activityContent.purchase_url" target="_blank">
-              {{ t("ctaGoUrl") }}
+              {{ t("cta_url") }}
             </a>
           </div>
         </div>