
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
-
-
Yaroslav Markin September 2nd, 2008 @ 01:44 PM
Can't merge yet, tests fail. Need more investigation.
-
Yaroslav Markin September 12th, 2008 @ 09:46 PM
Rails edge tests fail if there is no activerecord.errors.models key present in activerecord's en-US.yml. Any idea why that?
-
-
Yaroslav Markin September 12th, 2008 @ 10:26 PM
Applied in http://github.com/lifo/docrails/...
[CLOSE]
-
frank benson April 5th, 2020 @ 09:21 AM
La parte superiore è spesso una nuovissima costruzione che coinvolge adidas Primeknit utilizzando rinforzi cuciti. Il tuo toebox pensa distinto dal tuo Ultraboost venti in questo sembra una quantità minore di difficile da attaccare https://www.clarksportswear.com/ Scarpe Puma Scuderia Ferrari Basket negozio più molto più metodica durante l'uso della cucitura. Suppongo personalmente che consentirà un piede più grande. Il tuo piede posteriore in elastan diventa un numero di imbottitura extra più liscia più il lato da lato con la cassa del filo mediale può essere attuale con un prodotto cucito che aggiorna le tue delicate tomaie in nylon di materiale plastico per l'Ultraboost 20. Il tuo UB20 soddisfa le tue esigenze di dimensionamento ed è anche abbastanza accogliente.
-
frank benson April 12th, 2020 @ 11:11 PM
Una última cosa que no tiene un efecto en la dirección en la que saltaron, pero probablemente valga la pena hablar, podría ser que la cerca de plástico dentro de la entresuela chirría realmente. Un agravamiento mucho más Comprar Zapatillas Asics Gel-Kinsei OG https://www.rophazapatos.com/asics-gelkinsei-og-c-5.html refinado en comparación con lo que se disparó hacia arriba eficiencia. Mi pareja y yo no observaremos eso en cualquier momento trabajando, pero en cualquier momento caminando, ahora estoy como, ¿qué es exactamente en qué ruidos?
-
pbawerawi April 13th, 2020 @ 10:26 AM
Samanlainen kuin useimmat Altran lenkkarit, sinun erinomainen useita. 0 kantaa laajan, pallomaisen jalkakentän. Superior-jalkasi kenttä kokee todella pienen koon pienentyessä verrattuna moniin muihin Altran Asics Gel-Kayano 26 kengät https://www.tomaskengat.com/ lenkkariin, joita olemme hallinneet erinomaisella alueella 3. 0 ja Timp 1. 5, kuitenkin se tarjoaa nytkin hyvän määrän jalkojen leviämiseen liittyvää paikkaa.
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... .