1. 新增多语言文件覆盖组件、页面、公共模块的翻译文案 2. 修复多处动态拼接lang key的调用,增加兜底逻辑避免空值或原始key暴露 3. 补全DIY组件、业务页面的国际化适配 4. 新增P2动态key国际化处理方案文档
26 lines
809 B
JavaScript
26 lines
809 B
JavaScript
export const lang = {
|
|
//title为每个页面的标题
|
|
title: 'Product List',
|
|
Random:'Comprehensive',
|
|
Sales:'Sales',
|
|
Price:'Price',
|
|
Filter:'Filter',
|
|
Search:'Please enter the product you want to search',
|
|
Make:'Consult',
|
|
noProducts: 'No products',
|
|
allCategories: 'All Categories',
|
|
all: 'All',
|
|
reset: 'Reset',
|
|
confirm: 'Confirm',
|
|
soldCount: 'Sold {count} {unit}',
|
|
soldUnitDefault: 'pcs',
|
|
shareTitle: 'Found {count} quality products related to "{keyword}"',
|
|
enterMaxPrice: 'Please enter the maximum price',
|
|
priceCannotBeNegative: 'Filter price cannot be less than 0',
|
|
minPriceGreaterThanMax: 'Minimum price cannot be greater than maximum price',
|
|
maxPriceLessThanMin: 'Maximum price cannot be less than minimum price',
|
|
|
|
// pages_goods/public/js/list.js new translation items
|
|
buyText: 'Buy',
|
|
}
|