Use i18n in a post Rails 2.3.5-compatible way
authorChristian Johansen <christian@gitorious.com>
Wed, 17 Oct 2012 09:46:07 +0000 (11:46 +0200)
committerChristian Johansen <christian@gitorious.com>
Thu, 25 Oct 2012 09:34:00 +0000 (11:34 +0200)
commitcc53a144edea02cbe1f1dff04cb39d1a1b016721
treef9a67e8bf3a8090b711a053289939fdd2b9e1876
parent48ac677757da7ca052c59ebec0ded6e11eef2642
Use i18n in a post Rails 2.3.5-compatible way

  - Don't use call and lambdas for messages
  - Don't call methods in messages
  - Prepare all paths and complex values when calling t()
13 files changed:
app/helpers/application_helper.rb
app/helpers/sessions_helper.rb
app/views/blobs/show.html.erb
app/views/commit_diffs/_compare_diffs.html.erb
app/views/commit_diffs/index.html.erb
app/views/repositories/clone.html.erb
app/views/sessions/new.html.erb
app/views/users/edit.html.erb
config/locales/en.rb
config/locales/es.rb
config/locales/fr.rb
config/locales/pt-BR.rb
test/fixtures/views/site/qt/index.html.erb