Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n key for mailer subject conflicts with lazy view keys #245

Closed
jo opened this issue May 3, 2010 · 2 comments
Closed

i18n key for mailer subject conflicts with lazy view keys #245

jo opened this issue May 3, 2010 · 2 comments

Comments

@jo
Copy link

jo commented May 3, 2010

The keys for the mailer subjects are eg:

devise.mailer.confirmation_instructions

This makes it impossible to use lazy keys in mailer views, like

<%=t '.salutation' %>

because this would search for a

devise.mailer.confirmation_instructions.salutation

which produces a conflict.

It would be great to change the keys for the subject to eg.

devise.mailer.confirmation_instructions.subject

Greetings
Johannes

@josevalim
Copy link
Contributor

Make I18n key for mailer compatible with lookup shortcuts, closed by 80895c3

@jo
Copy link
Author

jo commented Jun 13, 2010

wunderful!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants