// Base catalog — the source of truth for this app's UI strings. Every key here // MUST be mirrored in `de.ts`; `defineLocale()` enforces that parity // at build time. import { defineCatalog } from '@voltro/i18n' export default defineCatalog({ // Browser tab titles — locale-aware via each page's `meta({ locale })`. 'meta.login.title': 'Sign in', 'meta.signup.title': 'Create account', 'meta.forgot.title': 'Reset password', 'meta.reset.title': 'Set a new password', 'meta.magic.title': 'Magic link', 'meta.verify.title': 'Verifying', 'meta.logout.title': 'Signing out', 'lang.label': 'Language', // ---- Shared field labels ---- 'auth.email': 'Email', 'auth.password': 'Password', 'auth.newPassword': 'New password', 'auth.pending': 'Please wait…', 'auth.error': 'That didn’t work. Check your details and try again.', // ---- Sign in ---- 'login.title': 'Sign in', 'login.submit': 'Sign in', 'login.forgot': 'Forgot password?', 'login.magic': 'Email me a link', 'login.toSignup': 'Create an account', // ---- Sign up ---- 'signup.title': 'Create your account', 'signup.submit': 'Create account', 'signup.toLogin': 'Have an account? Sign in', // ---- Forgot password ---- 'forgot.title': 'Reset your password', 'forgot.body': 'Enter your email and we’ll send you a reset link.', 'forgot.submit': 'Send reset link', 'forgot.sent': 'If that email has an account, a reset link is on its way.', 'forgot.toLogin': '← Back to sign in', // ---- Reset password ---- 'reset.title': 'Set a new password', 'reset.body': 'Choose a new password for your account.', 'reset.submit': 'Update password', 'reset.done': 'Your password has been updated. You can sign in now.', 'reset.failed': 'That reset link is invalid or has expired. Request a new one.', 'reset.toLogin': '← Back to sign in', // ---- Magic link ---- 'magic.title': 'Sign in with a link', 'magic.body': 'We’ll email you a one-time sign-in link — no password needed.', 'magic.submit': 'Send me a link', 'magic.sent': 'If that email has an account, a sign-in link is on its way.', 'magic.toLogin': '← Back to sign in', // ---- Verify (link consumer) ---- 'verify.title': 'Verifying your link', 'verify.pending': 'One moment while we sign you in…', 'verify.success': 'You’re in — redirecting…', 'verify.failed': 'That link is invalid or has expired. Request a new one.', 'verify.noToken': 'This link is missing its token. Request a new one.', 'verify.toLogin': '← Back to sign in', // ---- Logout ---- 'logout.title': 'Signing out', 'logout.body': 'Signing you out…', // ---- Password strength meter ---- 'pw.weak': 'Weak', 'pw.fair': 'Fair', 'pw.good': 'Good', 'pw.strong': 'Strong', } as const)