refactor: internationalize sample images section title
- Replace hardcoded text with i18n function in HomePage.vue - Add Chinese translation for 'Click image to try' in zh-CN.json - Update sample images section title to support multiple languages
This commit is contained in:
parent
ad43d0f8bb
commit
6dce73f6b4
@ -1192,13 +1192,5 @@
|
|||||||
"URL": "URL",
|
"URL": "URL",
|
||||||
"Created": "创建时间",
|
"Created": "创建时间",
|
||||||
"Last Updated": "最后更新",
|
"Last Updated": "最后更新",
|
||||||
"工具文件URL或仓库地址不存在": "工具文件URL或仓库地址不存在",
|
"Click image to try": "点击图片快速体验"
|
||||||
"正在准备安装...": "正在准备安装...",
|
|
||||||
"正在下载工具包...": "正在下载工具包...",
|
|
||||||
"正在安装工具...": "正在安装工具...",
|
|
||||||
"从Git仓库安装工具功能暂未实现": "从Git仓库安装工具功能暂未实现",
|
|
||||||
"无法确定安装方式": "无法确定安装方式",
|
|
||||||
"工具安装成功!": "工具安装成功!",
|
|
||||||
"工具安装成功": "工具安装成功",
|
|
||||||
"安装失败": "安装失败"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1052,7 +1052,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<!-- 示例图片区块 -->
|
<!-- 示例图片区块 -->
|
||||||
<div v-if="!uploadedImage" class="sample-images-section">
|
<div v-if="!uploadedImage" class="sample-images-section">
|
||||||
<p class="sample-images-title">快速体验</p>
|
<p class="sample-images-title">{{ t('Click image to try') }}</p>
|
||||||
<div class="sample-images-container">
|
<div class="sample-images-container">
|
||||||
<div
|
<div
|
||||||
v-for="sample in sampleImages"
|
v-for="sample in sampleImages"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user