humanai-web/src/i18n/en.ts
Oskar Kapala 09b9bf90bd front: poprawny adres kontaktowy + walidacja formularza
- zamiana wszystkich adresów e-mail @gethumanai.com -> @gethumanai.pl
  (CTASection, Footer, i18n pl/en)
- walidacja po stronie klienta przed wysłaniem (name niepuste,
  email zawiera "@", message >= 5 znaków — zgodne z mailer.mjs)
- mapowanie kodów błędów mailera na czytelne komunikaty w i18n (pl/en),
  pokazywane zamiast generycznego błędu; honeypot company bez zmian

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 16:26:22 +02:00

25 lines
1,016 B
TypeScript

export const en = {
contact: {
labelName: 'Name',
placeholderName: 'Your name',
labelEmail: 'Email',
placeholderEmail: 'email@company.com',
labelMessage: 'How can we help?',
placeholderMessage: 'Briefly describe your process or challenge...',
submit: 'Schedule a call',
sending: 'Sending...',
successTitle: 'Message sent!',
successBody: "We'll get back to you shortly.",
errorTitle: 'Something went wrong.',
errorBody: 'Please try again or email us directly at hello@gethumanai.pl.',
errors: {
nameRequired: 'Please enter your name.',
emailInvalid: 'Please enter a valid email address.',
messageTooShort: 'Your message must be at least 5 characters long.',
rateLimited: 'Too many attempts. Please wait a moment and try again.',
mailFailed: 'We could not send your message. Please try again or email us directly at hello@gethumanai.pl.',
generic: 'Please try again or email us directly at hello@gethumanai.pl.',
},
},
};