From 13fdec319af337987fc3bdbdc3497c2f84c8f0fe Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Sun, 1 Dec 2024 15:54:54 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(subscribe):=20Jumps=20and=20?= =?UTF-8?q?internationalization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/locales/en-US/subscribe.json | 2 +- apps/admin/locales/zh-CN/subscribe.json | 2 +- apps/user/components/main/product-showcase.tsx | 5 +++-- apps/user/locales/en-US/index.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/admin/locales/en-US/subscribe.json b/apps/admin/locales/en-US/subscribe.json index 1f9b746..6a32821 100644 --- a/apps/admin/locales/en-US/subscribe.json +++ b/apps/admin/locales/en-US/subscribe.json @@ -66,7 +66,7 @@ "quota": "Purchase Limit/Time", "replacement": "Reset Price/Time", "sell": "Sell", - "show": "Show", + "show": "Home display", "subscribe": "Subscribe", "subscribeGroup": "Subscription Group", "tabs": { diff --git a/apps/admin/locales/zh-CN/subscribe.json b/apps/admin/locales/zh-CN/subscribe.json index 16aaba3..33d5df8 100644 --- a/apps/admin/locales/zh-CN/subscribe.json +++ b/apps/admin/locales/zh-CN/subscribe.json @@ -66,7 +66,7 @@ "quota": "限购/次", "replacement": "重置价格/次", "sell": "销售", - "show": "显示", + "show": "首页显示", "subscribe": "订阅", "subscribeGroup": "订阅组", "tabs": { diff --git a/apps/user/components/main/product-showcase.tsx b/apps/user/components/main/product-showcase.tsx index c7955e2..4d0f9b5 100644 --- a/apps/user/components/main/product-showcase.tsx +++ b/apps/user/components/main/product-showcase.tsx @@ -11,6 +11,7 @@ import { Separator } from '@shadcn/ui/separator'; import { useQuery } from '@tanstack/react-query'; import { motion } from 'framer-motion'; import { useTranslations } from 'next-intl'; +import Link from 'next/link'; export function ProductShowcase() { const t = useTranslations('index'); @@ -118,9 +119,9 @@ export function ProductShowcase() { diff --git a/apps/user/locales/en-US/index.json b/apps/user/locales/en-US/index.json index d52d41e..0b5e602 100644 --- a/apps/user/locales/en-US/index.json +++ b/apps/user/locales/en-US/index.json @@ -1,6 +1,6 @@ { "global_map_description": "Explore seamless global connectivity. Choose network services that suit your needs and stay connected anytime, anywhere.", - "global_map_title": "Global Connectivity, Effortless Peace of Mind", + "global_map_itle": "Global Connection, Easy and Worry-free", "locations": "Locations", "per_month": "Per Month", "product_showcase_description": "Let us help you select the package that best suits you and enjoy exploring it.",