Changeset [ae1e117fc89c5f2b96f70b2bc6773c322e15c87f] by Gavin Baker

January 12th, 2010 @ 05:21 AM

Pull english strings out of javascript.

The account selector had the string "create new or select existing"
which was constructed in application.js and therefore couldn't be
localized.

This patch moves the string construction into the views so it can
be constructed with t().

I've used the key :select_existing which will need to be added to
the translation files.
http://github.com/michaeldv/fat_free_crm/commit/ae1e117fc89c5f2b96f...

Committed by Gavin Baker

  • M app/views/contacts/_top_section.html.haml
  • M app/views/leads/_convert.html.haml
  • M app/views/opportunities/_top_section.html.haml
  • M lib/fat_free_crm.rb
  • M public/javascripts/application.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond