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,4 +1,23 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Material Search',
|
||||
|
||||
seal: {
|
||||
medium: {
|
||||
search: {
|
||||
// Search input placeholder
|
||||
placeholder: "Enter medium name e.g. 'gasoline'",
|
||||
// Search results title
|
||||
searchResult: 'Search Results',
|
||||
// Empty state text
|
||||
noData: 'No Data',
|
||||
// Modal title
|
||||
tip: 'Tip',
|
||||
// Delete all history confirmation
|
||||
confirmDeleteAllHistory: 'Confirm delete all history?',
|
||||
// Delete single history record confirmation
|
||||
confirmDeleteHistory: 'Confirm delete this history record?',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user