From 5ad1621c1f622b9e745a0b5d41589ecb54e8f025 Mon Sep 17 00:00:00 2001 From: jingrow Date: Fri, 26 Dec 2025 21:40:24 +0800 Subject: [PATCH] refactor: internationalize footer menu and copyright text - Replace hardcoded Chinese text in footer with t() function calls - Internationalize footer menu titles (Products & Services, Resources, Support & Help) - Internationalize footer menu links (Use Cases, API & Pricing, Developer Documentation, etc.) - Internationalize social media icon titles (WeChat, Weibo, TikTok, Zhihu) - Internationalize copyright text and company name - Add Chinese translations for all new i18n keys in zh-CN.json --- apps/jingrow/frontend/src/locales/zh-CN.json | 18 ++++++++++- apps/jingrow/frontend/src/views/HomePage.vue | 34 ++++++++++---------- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/apps/jingrow/frontend/src/locales/zh-CN.json b/apps/jingrow/frontend/src/locales/zh-CN.json index 16c3171..113d58c 100644 --- a/apps/jingrow/frontend/src/locales/zh-CN.json +++ b/apps/jingrow/frontend/src/locales/zh-CN.json @@ -1218,5 +1218,21 @@ "Failed to load sample image": "加载示例图片失败", "Failed to remove background": "去背景失败", "Failed to load image from URL": "从URL加载图片失败", - "Sign up successful, but auto login failed. Please login manually": "注册成功,但自动登录失败,请手动登录" + "Sign up successful, but auto login failed. Please login manually": "注册成功,但自动登录失败,请手动登录", + "WeChat": "微信", + "Weibo": "微博", + "TikTok": "抖音", + "Zhihu": "知乎", + "Products & Services": "产品与服务", + "Jingrow Tools": "Jingrow工具箱", + "Resources": "资源中心", + "Use Cases": "应用场景", + "API & Pricing": "API及价格", + "Developer Documentation": "开发者文档", + "Research & Exploration": "探索与研究", + "Support & Help": "支持与帮助", + "Tutorials": "使用教程", + "FAQ": "常见问题", + "Online Support": "在线客服", + "Feedback & Suggestions": "反馈建议" } diff --git a/apps/jingrow/frontend/src/views/HomePage.vue b/apps/jingrow/frontend/src/views/HomePage.vue index 832d1f8..d1f2eed 100644 --- a/apps/jingrow/frontend/src/views/HomePage.vue +++ b/apps/jingrow/frontend/src/views/HomePage.vue @@ -1130,21 +1130,21 @@ onUnmounted(() => {