Files
photo-live/apps/viewer/src/i18n/locales/en.ts
T

66 lines
2.4 KiB
TypeScript
Raw Normal View History

export default {
app: { title: 'Live Gallery' },
home: { hint: 'Open an album link to start viewing' },
album: {
loading: 'Loading…',
loadingMore: 'Loading more…',
emptyNotice: 'Photos coming soon',
time: 'Time',
venue: 'Venue',
views: 'Views',
categories: 'Categories',
all: 'All',
sortLabel: 'Sort',
sortLatest: 'Latest',
sortHot: 'Popular',
end: 'You have reached the end',
newPhotos: 'New photos — tap to refresh',
retry: 'Retry',
},
lang: { switch: 'Switch language' },
prefs: { reduceMotion: 'Reduce motion' },
download: {
action: 'Download photo',
original: 'Download original',
options: 'Download options',
busy: 'Preparing…',
failed: 'Download failed, please try again',
// WeChat in-app browser guidance (no programmatic download): long-press save + copy link.
wechatTitle: 'How to save this photo',
wechatHint: 'Pages opened inside WeChat cannot download directly. Long-press the photo above to save it, or copy the link and open it in a browser to download.',
copyLink: 'Copy link',
copied: 'Link copied',
copyFailed: 'Copy failed — long-press to select the link below',
dismiss: 'Got it',
},
viewer: {
title: 'Photo viewer',
close: 'Close',
previous: 'Previous photo',
next: 'Next photo',
counter: '{current} / {total}',
like: 'Like',
likeCount: '{count} likes',
bubbleOpen: 'Open the liked photo',
loadFailed: 'Failed to load image',
// PHOTO_NOT_PUBLIC 专用:not found / unpublished / hidden share one code (anti-enumeration).
photoUnavailable: 'Photo not found or unavailable',
backToAlbum: 'Back to album',
},
route: { tokenLabel: 'Album token', photoLabel: 'Photo' },
errors: {
albumNotFound: 'Album not found',
// ALBUM_NOT_PUBLIC 专用:offline / disabled / ghost token 同码(防枚举)。
albumNotAvailable: 'Album not found or offline',
photoNotFound: 'Photo not found',
notFound: 'Page not found',
authExpired: 'Session expired',
forbidden: 'Access denied',
rateLimited: 'Too many requests, please try again later',
validationFailed: 'Invalid request',
internal: 'Service temporarily unavailable, please try again later',
unknown: 'Something went wrong, please try again later',
network: 'Network error, please check your connection',
},
};