vending-machine/mobile/i18n/en.js
2026-04-11 16:31:36 +08:00

137 lines
3.3 KiB
JavaScript

// English language pack
export default {
// Common
common: {
confirm: 'OK',
cancel: 'Cancel',
loading: 'Loading...',
noMore: 'No more data',
networkError: 'Network connection failed, please check your network',
timeout: 'Network timeout, please try again',
serverError: 'Server is busy, please try again later',
retry: 'Retry'
},
// TabBar
tabBar: {
home: 'Home',
mine: 'Me'
},
// Login page
login: {
title: 'Login',
phonePlaceholder: 'Enter phone number',
codePlaceholder: 'Enter verification code',
sendCode: 'Send Code',
resendCode: 'Resend in {seconds}s',
loginBtn: 'Login',
agreementTip: 'Please read and agree to the terms',
agreementPrefix: 'I have read and agree to the',
userAgreement: 'User Agreement',
and: 'and',
privacyPolicy: 'Privacy Policy'
},
// Home page
home: {
title: 'Home',
membership: 'Membership',
stamps: 'Stamps',
qrcode: 'QR Code',
guide: 'Guide',
redeemableCoupons: 'Redeemable Coupons',
redeemBtn: 'Redeem',
redeemSuccess: 'Redeemed successfully',
redeemFail: 'Insufficient points',
couponOffline: 'Coupon is no longer available',
pointsRequired: '{points} pts'
},
// QR Code
qrcode: {
title: 'Member QR Code',
expireIn: 'Expires in {time}',
refreshing: 'Refreshing...'
},
// Membership page
membership: {
title: 'Membership',
joinBtn: 'Join Now',
joinedBtn: 'Already a Member',
subscribeBtn: 'Subscribe',
subscribedBtn: 'Subscribed',
payFail: 'Payment failed, please try again',
payNotSupported: 'Payment not supported on this device',
payConfirmPending: 'Payment completed, membership will update shortly'
},
// Stamps page
stamps: {
title: 'Holiday Stamps',
redeemBtn: 'Redeem',
redeemedBtn: 'Redeemed'
},
// Mine page
mine: {
title: 'Me',
loginBtn: 'Login',
points: 'Points',
giftPoints: 'Gift Points',
myCoupons: 'My Coupons',
switchLang: 'Language',
userAgreement: 'User Agreement',
privacyPolicy: 'Privacy Policy',
about: 'About',
logout: 'Logout',
logoutConfirm: 'Are you sure you want to logout?',
giftSuccess: 'Points gifted successfully',
giftInsufficient: 'Insufficient points to gift'
},
// Gift points popup
giftPoints: {
title: 'Gift Points',
uidPlaceholder: 'Enter recipient UID',
pointsPlaceholder: 'Enter points amount',
giftBtn: 'Gift'
},
// Points page
points: {
title: 'My Points',
earnTab: 'Earned',
spendTab: 'Spent'
},
// Coupons page
coupons: {
title: 'My Coupons',
availableTab: 'Available',
usedTab: 'Used',
expiredTab: 'Expired',
usedLabel: 'Used',
expiredLabel: 'Expired'
},
// Redeem popup
redeem: {
title: 'Confirm Redeem',
pointsNeeded: 'Points needed: {points}',
confirmBtn: 'Confirm'
},
// Content pages
agreement: {
title: 'User Agreement'
},
privacy: {
title: 'Privacy Policy'
},
// About page
about: {
title: 'About',
version: 'Version {version}',
deleteAccount: 'Delete Account',
deleteConfirm: 'Are you sure? This action cannot be undone.',
deleteSuccess: 'Account deleted'
},
// Language picker
language: {
title: 'Select Language',
zhCN: '简体中文',
zhTW: '繁體中文',
en: 'English'
}
}