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

relative keys in controller actions #46

Closed
glebm opened this issue Mar 7, 2014 · 4 comments · Fixed by #113
Closed

relative keys in controller actions #46

glebm opened this issue Mar 7, 2014 · 4 comments · Fixed by #113
Milestone

Comments

@glebm
Copy link
Owner

glebm commented Mar 7, 2014

@bartoszkopinski

i18n-tasks treats relative keys in controllers as "user_controller.success" and not "users.create.success"

It would be possible to just match the closest method name (almost impossible in general case). PR welcome! You would need to scan back for the method name in the controller from here.

@atipugin
Copy link
Contributor

atipugin commented Jul 3, 2014

+1 for this

@dsmalko
Copy link

dsmalko commented Aug 11, 2014

+1

@stuarthannig
Copy link

Would like this as well, how it stands this gem doesn't follow rails standards for i18n YAML files.

Which makes it unusable.

@glebm
Copy link
Owner Author

glebm commented Aug 13, 2014

Partial support for this is feasible if the parser is implemented using s-expressions. #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants