Update upload hint text to explicitly indicate image upload

- Change 'Click or drag to upload' to 'Click or drag to upload image'
- Update translation key in PublishTool.vue and PublishApp.vue
- Add new translation entry in zh-CN.json
- Improve user clarity by explicitly stating image upload requirement
This commit is contained in:
jingrow 2025-12-19 23:11:41 +08:00
parent c49fa9feee
commit 286a9aa21e
3 changed files with 4 additions and 3 deletions

View File

@ -995,7 +995,8 @@
"App name": "应用名称",
"Repository URL": "仓库地址",
"Drop image here": "拖拽图片到此处",
"Click or drag to upload": "点击或拖拽上传",
"Click or drag to upload": "点击或拖拽上传图片",
"Click or drag to upload image": "点击或拖拽上传图片",
"Remove": "删除",
"Sort by": "排序方式",
"Latest": "最新",

View File

@ -59,7 +59,7 @@
</div>
<div v-else class="placeholder-image">
<n-icon size="80"><Icon icon="tabler:apps" /></n-icon>
<p class="upload-hint">{{ t('Click or drag to upload') }}</p>
<p class="upload-hint">{{ t('Click or drag to upload image') }}</p>
</div>
<div v-if="isDragOver" class="drag-overlay">
<n-icon size="60"><Icon icon="tabler:upload" /></n-icon>

View File

@ -59,7 +59,7 @@
</div>
<div v-else class="placeholder-image">
<n-icon size="80"><Icon icon="tabler:tool" /></n-icon>
<p class="upload-hint">{{ t('Click or drag to upload') }}</p>
<p class="upload-hint">{{ t('Click or drag to upload image') }}</p>
</div>
<div v-if="isDragOver" class="drag-overlay">
<n-icon size="60"><Icon icon="tabler:upload" /></n-icon>