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
This commit is contained in:
parent
fd84f1458a
commit
5ad1621c1f
@ -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": "反馈建议"
|
||||
}
|
||||
|
||||
@ -1130,21 +1130,21 @@ onUnmounted(() => {
|
||||
</router-link>
|
||||
</div>
|
||||
<div class="footer-social">
|
||||
<a href="#" class="social-icon" title="微信">
|
||||
<a href="#" class="social-icon" :title="t('WeChat')">
|
||||
<Icon icon="tabler:brand-wechat" />
|
||||
</a>
|
||||
<a href="#" class="social-icon" title="微博">
|
||||
<a href="#" class="social-icon" :title="t('Weibo')">
|
||||
<Icon icon="ant-design:weibo-outlined" />
|
||||
</a>
|
||||
<a href="#" class="social-icon" title="抖音">
|
||||
<a href="#" class="social-icon" :title="t('TikTok')">
|
||||
<Icon icon="tabler:brand-tiktok" />
|
||||
</a>
|
||||
<a href="#" class="social-icon" title="知乎">
|
||||
<a href="#" class="social-icon" :title="t('Zhihu')">
|
||||
<Icon icon="ant-design:zhihu-square-filled" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="footer-copyright">
|
||||
<p class="copyright-text">© {{ currentYear }} 广州市向日葵网络信息科技有限公司版权所有</p>
|
||||
<p class="copyright-text">© {{ currentYear }} {{ t('Guangzhou Sunflower Network Information Technology Co., Ltd.') }} {{ t('All Rights Reserved') }}</p>
|
||||
<p class="icp-text">
|
||||
<a href="https://beian.miit.gov.cn" target="_blank" rel="noopener noreferrer">粤ICP备20016818号</a>
|
||||
</p>
|
||||
@ -1154,28 +1154,28 @@ onUnmounted(() => {
|
||||
<!-- 右侧:三列链接 -->
|
||||
<div class="footer-right">
|
||||
<div class="footer-column">
|
||||
<h3 class="footer-title">产品与服务</h3>
|
||||
<h3 class="footer-title">{{ t('Products & Services') }}</h3>
|
||||
<ul class="footer-links">
|
||||
<li><a href="https://jingrow.com" target="_blank">Jingrow</a></li>
|
||||
<li><a href="https://jingrowtools.com" target="_blank">Jingrow工具箱</a></li>
|
||||
<li><a href="https://jingrowtools.com" target="_blank">{{ t('Jingrow Tools') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-column">
|
||||
<h3 class="footer-title">资源中心</h3>
|
||||
<h3 class="footer-title">{{ t('Resources') }}</h3>
|
||||
<ul class="footer-links">
|
||||
<li><a href="#">应用场景</a></li>
|
||||
<li><a href="#">API及价格</a></li>
|
||||
<li><a href="#">开发者文档</a></li>
|
||||
<li><a href="#">探索与研究</a></li>
|
||||
<li><a href="#">{{ t('Use Cases') }}</a></li>
|
||||
<li><a href="#">{{ t('API & Pricing') }}</a></li>
|
||||
<li><a href="#">{{ t('Developer Documentation') }}</a></li>
|
||||
<li><a href="#">{{ t('Research & Exploration') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-column">
|
||||
<h3 class="footer-title">支持与帮助</h3>
|
||||
<h3 class="footer-title">{{ t('Support & Help') }}</h3>
|
||||
<ul class="footer-links">
|
||||
<li><a href="#">使用教程</a></li>
|
||||
<li><a href="#">常见问题</a></li>
|
||||
<li><a href="#">在线客服</a></li>
|
||||
<li><a href="#">反馈建议</a></li>
|
||||
<li><a href="#">{{ t('Tutorials') }}</a></li>
|
||||
<li><a href="#">{{ t('FAQ') }}</a></li>
|
||||
<li><a href="#">{{ t('Online Support') }}</a></li>
|
||||
<li><a href="#">{{ t('Feedback & Suggestions') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user