aboutsummaryrefslogtreecommitdiffstats
path: root/lib/i18n_fixes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/i18n_fixes.rb')
-rw-r--r--lib/i18n_fixes.rb4
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