Improve AR translations documentation
Reported by Yaroslav Markin | September 1st, 2008 @ 09:21 PM
Need to improve AR translations documentation.
Here's a snipped from Iain:
activerecord:
models:
topic: Custom Topic Name
attributes:
topic:
title: Custom Title
errors:
models:
topic:
blank: "Custom Invalid Message for {{model}}: {{attribute}}"
attributes:
title:
blank: "Even more custom invalid message for {{model}}: {{attribute}}"
Topic.human_name # => "Custom Topic Name"
Topic.human_attribute_name("title") # => "Custom Title"
t = Topic.new
t.valid?
t.errors
# =>
# :content => "Custom Invalid Message for Custom Topic Name: Content",
# :title => "Even more custom invalid message for Custom Topic Name: Custom Title"
Comments and changes to this ticket
-
mehreensiddique October 28th, 2023 @ 02:59 PM
I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful. Muurisolatie Lierde
-
mehreensiddique October 28th, 2023 @ 03:01 PM
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. Muurisolatie Lievegem
-
mehreensiddique October 28th, 2023 @ 03:02 PM
It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. Muurisolatie Lochristi
-
mehreensiddique October 28th, 2023 @ 03:03 PM
We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work Muurisolatie Lokeren
-
mehreensiddique October 28th, 2023 @ 03:03 PM
My friend mentioned to me your blog, so I thought I’d read it for myself. Very interesting insights, will be back for more! Muurisolatie Maarkedal
-
mehreensiddique October 28th, 2023 @ 03:04 PM
A great website with interesting and unique material what else would you need. Muurisolatie Melle
-
mehreensiddique October 28th, 2023 @ 03:05 PM
Wonderful blog post. This is absolute magic from you! I have never seen a more wonderful post than this one. You've really made my day today with this. I hope you keep this up! Muurisolatie Maldegem
-
mehreensiddique October 28th, 2023 @ 03:06 PM
Three are usually cheap Ralph Lauren available for sale each and every time you wish to buy. Muurisolatie Merelbeke
-
mehreensiddique October 28th, 2023 @ 03:13 PM
I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. Muurisolatie Moerbeke
-
mehreensiddique October 28th, 2023 @ 03:14 PM
I truly like you're composing style, incredible data, thankyou for posting. Muurisolatie Nazareth
-
mehreensiddique October 28th, 2023 @ 03:15 PM
Hi buddies, it is great written piece entirely defined, continue the good work constantly. Muurisolatie Ninove
-
mehreensiddique October 28th, 2023 @ 03:15 PM
Always so interesting to visit your site.What a great info, thank you for sharing. this will help me so much in my learning Muurisolatie Oosterzele
-
mehreensiddique October 28th, 2023 @ 03:17 PM
Very nice blog and articles. I am realy very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post. Muurisolatie Oudenaarde
-
mehreensiddique October 28th, 2023 @ 03:24 PM
Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. Muurisolatie Ronse
-
mehreensiddique October 28th, 2023 @ 03:25 PM
Going to graduate school was a positive decision for me. I enjoyed the coursework, the presentations, the fellow students, and the professors. And since my company reimbursed 100% of the tuition, the only cost that I had to pay on my own was for books and supplies. Otherwise, I received a free master’s degree. All that I had to invest was my time. Muurisolatie Sint-Gillis-Waas
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
People watching this ticket
Attachments
Tags
Referenced by
- 17 Rails edge tests fail when there is no activerecord.errors.models key present See http://i18n.lighthouseapp.com/pr... .