Files
lucky_shop/lang/zh-cn/merch/edit.js
ZF sun 066ca61d97 feat: 新增多语言文案与组件国际化适配
本次提交完成了大量多语言相关的新增与优化工作:
1. 新增充值、案例、会员资产、订单等页面的中文/英文翻译文案
2. 新增企业微信客服、时间选择、支付弹窗等组件的多语言包
3. 优化工具函数与自定义页面的多语言适配,替换硬编码提示文案
4. 新增会员等级规则、积分商品、退款管理等页面的国际化支持
5. 修复企业微信JS-SDK的错误提示文案硬编码问题
2026-06-26 09:09:46 +08:00

73 lines
1.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export const lang = {
//title为每个页面的标题
title: '编辑商品',
addTitle: '添加商品',
// 商品状态
grounding: {
offShelf: '下架',
onShelf: '上架',
},
// 提货方式
pickupType: {
sameDay: '当日达',
nextDay: '次日达',
dayAfter: '隔日达',
},
// 虚拟发货方式
virtualDeliver: {
auto: '自动发货',
manual: '手动发货',
verify: '到店核销',
},
// 虚拟收货方式
virtualReceive: {
auto: '自动收货',
buyerConfirm: '买家确认收货',
},
// 核销有效期类型
validityType: {
permanent: '永久',
daysAfterPurchase: '购买后几日有效',
specifiedDate: '指定过期日期',
},
// 卡密
carmi: {
add: '添加卡密',
addWithCount: '添加卡密【{count}】',
},
// 限购类型
limitType: {
single: '单次限购',
longTerm: '长期限购',
},
// 提示消息
message: {
goodsNotExist: '商品不存在',
maxCategory: '商品可以属于多个分类,最多10个',
pleaseEnterGoodsName: '请输入商品名称',
subtitleMaxLength: '商品简介不能超过{max}个字符',
pleaseUploadGoodsImage: '请上传商品图片',
pleaseEnterSalePrice: '请输入销售价',
salePriceFormatError: '[销售价]格式输入错误',
originalPriceFormatError: '[原价价]格式输入错误',
pleaseEnterStock: '请输入库存',
stockFormatError: '[库存]格式输入错误',
minOrderFormatError: '[起售]格式输入错误',
minOrderNotLessThanZero: '起售数量不能小于0',
},
// 下拉默认选项
placeholder: {
selectGoodsForm: '请选择商品表单',
selectSupplier: '请选择供应商',
},
}