Agreed, any way to turn this behavior off?

Tys

On Feb 20, 12:15 pm, cntrytwist <[email protected]> wrote:
> Ok, here's what I've been able to figure out.  I don't know if this is
> a bug or by design, but it appears that something, either Rails or
> ActiveScaffold is attempting to translate the strings used in
> config.
> Your example Chris is:
> columns[:firstname].label = "First Name"
>
> So, in your config/locals/en.yml you need to place the following:
> active_scaffold:
>   'First Name': "First Name"
>
> Do that with every string you give and the error goes away.  At first
> it does appear to more than double the efforts, but if you ever have
> to localize, it sure makes it easier.  Maybe we need to consider what
> we use for those strings, and try something generic that would be
> shorter and descriptive.  Then in the translation file give what we
> really want it to say?
>
> Just a thought.
> Kent
>
> On Feb 20, 11:35 am, cntrytwist <[email protected]> wrote:
>
> > I'm having the same issue. I suspect it has to do with the config/
> > locals/en.yml and how AS picks up on it.
> > Would it be too much trouble for someone in the know to give a little
> > note here on how we're supposed to enable or disable translations?  I
> > don't need translation, but I'm sure others will.
> > Thanks a million for the help.
>
> > On Feb 20, 9:32 am, chris <[email protected]> wrote:
>
> > > I upgraded my app to Rails 2.2 and updated active_scaffold
> > > accordingly. Everything appears to work fine with the exception of
> > > where I changed the field labels in the forms and table. For example:
>
> > > columns[:firstname].label = "First Name"
>
> > > When this displays in my table, I now see the following:
>
> > > translation missing: en, active_scaffold, First Name
>
> > > Any idea what is going on?
>
> > > Thank you,
> > > Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • St... chris
    • ... cntrytwist
      • ... cntrytwist
        • ... Tys von Gaza
        • ... chris
          • ... cntrytwist
            • ... Wes Gamble
              • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
              • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
          • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to