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

187 lines
4.9 KiB
JavaScript

export const lang = {
//title为每个页面的标题
title: 'Product Details',
details:'Details',
document:'Document',
home:'Home',
cart:'Cart',
leave:'leave a message',
make:'make an appointment',
makebtn:'make',
commissiontext: 'Commission',
sales:'sales',
stock:'stock',
send:'send',
express:'Express Delivery',
commission:'Commission Details',
express:'Express Delivery',
addcart:'Add Cart',
buynow:'Buy Now',
status:'Goods Off',
sellout:'Sell Out',
max:'Maximum',
select: 'Select',
params: 'Parameters',
service: 'Product Service',
allGoods: 'All Products',
image: 'Image',
video: 'Video',
kefu:'Contact',
follow:'Follow',
spec:'Spec',
// SKU related
stockInsufficient: 'Insufficient stock',
offShelves: 'This product has been removed',
soldOut: 'Sold out',
buyCountNotZero: 'Purchase quantity cannot be less than or equal to 0',
stockLessThanMinBuy: 'Stock is less than minimum purchase quantity',
purchaseLimit: 'Limit {count} {unit} per person',
purchaseLimitWithPurchased: 'Limit {count} {unit} per person, you have purchased {purchased} {unit}',
maxPurchasePerTime: 'Maximum purchase of {count} {unit} per time',
selectedSpec: 'Selected: ',
buyCount: 'Purchase Quantity',
exchangeCount: 'Exchange Quantity',
joinCart: 'Add to Cart',
confirmBtn: 'Confirm',
rushBuy: 'Buy Now',
exchangeBtn: 'Exchange',
addToCartSuccess: 'Added to cart successfully',
minBuyStart: 'Minimum order: {minBuy} {unit}',
balanceLabel: 'Balance',
pointLabel: 'Points: ',
stockLabel: 'Stock: ',
groupOfNum: '{num}-person group',
limitPerPerson: 'Limit: {count} {unit}/person',
limitBuyRange: 'From {minBuy} {unit}, limit {maxBuy} {unit}',
limitBuyMax: 'Limit: {maxBuy} {unit}',
previewCannotBuy: 'Preview products cannot be purchased',
specNotInBale: 'This spec is not in the bale activity',
goodsStockInsufficient: 'Insufficient product stock',
goodsAddCartSuccess: 'Product added to cart successfully',
selected: 'Selected: ',
startingNum: 'Min. order: {num} pcs',
goodsOffShelves: 'Product has been removed',
// Price & Promotion
limitedTimeDiscount: 'Limited Time Discount',
sold: 'Sold',
countdownEndsIn: 'Ends In',
originalPrice: 'Original Price',
// Combo Package
comboPackage: 'Combo Package',
comboPrice: 'Combo Price',
// Coupons
coupons: 'Coupons',
discountOff: '% off',
minSpendAvailable: 'Min. spend {amount}',
noThreshold: 'No threshold',
maxDiscount: 'Max discount: {symbol}{amount}',
validUntilDate: 'Valid until: {date}',
validForDays: 'Valid for {days} days after claiming',
validPermanent: 'Valid: Permanent',
couponSoldOut: 'Sold out',
couponClaimed: 'Claimed',
couponReceive: 'Claim',
couponAlreadyClaimed: 'You have already claimed this coupon',
couponClaimSuccess: 'Coupon claimed successfully',
// Promotions
promotion: 'Promotion',
fullReduction: 'Full Reduction',
fullGift: 'Full Gift',
freeShipping: 'Free Shipping',
// Manjian promotion text templates
manjianUnitYuan: 'yuan',
manjianUnitPiece: 'pcs',
manjianItemSeparator: '; ',
fullReductionItem: 'Spend {limit} {unit}, save {money}',
fullGiftPoints: '{point} points',
fullGiftDiscountCoupon: '{count} {discount}% off coupon(s)',
fullGiftMoneyCoupon: '{count} {money} yuan coupon(s)',
fullGiftConnector: ' + ',
fullGiftItem: 'Spend {limit} {unit}, get {gift}',
freeShippingItem: 'Free shipping on {limit} {unit}',
// Product Message
productMessage: 'Product Message',
// AI Customer Service
aiCustomerService: 'AI Assistant',
// Contact Popup
dialOnMobile: 'Dial {phone} on mobile',
cancel: 'Cancel',
copyToClipboard: 'Copy to Clipboard',
copySuccess: 'Copied successfully',
// Common Button
confirm: 'Confirm',
// Goods detail view component (goods-detail-view)
detailView: {
// Delivery area
notConfigured: 'Not configured',
serviceLabel: 'Service',
// Merchant certification
officialCertifiedMerchant: 'Officially certified merchant, trustworthy!',
// Popup titles
deliveryTitle: 'Delivery',
merchantsServiceTitle: 'Product Services',
storeListTitle: 'Store List',
// Store related
distance: '{distance} away',
businessHours: 'Hours: {time}',
// Community
addCommunity: 'Add',
// Evaluate area
evaluate: 'Reviews',
noEvaluate: 'No reviews yet',
viewAll: 'View all',
// Spec attributes
specAttrTitle: 'Specifications',
expand: 'Expand',
collapse: 'Collapse',
// PDF document
defaultDocName: 'Product Document',
viewDocDetail: 'Click to view document details',
view: 'View',
// Poster
saveImage: 'Save Image',
longPressToSave: 'Long press to save',
// Share popup
shareTitle: 'Share',
shareToFriends: 'Share to Friends',
shareToGoodsCircle: 'Share to Good Circle',
generateSharePoster: 'Generate Poster',
copyLink: 'Copy Link',
cancelShare: 'Cancel',
// Toast messages
posterGenerating: 'Generating poster...',
saveSuccess: 'Saved successfully',
saveFailed: 'Save failed, please try again later',
loading: 'Loading',
fileNotExist: 'File does not exist',
}
}