#139 ✓moved_to_github
Benoit B.

some i18n keys missing?

Reported by Benoit B. | July 21st, 2009 @ 05:21 AM

Hello, I think there still are some keys missing.

I can't translate during validation :

model names :

user_session user

attributes :

all the attributes for user

The rest is working just fine.

I'm using the latest gem.

Comments and changes to this ticket

  • Benoit B.

    Benoit B. July 21st, 2009 @ 05:27 AM

    My locale file looks like this :

    fr:
      authlogic:

    error_messages:
      login_blank: ne peut être vide
      login_not_found: n'existe pas
      login_invalid: ne doit utiliser que des lettres, des chiffres, des espaces et .-_@
      consecutive_failed_logins_limit_exceeded: Trop d'échecs d'authentification consécutifs, le compte est désactivé.
      email_invalid: "doit ressembler à une adresse email. Ex : votre-nom@lefigaro.fr"
      password_blank: ne peut être vide
      password_invalid: n'est pas valide
      not_active: Votre compte n'est pas actif
      not_confirmed: Votre compte n'est pas validé
      not_approved: Votre compte n'est pas approuvé
      no_authentication_details: Vous n'avez fourni aucune information permettant votre authentification
    models:
      user_session: UserSession
      user: User
    attributes:
      user_session: 
        username: le nom d'utilisateur
        login: le nom d'utilisateur
        email: l'email
        password: le mot de passe
        remember_me: "se souvenir de moi"
      user:
        username: le nom d'utilisateur
        email: "l'email"
        password: le mot de passe</code>
    
    
    
    

    My two AuthLogic related models are :

    UserSession & User

  • Ben Johnson

    Ben Johnson August 7th, 2009 @ 06:20 PM

    • State changed from “new” to “moved_to_github”

    [state:"moved_to_github" bulk edit command]

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Tags

Pages