diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-02-02 14:59:43 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-02-02 14:59:43 +0000 |
commit | f02f6d9f5ef19b1b1ed05e2bcfa89b49836a97e3 (patch) | |
tree | 1d277363206c649fdf4a5d8881374a8594d108e7 /lib | |
parent | 910caa491391dd68f3e2f2f604047a25bec7a28c (diff) |
Fix namespace problem in i18n interpolation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/i18n_fixes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/i18n_fixes.rb b/lib/i18n_fixes.rb index fad258a72..6e684d44a 100644 --- a/lib/i18n_fixes.rb +++ b/lib/i18n_fixes.rb @@ -22,9 +22,9 @@ def gettext_interpolate(string, values) if escaped pattern elsif INTERPOLATION_RESERVED_KEYS.include?(pattern) - raise ReservedInterpolationKey.new(pattern, string) + raise I18n::ReservedInterpolationKey.new(pattern, string) elsif !values.include?(key) - raise MissingInterpolationArgument.new(pattern, string) + raise I18n::MissingInterpolationArgument.new(pattern, string) else values[key].to_s end |