Browse Source

Development (#265)

* Added optional text attribute to location link

* Set location title to link text on the schedule

* Fixed typo in GeocoderHelper

* Fixed an issue with date parsing

* Currency traslations
development
Godwin 7 years ago
committed by GitHub
parent
commit
676e7380b0
  1. 1
      app/helpers/i18n_helper.rb
  2. 3
      config/locales/en.yml

1
app/helpers/i18n_helper.rb

@ -32,6 +32,7 @@ module I18nHelper
end
def date(date, format = :long)
return '' unless date.present?
I18n.l(date.is_a?(String) ? Date.parse(date) : date, format: format)
end

3
config/locales/en.yml

@ -2459,6 +2459,9 @@ en:
show_interest: Click if you are interested in this workshop
add: Add new
options:
currency:
CAD: CAD
USD: USD
send_to:
registered: Everyone who has completed their registration
pre_registered: Everyone who has begun or completed the registration process

Loading…
Cancel
Save