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

101 lines
3.5 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' },
// Embed carousel iframe page (P4b Task 4): subset driven by the lang query.
embed: {
comingSoon: 'Photos coming soon',
openPhoto: 'Open photo',
close: 'Collapse widget',
widgetTitle: 'Event photos',
carouselLabel: 'Photo carousel',
slideOf: 'Photo {n} of {m}',
photoAlt: 'Event photo {n}',
viewAlbum: 'View album',
pause: 'Pause carousel',
play: 'Play carousel',
prev: 'Previous photo',
next: 'Next photo',
},
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',
// 轮播中被移除(ws photo.hidden)的轻提示。
photoRemoved: 'This photo has been removed',
backToAlbum: 'Back to album',
// —— UI-02 (V01/V02) additions ——
brand: 'PhotoLive',
settings: 'Settings',
share: 'Share',
shareCopied: 'Link copied',
shareCopyFailed: 'Copy failed — please copy the link manually:',
views: '{count} views',
viewsUnknown: '—',
readMore: 'More',
readLess: 'Less',
latest: 'Latest',
popular: 'Popular',
allCategories: 'All',
noPhotos: 'Photos coming soon',
newPhotos: 'New photos',
reduceMotion: 'Reduce motion',
},
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',
// DOWNLOAD_DISABLED (P4a two-tier download switches): visible but not downloadable.
downloadDisabled: 'Downloads are not enabled for this album',
},
};