add_subgroup label...how to i18n it?

17 views
Skip to first unread message

Atastor

unread,
Nov 14, 2011, 12:40:54 PM11/14/11
to actives...@googlegroups.com
Simple enough question: I define a subgroup, I give it a label...but of course I want the (in this case german) auto-translation as well. Where do I have to put the translation in de.yml?

    conf.create.columns.add_subgroup :communication_stuff do |cm_stuff|
      cm_stuff.add :email,:phone,:fax
    end

Thanks
Michael


Atastor

unread,
Nov 15, 2011, 3:39:25 AM11/15/11
to actives...@googlegroups.com
I of course want ":communication_stuff" translated :-)

Sergio Cambra .:: entreCables S.L. ::.

unread,
Nov 15, 2011, 7:20:01 AM11/15/11
to actives...@googlegroups.com
On Martes, 15 de Noviembre de 2011 09:39:25 Atastor escribió:
> I of course want ":communication_stuff" translated :-)

Have you tried to put it under :active_scaffold key?

--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

Atastor

unread,
Nov 15, 2011, 8:54:17 AM11/15/11
to actives...@googlegroups.com
Well..one MIGHT say, that I could have thought so myself...but these people just dont know, how my brain works....

;-)

Translated: Works!

Thanks
Michael

Reply all
Reply to author
Forward
0 new messages