aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-12-12 09:35:16 +0000
committerLouise Crow <louise.crow@gmail.com>2013-12-12 09:35:16 +0000
commit65a961c4e74ca56f50468f1194e0d080169ce04a (patch)
treeba66a27a4268365267a03c73293e248f1b3aeb60
parent2c9288e5cc7eb0209f185018134ec6e3ebb91eda (diff)
parent7538075754a3fbd4fa4a11ca1374203d2463f8d3 (diff)
Merge branch 'feature/interpolation-fixes' into rails-3-develop
-rw-r--r--lib/i18n_fixes.rb2
-rw-r--r--locale/fr/app.po2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/i18n_fixes.rb b/lib/i18n_fixes.rb
index 9f0849e75..64c370477 100644
--- a/lib/i18n_fixes.rb
+++ b/lib/i18n_fixes.rb
@@ -35,7 +35,7 @@ def gettext_interpolate(string, values)
pattern, key = $1, $1.to_sym
if !values.include?(key)
- raise I18n::MissingInterpolationArgument.new(pattern, string)
+ raise I18n::MissingInterpolationArgument.new(pattern, string, values)
else
v = values[key].to_s
if safe && !v.html_safe?
diff --git a/locale/fr/app.po b/locale/fr/app.po
index b72f71dea..5b22e2172 100644
--- a/locale/fr/app.po
+++ b/locale/fr/app.po
@@ -634,7 +634,7 @@ msgid "Date:"
msgstr "Date:"
msgid "Dear {{name}},"
-msgstr "Cher {{nom}},"
+msgstr "Cher {{name}},"
msgid "Dear {{public_body_name}},"
msgstr "Cher {{public_body_name}},"