1. 新增大量中英文语言包文件,覆盖自定义组件、页面、工具类的文案 2. 替换硬编码文本为多语言调用,统一全局文案管理 3. 优化语言包结构,拆分公共模块与业务模块 4. 修复部分语言加载与国际化适配问题
53 lines
1.1 KiB
JavaScript
53 lines
1.1 KiB
JavaScript
export const lang = {
|
|
// title is the title of each page
|
|
title: 'Product List',
|
|
|
|
// Search box placeholder
|
|
searchPlaceholder: 'Please enter the product you want to search for',
|
|
|
|
// Default button text
|
|
buyText: 'Buy',
|
|
|
|
// Sort options
|
|
sort: {
|
|
comprehensive: 'Comprehensive',
|
|
sales: 'Sales',
|
|
price: 'Price',
|
|
filter: 'Filter',
|
|
},
|
|
|
|
// Goods list
|
|
goods: {
|
|
consultNow: 'Consult Now',
|
|
sold: 'Sold {num}{unit}',
|
|
defaultUnit: 'pcs',
|
|
noGoods: 'No products',
|
|
},
|
|
|
|
// Filter drawer
|
|
filter: {
|
|
title: 'Filter',
|
|
allCategories: 'All Categories',
|
|
all: 'All',
|
|
reset: 'Reset',
|
|
confirm: 'Confirm',
|
|
},
|
|
|
|
// Modal dialog
|
|
modal: {
|
|
title: 'Notice',
|
|
merchantNotExist: 'Merchant does not exist',
|
|
},
|
|
|
|
// Share title
|
|
shareTitle: 'Found {count} quality products related to "{keyword}"',
|
|
|
|
// Price filter messages
|
|
priceFilter: {
|
|
pleaseEnterMaxPrice: 'Please enter the maximum price',
|
|
priceCannotBeLessThanZero: 'Filter price cannot be less than 0',
|
|
minCannotExceedMax: 'Minimum price cannot exceed maximum price',
|
|
maxCannotBeLessThanMin: 'Maximum price cannot be less than minimum price',
|
|
},
|
|
}
|