feat: add and optimize multilingual text resources

- add new language packs for multiple pages and components including category, cart, order, member center, distribution, etc.
- add Chinese and English translations for new features and UI text
- fix navigation service error message to use multilingual text
- update component templates to use dynamic language translation instead of hardcoded text
- adjust code indentation and formatting for consistency
This commit is contained in:
2026-06-26 13:49:26 +08:00
parent 66a579d48c
commit f7fb9f34f9
116 changed files with 1640 additions and 525 deletions

View File

@@ -1,5 +1,6 @@
import { EventSafety } from '@/common/js/event-safety.js'
import util from '@/common/js/util.js'
import Lang from '@/common/js/lang.js'
export class NavigationHelper {
constructor() {
@@ -260,7 +261,7 @@ export class NavigationHelper {
}
// 显示用户友好的错误信息
this.showError('导航服务暂时不可用')
this.showError(Lang.lang('navigation.serviceUnavailable'))
}
// 显示错误提示