// common namespace — app shell (menu / top bar / login / shared components / status) export default { appName: 'LokiStack', menu: { groups: { resources: 'Resources', services: 'Log Service', system: 'Users & Audit', }, dashboard: 'Dashboard', wizard: 'Deploy Wizard', clusters: 'Clusters', hosts: 'Hosts', storage: 'Storage', deployments: 'Component Deploy', collectors: 'Log Collectors', logs: 'Log Query', alerts: 'Alerts', analysis: 'Log Analysis', settings: 'Settings', users: 'Users', audit: 'Audit Log', login: 'Sign In', notFound: 'Page Not Found', }, layout: { nav: 'Main navigation', sheetTitle: 'LokiStack Navigation', collapse: 'Collapse menu', expand: 'Expand menu', openNav: 'Open navigation menu', logout: 'Sign out', logoutShort: 'Sign out', toLight: 'Switch to light theme', toDark: 'Switch to dark theme', admin: 'Admin', loading: 'Loading page', }, login: { subtitle: 'Loki Log Management Platform', heading: 'Sign In', username: 'Username', usernamePlaceholder: 'Enter username', password: 'Password', passwordPlaceholder: 'Enter password', remember: 'Remember username', submit: 'Sign In', submitting: 'Signing in...', errCredential: 'Invalid username or password', errConn: 'Cannot reach the backend. Make sure it is running on port 8080.', errFallback: 'Sign-in failed', backendDown: 'Service temporarily unavailable', showPassword: 'Show password', hidePassword: 'Hide password', backendDownHint: 'Cannot reach the service. Try again later or contact an admin.', }, dialog: { confirmTitle: 'Confirm Deletion', confirmText: 'Delete', cancel: 'Cancel', processing: 'Processing...', confirmIrreversible: 'Are you sure? This cannot be undone.', confirmDefault: 'Delete "{{name}}"? This cannot be undone.', }, error: { title: 'Failed to load', hint: 'Check the network or backend service, then retry', retry: 'Retry', }, pagination: { total: '{{count}} items', summary: '{{count}} items · Page {{page}} of {{pages}}', }, status: { active: 'Running', running: 'Running', inactive: 'Stopped', stopped: 'Stopped', pending: 'Pending', deploying: 'Deploying', failed: 'Failed', error: 'Error', }, notFound: { heading: 'Page Not Found', hint: 'The page does not exist or has been removed', backHome: 'Back to Home', }, lang: { section: 'Language', zh: '中文', en: 'English', }, boundary: { title: 'Rendering Error', hint: 'Something went wrong. Try refreshing; if it persists, report the details below.', unknown: 'Unknown error', reload: 'Reload Page', reset: 'Reset Component', }, spinner: { default: 'Loading...', }, range: { lastMinutes: 'Last {{count}} minutes', lastHours: 'Last {{count}} hours', lastHours_one: 'Last {{count}} hour', custom: 'Custom time', title: 'Select time range', start: 'Start time', end: 'End time', apply: 'Apply', recent: 'Recently used', }, ui: { close: 'Close', prevPage: 'Previous', nextPage: 'Next', goPrevPage: 'Go to previous page', goNextPage: 'Go to next page', morePages: 'More pages', }, password: { hide: 'Hide password', show: 'Show password', }, }