On Jul 17, 2013, at 5:56 AM, Dheeraj Kumar <a.dheeraj.ku...@gmail.com> wrote:
> A key is a symbol. Don't use capitalization or whitespace in it. Dheeraj, this was my understanding as well, although the quoted dot-element strings seem to work as non-symbols. I've not seen spaces and capitals, but I also see that the same construct is used in the default: t() call in Tushar's code. > > -- > Dheeraj Kumar > > On Wednesday 17 July 2013 at 5:09 PM, Colin Law wrote: > >> On 17 July 2013 12:24, Tushar Patil <tushar01pa...@gmail.com> wrote: >>> Hi, >>> I am trying to convert my application in hindi, I am stuck in the renaming >>> submit button name, It works fine for hindi but not working for english, it >>> gives syntax error, here is my submit button code >>> >>> <%= f.submit t('.Create Company', :default => t("helpers.links.Create >>> Company")), :class => 'btn btn-primary' %> >> >> I have not used internationalisation, but should that be >> <%= f.submit t('.Create Company'), :default => t("helpers.links.Create >>> Company"), :class => 'btn btn-primary' %> >> >> Colin >> >>> >>> Create Company => mention in the hi.bootstrap.yml file >>> Please, let me know where i am wrong. >>> >>> Thanks.. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to rubyonrails-talk+unsubscr...@googlegroups.com. >>> To post to this group, send email to rubyonrails-talk@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/rubyonrails-talk/CAMFjjRe%2Bs1pkZ2Y9SWqitFGEFy3%2BkEZTNp7c34Luo-3mCfVXkg%40mail.gmail.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-talk+unsubscr...@googlegroups.com. >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv6Q%2BuaW6PUZ86LXzcbJ9f5qy8Gd8oH56Y_BDw8o0Vwyg%40mail.gmail.com. >> For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/5AA6F9D7142841ECA13FCB5F26955AD0%40gmail.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5BEFDDDF-05F8-45BF-9033-10B498B3A6AD%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.