ActiveScaffold translations have this (take care they are two lines for this 
translation):
    ? "null"
    : "Null"

El Miércoles, 8 de abril de 2015 06:17:33 Cláudio Forain escribió:
> I have a :range search field, and there is a option to search for null and
> not null values.
> 
> When untranslated, these options show as "translation missing pt.not_null".
> 
> Then, as usual, I go to my config/locales/pt.yml and put
> 
> .
> .
> .
> null: "em branco"
> not_null: "preenchido"
> .
> .
> .
> 
> 
> Although not_null works as expected, null doesn't, which I think is because
> null is a reserved word (it even shows on a different color at syntax
> highlight in vim editor). Is there any way to escape the null so I can
> translate it? Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to