Skip to content

Commit 6ace5f8

Browse files
CopilotCopilot
andcommitted
feat(i18n): add auth section to 8 locale files
Add translated auth section (login, register, forgotPassword) to ja, ko, de, fr, es, pt, ru, and ar locale files, positioned before the errors section to match en.ts and zh.ts structure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5e9d00f commit 6ace5f8

8 files changed

Lines changed: 368 additions & 0 deletions

File tree

packages/i18n/src/locales/ar.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,52 @@ const ar = {
481481
label: 'اللغة',
482482
},
483483
},
484+
auth: {
485+
login: {
486+
title: 'تسجيل الدخول إلى حسابك',
487+
description: 'أدخل بريدك الإلكتروني وكلمة المرور للمتابعة',
488+
emailLabel: 'البريد الإلكتروني',
489+
emailPlaceholder: 'name@example.com',
490+
passwordLabel: 'كلمة المرور',
491+
passwordPlaceholder: 'أدخل كلمة المرور',
492+
forgotPasswordText: 'نسيت كلمة المرور؟',
493+
submitButton: 'تسجيل الدخول',
494+
submittingButton: 'جارٍ تسجيل الدخول...',
495+
noAccountText: 'ليس لديك حساب؟',
496+
signUpText: 'إنشاء حساب',
497+
},
498+
register: {
499+
title: 'إنشاء حساب',
500+
description: 'أدخل معلوماتك للبدء',
501+
nameLabel: 'الاسم',
502+
namePlaceholder: 'محمد أحمد',
503+
emailLabel: 'البريد الإلكتروني',
504+
emailPlaceholder: 'name@example.com',
505+
passwordLabel: 'كلمة المرور',
506+
passwordPlaceholder: 'إنشاء كلمة مرور (8 أحرف على الأقل)',
507+
confirmPasswordLabel: 'تأكيد كلمة المرور',
508+
confirmPasswordPlaceholder: 'أكّد كلمة المرور',
509+
passwordMismatchError: 'كلمتا المرور غير متطابقتين',
510+
passwordTooShortError: 'يجب أن تتكون كلمة المرور من 8 أحرف على الأقل',
511+
submitButton: 'إنشاء حساب',
512+
submittingButton: 'جارٍ إنشاء الحساب...',
513+
hasAccountText: 'لديك حساب بالفعل؟',
514+
signInText: 'تسجيل الدخول',
515+
},
516+
forgotPassword: {
517+
title: 'إعادة تعيين كلمة المرور',
518+
description: 'أدخل عنوان بريدك الإلكتروني وسنرسل لك رابطًا لإعادة تعيين كلمة المرور',
519+
emailLabel: 'البريد الإلكتروني',
520+
emailPlaceholder: 'name@example.com',
521+
submitButton: 'إرسال رابط إعادة التعيين',
522+
submittingButton: 'جارٍ الإرسال...',
523+
successTitle: 'تحقق من بريدك الإلكتروني',
524+
successDescription: 'لقد أرسلنا رابط إعادة تعيين كلمة المرور إلى',
525+
backToSignInText: 'العودة إلى تسجيل الدخول',
526+
rememberPasswordText: 'تتذكر كلمة المرور؟',
527+
signInText: 'تسجيل الدخول',
528+
},
529+
},
484530
errors: {
485531
networkError: 'خطأ في الشبكة. يرجى التحقق من اتصالك.',
486532
serverError: 'خطأ في الخادم. يرجى المحاولة مرة أخرى لاحقاً.',

packages/i18n/src/locales/de.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,52 @@ const de = {
485485
label: 'Sprache',
486486
},
487487
},
488+
auth: {
489+
login: {
490+
title: 'In Ihr Konto einloggen',
491+
description: 'Geben Sie Ihre E-Mail-Adresse und Ihr Passwort ein, um fortzufahren',
492+
emailLabel: 'E-Mail',
493+
emailPlaceholder: 'name@example.com',
494+
passwordLabel: 'Passwort',
495+
passwordPlaceholder: 'Passwort eingeben',
496+
forgotPasswordText: 'Passwort vergessen?',
497+
submitButton: 'Anmelden',
498+
submittingButton: 'Anmeldung läuft...',
499+
noAccountText: 'Noch kein Konto?',
500+
signUpText: 'Registrieren',
501+
},
502+
register: {
503+
title: 'Konto erstellen',
504+
description: 'Geben Sie Ihre Daten ein, um loszulegen',
505+
nameLabel: 'Name',
506+
namePlaceholder: 'Max Mustermann',
507+
emailLabel: 'E-Mail',
508+
emailPlaceholder: 'name@example.com',
509+
passwordLabel: 'Passwort',
510+
passwordPlaceholder: 'Passwort erstellen (mind. 8 Zeichen)',
511+
confirmPasswordLabel: 'Passwort bestätigen',
512+
confirmPasswordPlaceholder: 'Passwort bestätigen',
513+
passwordMismatchError: 'Passwörter stimmen nicht überein',
514+
passwordTooShortError: 'Das Passwort muss mindestens 8 Zeichen lang sein',
515+
submitButton: 'Konto erstellen',
516+
submittingButton: 'Konto wird erstellt...',
517+
hasAccountText: 'Bereits ein Konto?',
518+
signInText: 'Anmelden',
519+
},
520+
forgotPassword: {
521+
title: 'Passwort zurücksetzen',
522+
description: 'Geben Sie Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link zum Zurücksetzen Ihres Passworts',
523+
emailLabel: 'E-Mail',
524+
emailPlaceholder: 'name@example.com',
525+
submitButton: 'Link zum Zurücksetzen senden',
526+
submittingButton: 'Wird gesendet...',
527+
successTitle: 'Überprüfen Sie Ihre E-Mails',
528+
successDescription: 'Wir haben einen Link zum Zurücksetzen des Passworts gesendet an',
529+
backToSignInText: 'Zurück zur Anmeldung',
530+
rememberPasswordText: 'Passwort doch bekannt?',
531+
signInText: 'Anmelden',
532+
},
533+
},
488534
errors: {
489535
networkError: 'Netzwerkfehler. Bitte überprüfen Sie Ihre Verbindung.',
490536
serverError: 'Serverfehler. Bitte versuchen Sie es später erneut.',

packages/i18n/src/locales/es.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,52 @@ const es = {
480480
label: 'Idioma',
481481
},
482482
},
483+
auth: {
484+
login: {
485+
title: 'Inicia sesión en tu cuenta',
486+
description: 'Ingresa tu correo electrónico y contraseña para continuar',
487+
emailLabel: 'Correo electrónico',
488+
emailPlaceholder: 'name@example.com',
489+
passwordLabel: 'Contraseña',
490+
passwordPlaceholder: 'Ingresa tu contraseña',
491+
forgotPasswordText: '¿Olvidaste tu contraseña?',
492+
submitButton: 'Iniciar sesión',
493+
submittingButton: 'Iniciando sesión...',
494+
noAccountText: '¿No tienes una cuenta?',
495+
signUpText: 'Regístrate',
496+
},
497+
register: {
498+
title: 'Crear una cuenta',
499+
description: 'Ingresa tu información para comenzar',
500+
nameLabel: 'Nombre',
501+
namePlaceholder: 'Juan Pérez',
502+
emailLabel: 'Correo electrónico',
503+
emailPlaceholder: 'name@example.com',
504+
passwordLabel: 'Contraseña',
505+
passwordPlaceholder: 'Crear una contraseña (mín. 8 caracteres)',
506+
confirmPasswordLabel: 'Confirmar contraseña',
507+
confirmPasswordPlaceholder: 'Confirma tu contraseña',
508+
passwordMismatchError: 'Las contraseñas no coinciden',
509+
passwordTooShortError: 'La contraseña debe tener al menos 8 caracteres',
510+
submitButton: 'Crear cuenta',
511+
submittingButton: 'Creando cuenta...',
512+
hasAccountText: '¿Ya tienes una cuenta?',
513+
signInText: 'Iniciar sesión',
514+
},
515+
forgotPassword: {
516+
title: 'Restablecer tu contraseña',
517+
description: 'Ingresa tu dirección de correo electrónico y te enviaremos un enlace para restablecer tu contraseña',
518+
emailLabel: 'Correo electrónico',
519+
emailPlaceholder: 'name@example.com',
520+
submitButton: 'Enviar enlace de restablecimiento',
521+
submittingButton: 'Enviando...',
522+
successTitle: 'Revisa tu correo electrónico',
523+
successDescription: 'Hemos enviado un enlace para restablecer la contraseña a',
524+
backToSignInText: 'Volver a iniciar sesión',
525+
rememberPasswordText: '¿Recuerdas tu contraseña?',
526+
signInText: 'Iniciar sesión',
527+
},
528+
},
483529
errors: {
484530
networkError: 'Error de red. Por favor, compruebe su conexión.',
485531
serverError: 'Error del servidor. Por favor, inténtelo de nuevo más tarde.',

packages/i18n/src/locales/fr.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,52 @@ const fr = {
485485
label: 'Langue',
486486
},
487487
},
488+
auth: {
489+
login: {
490+
title: 'Connectez-vous à votre compte',
491+
description: 'Entrez votre e-mail et votre mot de passe pour continuer',
492+
emailLabel: 'E-mail',
493+
emailPlaceholder: 'name@example.com',
494+
passwordLabel: 'Mot de passe',
495+
passwordPlaceholder: 'Entrez votre mot de passe',
496+
forgotPasswordText: 'Mot de passe oublié ?',
497+
submitButton: 'Se connecter',
498+
submittingButton: 'Connexion en cours...',
499+
noAccountText: "Vous n'avez pas de compte ?",
500+
signUpText: "S'inscrire",
501+
},
502+
register: {
503+
title: 'Créer un compte',
504+
description: 'Entrez vos informations pour commencer',
505+
nameLabel: 'Nom',
506+
namePlaceholder: 'Jean Dupont',
507+
emailLabel: 'E-mail',
508+
emailPlaceholder: 'name@example.com',
509+
passwordLabel: 'Mot de passe',
510+
passwordPlaceholder: 'Créer un mot de passe (min. 8 caractères)',
511+
confirmPasswordLabel: 'Confirmer le mot de passe',
512+
confirmPasswordPlaceholder: 'Confirmez votre mot de passe',
513+
passwordMismatchError: 'Les mots de passe ne correspondent pas',
514+
passwordTooShortError: 'Le mot de passe doit contenir au moins 8 caractères',
515+
submitButton: 'Créer un compte',
516+
submittingButton: 'Création du compte...',
517+
hasAccountText: 'Vous avez déjà un compte ?',
518+
signInText: 'Se connecter',
519+
},
520+
forgotPassword: {
521+
title: 'Réinitialiser votre mot de passe',
522+
description: 'Entrez votre adresse e-mail et nous vous enverrons un lien pour réinitialiser votre mot de passe',
523+
emailLabel: 'E-mail',
524+
emailPlaceholder: 'name@example.com',
525+
submitButton: 'Envoyer le lien de réinitialisation',
526+
submittingButton: 'Envoi en cours...',
527+
successTitle: 'Vérifiez vos e-mails',
528+
successDescription: 'Nous avons envoyé un lien de réinitialisation du mot de passe à',
529+
backToSignInText: 'Retour à la connexion',
530+
rememberPasswordText: 'Vous vous souvenez de votre mot de passe ?',
531+
signInText: 'Se connecter',
532+
},
533+
},
488534
errors: {
489535
networkError: 'Erreur réseau. Veuillez vérifier votre connexion.',
490536
serverError: 'Erreur serveur. Veuillez réessayer plus tard.',

packages/i18n/src/locales/ja.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,52 @@ const ja = {
480480
label: '言語',
481481
},
482482
},
483+
auth: {
484+
login: {
485+
title: 'アカウントにサインイン',
486+
description: 'メールアドレスとパスワードを入力してください',
487+
emailLabel: 'メールアドレス',
488+
emailPlaceholder: 'name@example.com',
489+
passwordLabel: 'パスワード',
490+
passwordPlaceholder: 'パスワードを入力',
491+
forgotPasswordText: 'パスワードをお忘れですか?',
492+
submitButton: 'サインイン',
493+
submittingButton: 'サインイン中...',
494+
noAccountText: 'アカウントをお持ちでないですか?',
495+
signUpText: '新規登録',
496+
},
497+
register: {
498+
title: 'アカウントを作成',
499+
description: '情報を入力して始めましょう',
500+
nameLabel: '名前',
501+
namePlaceholder: '田中太郎',
502+
emailLabel: 'メールアドレス',
503+
emailPlaceholder: 'name@example.com',
504+
passwordLabel: 'パスワード',
505+
passwordPlaceholder: 'パスワードを作成(8文字以上)',
506+
confirmPasswordLabel: 'パスワード確認',
507+
confirmPasswordPlaceholder: 'パスワードを再入力',
508+
passwordMismatchError: 'パスワードが一致しません',
509+
passwordTooShortError: 'パスワードは8文字以上必要です',
510+
submitButton: 'アカウント作成',
511+
submittingButton: 'アカウント作成中...',
512+
hasAccountText: 'すでにアカウントをお持ちですか?',
513+
signInText: 'サインイン',
514+
},
515+
forgotPassword: {
516+
title: 'パスワードをリセット',
517+
description: 'メールアドレスを入力してください。パスワードリセットリンクをお送りします',
518+
emailLabel: 'メールアドレス',
519+
emailPlaceholder: 'name@example.com',
520+
submitButton: 'リセットリンクを送信',
521+
submittingButton: '送信中...',
522+
successTitle: 'メールをご確認ください',
523+
successDescription: 'パスワードリセットリンクを送信しました:',
524+
backToSignInText: 'サインインに戻る',
525+
rememberPasswordText: 'パスワードを覚えていますか?',
526+
signInText: 'サインイン',
527+
},
528+
},
483529
errors: {
484530
networkError: 'ネットワークエラーです。接続を確認してください。',
485531
serverError: 'サーバーエラーです。後でもう一度お試しください。',

packages/i18n/src/locales/ko.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,52 @@ const ko = {
480480
label: '언어',
481481
},
482482
},
483+
auth: {
484+
login: {
485+
title: '계정에 로그인',
486+
description: '이메일과 비밀번호를 입력하세요',
487+
emailLabel: '이메일',
488+
emailPlaceholder: 'name@example.com',
489+
passwordLabel: '비밀번호',
490+
passwordPlaceholder: '비밀번호를 입력하세요',
491+
forgotPasswordText: '비밀번호를 잊으셨나요?',
492+
submitButton: '로그인',
493+
submittingButton: '로그인 중...',
494+
noAccountText: '계정이 없으신가요?',
495+
signUpText: '회원가입',
496+
},
497+
register: {
498+
title: '계정 만들기',
499+
description: '정보를 입력하여 시작하세요',
500+
nameLabel: '이름',
501+
namePlaceholder: '홍길동',
502+
emailLabel: '이메일',
503+
emailPlaceholder: 'name@example.com',
504+
passwordLabel: '비밀번호',
505+
passwordPlaceholder: '비밀번호 생성 (최소 8자)',
506+
confirmPasswordLabel: '비밀번호 확인',
507+
confirmPasswordPlaceholder: '비밀번호를 다시 입력하세요',
508+
passwordMismatchError: '비밀번호가 일치하지 않습니다',
509+
passwordTooShortError: '비밀번호는 최소 8자 이상이어야 합니다',
510+
submitButton: '계정 만들기',
511+
submittingButton: '계정 생성 중...',
512+
hasAccountText: '이미 계정이 있으신가요?',
513+
signInText: '로그인',
514+
},
515+
forgotPassword: {
516+
title: '비밀번호 재설정',
517+
description: '이메일 주소를 입력하시면 비밀번호 재설정 링크를 보내드립니다',
518+
emailLabel: '이메일',
519+
emailPlaceholder: 'name@example.com',
520+
submitButton: '재설정 링크 보내기',
521+
submittingButton: '전송 중...',
522+
successTitle: '이메일을 확인하세요',
523+
successDescription: '비밀번호 재설정 링크를 전송했습니다:',
524+
backToSignInText: '로그인으로 돌아가기',
525+
rememberPasswordText: '비밀번호가 기억나시나요?',
526+
signInText: '로그인',
527+
},
528+
},
483529
errors: {
484530
networkError: '네트워크 오류입니다. 연결을 확인해주세요.',
485531
serverError: '서버 오류입니다. 나중에 다시 시도해주세요.',

packages/i18n/src/locales/pt.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,52 @@ const pt = {
480480
label: 'Idioma',
481481
},
482482
},
483+
auth: {
484+
login: {
485+
title: 'Entre na sua conta',
486+
description: 'Digite seu e-mail e senha para continuar',
487+
emailLabel: 'E-mail',
488+
emailPlaceholder: 'name@example.com',
489+
passwordLabel: 'Senha',
490+
passwordPlaceholder: 'Digite sua senha',
491+
forgotPasswordText: 'Esqueceu a senha?',
492+
submitButton: 'Entrar',
493+
submittingButton: 'Entrando...',
494+
noAccountText: 'Não tem uma conta?',
495+
signUpText: 'Cadastre-se',
496+
},
497+
register: {
498+
title: 'Criar uma conta',
499+
description: 'Digite suas informações para começar',
500+
nameLabel: 'Nome',
501+
namePlaceholder: 'João Silva',
502+
emailLabel: 'E-mail',
503+
emailPlaceholder: 'name@example.com',
504+
passwordLabel: 'Senha',
505+
passwordPlaceholder: 'Criar uma senha (mín. 8 caracteres)',
506+
confirmPasswordLabel: 'Confirmar senha',
507+
confirmPasswordPlaceholder: 'Confirme sua senha',
508+
passwordMismatchError: 'As senhas não coincidem',
509+
passwordTooShortError: 'A senha deve ter pelo menos 8 caracteres',
510+
submitButton: 'Criar conta',
511+
submittingButton: 'Criando conta...',
512+
hasAccountText: 'Já tem uma conta?',
513+
signInText: 'Entrar',
514+
},
515+
forgotPassword: {
516+
title: 'Redefinir sua senha',
517+
description: 'Digite seu endereço de e-mail e enviaremos um link para redefinir sua senha',
518+
emailLabel: 'E-mail',
519+
emailPlaceholder: 'name@example.com',
520+
submitButton: 'Enviar link de redefinição',
521+
submittingButton: 'Enviando...',
522+
successTitle: 'Verifique seu e-mail',
523+
successDescription: 'Enviamos um link para redefinição de senha para',
524+
backToSignInText: 'Voltar para o login',
525+
rememberPasswordText: 'Lembra da sua senha?',
526+
signInText: 'Entrar',
527+
},
528+
},
483529
errors: {
484530
networkError: 'Erro de rede. Por favor, verifique sua conexão.',
485531
serverError: 'Erro no servidor. Por favor, tente novamente mais tarde.',

0 commit comments

Comments
 (0)