Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

4.8 KB
Raw Blame
import type { TranslationStrings } from '../types';

const login: TranslationStrings = {
  'login.error': 'Login failed. Please check your credentials.',
  'login.tagline': 'Your Trips.\nYour Plan.',
  'login.description': 'Plan trips collaboratively with interactive maps, budgets, and real-time sync.',
  'login.title': 'Sign In',
  'login.subtitle': 'Welcome back',
  'login.signingIn': 'Signing in…',
  'login.signIn': 'Sign In',
  'login.createAdmin': 'Create Admin Account',
  'login.createAdminHint': 'Set up the first admin account for TREK.',
  'login.setNewPassword': 'Set New Password',
  'login.setNewPasswordHint': 'You must change your password before continuing.',
  'login.createAccount': 'Create Account',
  'login.createAccountHint': 'Register a new account.',
  'login.creating': 'Creating…',
  'login.noAccount': "Don't have an account?",
  'login.hasAccount': 'Already have an account?',
  'login.register': 'Register',
  'login.emailPlaceholder': '[email protected]',
  'login.username': 'Username',
  'login.oidc.registrationDisabled': 'Registration is disabled. Contact your administrator.',
  'login.oidc.noEmail': 'No email received from provider.',
  'login.oidc.tokenFailed': 'Authentication failed.',
  'login.oidc.invalidState': 'Invalid session. Please try again.',
  'login.oidc.emailNotVerified':
    'Your sign-in provider has not confirmed this email address, so it cannot be linked to an existing account.',
  'login.oidc.emailLinkBlocked':
    'This sign-in could not be linked to the existing account with this email. Ask your administrator to confirm the address.',
  'login.demoFailed': 'Demo login failed',
  'login.oidcSignIn': 'Sign in with {name}',
  'login.oidcOnly': 'Password authentication is disabled. Please sign in using your SSO provider.',
  'login.oidcLoggedOut': 'You have been logged out. Sign in again using your SSO provider.',
  'login.oidcRedirecting': 'Taking you to {name}…',
  'login.oidcRedirectSlow': 'Still here? Continue to {name}',
  'login.demoHint': 'Try the demo — no registration needed',
  'login.mfaTitle': 'Two-factor authentication',
  'login.mfaSubtitle': 'Enter the 6-digit code from your authenticator app.',
  'login.mfaCodeLabel': 'Verification code',
  'login.mfaPlaceholder': '000000 or XXXX-XXXX',
  'login.mfaCodeRequired': 'Enter the code from your authenticator app.',
  'login.mfaHint': 'Open Google Authenticator, Authy, or another TOTP app.',
  'login.mfaBack': '← Back to sign in',
  'login.mfaVerify': 'Verify',
  'login.invalidInviteLink': 'Invalid or expired invite link',
  'login.oidcFailed': 'OIDC login failed',
  'login.usernameRequired': 'Username is required',
  'login.passwordMinLength': 'Password must be at least 8 characters',
  'login.forgotPassword': 'Forgot password?',
  'login.rememberMe': 'Remember me',
  'login.forgotPasswordTitle': 'Reset your password',
  'login.forgotPasswordBody':
    "Enter the email address you signed up with. If an account exists, we'll send a reset link.",
  'login.forgotPasswordSubmit': 'Send reset link',
  'login.forgotPasswordSentTitle': 'Check your email',
  'login.forgotPasswordSentBody':
    'If an account exists for that email, a reset link is on its way. It expires in 60 minutes.',
  'login.forgotPasswordSmtpHintOff':
    "Heads up: your administrator hasn't configured SMTP, so the reset link will be written to the server console instead of being emailed.",
  'login.backToLogin': 'Back to sign in',
  'login.newPassword': 'New password',
  'login.confirmPassword': 'Confirm new password',
  'login.passwordsDontMatch': "Passwords don't match",
  'login.mfaCode': '2FA code',
  'login.resetPasswordTitle': 'Set a new password',
  'login.resetPasswordBody': 'Pick a strong password you haven’t used here before. Minimum 8 characters.',
  'login.resetPasswordMfaBody': 'Enter your 2FA code or a backup code to complete the reset.',
  'login.resetPasswordSubmit': 'Reset password',
  'login.resetPasswordVerify': 'Verify & reset',
  'login.resetPasswordSuccessTitle': 'Password updated',
  'login.resetPasswordSuccessBody': 'You can now sign in with your new password.',
  'login.resetPasswordInvalidLink': 'Invalid reset link',
  'login.resetPasswordInvalidLinkBody': 'This link is missing or broken. Request a new one to continue.',
  'login.resetPasswordFailed': 'Reset failed. The link may have expired.',
  'login.passkey.signIn': 'Sign in with a passkey',
  'login.passkey.failed': 'Passkey sign-in failed. Please try again.',
  'login.insecureCookie.title': "Login won't stick over HTTP",
  'login.insecureCookie.body':
    'You’re connecting over plain HTTP, so your browser drops TREK’s secure session cookie — the next request fails with "Access token required". Fix: use HTTPS, or for a home-lab set COOKIE_SECURE=false.',
  'login.insecureCookie.link': 'Open the Troubleshooting guide',
};
export default login;