1. add empty form tip for product message section 2. lazy load goods form to unblock initial page render 3. optimize category and tabbar rendering to fix flicker on WeChat mini-program 4. delay non-critical data processing to improve first-screen rendering speed 5. fix popup blank issue when opening product message form for the first time
188 lines
5.0 KiB
JavaScript
188 lines
5.0 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',
|
|
formEmptyTip: 'No message fields to fill',
|
|
|
|
// 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',
|
|
}
|
|
}
|