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:
@@ -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'))
|
||||
}
|
||||
|
||||
// 显示错误提示
|
||||
|
||||
Reference in New Issue
Block a user