
Cleanup ActiveRecord translations
Reported by iain | August 12th, 2008 @ 10:17 PM
As discussed in:
http://groups.google.com/group/r...
Target scoping will be: http://pastie.org/251768
Sven, please assign this to me ;)
Comments and changes to this ticket
-
iain August 14th, 2008 @ 01:40 AM
- Assigned user set to Sven Fuchs
Here is the patch to be added back into svens rails/i18n branch.
A bit nicer list of what was exactly changed comes later.
-
Sven Fuchs August 14th, 2008 @ 10:54 AM
- State changed from new to resolved
Awesome, Iain :)
Applied: http://github.com/svenfuchs/rail...
I'll close this. Let's re-open it in case we decide to polish things a bit.
Also, are there already YAML files available for the new scope structure?
-
iain August 14th, 2008 @ 11:17 AM
no not yet. Do you want to replace lib/locale/en-US.rb with lib/locale/en-US.yml?
-
Sven Fuchs August 14th, 2008 @ 11:25 AM
That's the idea, yep :)
Almost everybody seems to want YAML as a default format in Rails and as we learned from Akira and the Japanese community there's no problem with static data in YAML.
So let's do that.
On 14.08.2008, at 11:17, Lighthouse wrote:
-
Sven Fuchs August 14th, 2008 @ 11:25 AM
Also, do you plan on reorganizing more/other scopes?
If not, we probably should raise attention on the rails-i18n group and ask everybody to review it.
On 14.08.2008, at 11:17, Lighthouse wrote:
-
iain August 14th, 2008 @ 12:00 PM
No I don't, at least not for the moment. I'll place a note on the rails-i18n group with what exactly changed tonight.
-
iain August 20th, 2008 @ 11:48 PM
- no changes were found...
-
iain August 20th, 2008 @ 11:48 PM
As discussed in http://groups.google.com/group/r...
generate_message now looks for the following keys:
activerecord.errors.models.post.attributes.topic.invalid activerecord.errors.models.post.invalid activerecord.errors.models.content.attributes.topic.invalid activerecord.errors.models.content.invalid activerecord.errors.messages.invalid
-
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff