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

45 lines
1.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',
categories: 'Categories',
all: 'All',
end: 'You have reached the end',
newPhotos: 'New photos — tap to refresh',
retry: 'Retry',
},
lang: { switch: 'Switch language' },
viewer: {
title: 'Photo viewer',
close: 'Close',
previous: 'Previous photo',
next: 'Next photo',
counter: '{current} / {total}',
likeCount: '{count} likes',
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',
},
};