This project is archived and is in readonly mode.
autosave error messages cannot be translated (i18n)
-
Raffael Schmid
- Title changed from nested attributes error messages cannot be looked up to autosave error messages cannot be translated (i18n)
Sorry, patch works for my test in the description but not in my rails-project.
Following patch works for both.
-
José Valim
- State changed from new to invalid
You need to have the translation under "activerecord.attributes.item.property" and "activerecord.attributes.owner.item.property". You can use a symbol to symlink translations (check I18n documentation for more information). Notice that we cannot rely on constantize, since it would fail in some cases like:
has_many :super_projects, :class_name => "Project"
