i18n: replace hardcoded strings with language translations

批量将项目中多处硬编码的文本替换为多语言翻译条目,统一项目文案管理,提升多语言适配效率,包括导航提示、操作反馈、空状态提示、表单占位符等各类文本内容。
This commit is contained in:
2026-06-22 17:59:25 +08:00
parent 4715f06b2f
commit b30ba914b9
59 changed files with 212 additions and 213 deletions

View File

@@ -38,13 +38,13 @@ export default {
},
computed: {
textVal() {
return '该店铺已打烊...';
return this.$lang('storeclose.storeClosed');
},
pageVal() {
if (this.$store.state.siteState == -2) {
return '店铺不存在';
return this.$lang('storeclose.storeNotExist');
} else if (this.$store.state.siteState == -3) {
return '店铺打烊';
return this.$lang('storeclose.storeClosed');
}
}
},