Update to rails 2.3.8
Update site to use rails 2.3.8 which also allows us to drop the globalize2 plugin as the core rails i18n code can now do fallback and pluralization.
This commit is contained in:
parent
27c812505d
commit
d516198bbe
47 changed files with 71 additions and 2721 deletions
|
@ -77,7 +77,7 @@ private
|
|||
|
||||
def javascript_strings_for_key(key)
|
||||
js = ""
|
||||
value = t(key, :locale => "en")
|
||||
value = I18n.t(key, :locale => "en")
|
||||
|
||||
if value.is_a?(String)
|
||||
js << "i18n_strings['#{key}'] = '" << escape_javascript(t(key)) << "';\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue