Do you follow naming conventions when writing i18n yaml files? If so, what 
are they?

For example, say you have a "Save changes" button that PUTs to 
users_controller.update. What would you call it?

    users.edit.update_button
    users.edit.updatebutton
    users.edit.button_update
    users.edit.save_changes
    etc...

What about flash messages? I have them organized as such now:

    controller.action.flash_success and controller.action.flash_error.

Any thoughts on naming conventions? Dashes? Underscores?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/UMmgpRg6SVwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to