Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-07-30 01:29:41 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-07-30 01:30:20 +0400
commitbea333842fbd9273f6544e50b71e98fa73c4303e (patch)
tree2630e7cf227345453a4f33d8d8297a695faebaec /lib
parentb56838e5b11455ca765b2be62265d6d4b5ab6d7c (diff)
Make sure that a MissingInterpolationArgument in the english locale is raised
Diffstat (limited to 'lib')
-rw-r--r--lib/i18n_interpolation_fallbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/i18n_interpolation_fallbacks.rb b/lib/i18n_interpolation_fallbacks.rb
index 45c6dfe59..067601bcb 100644
--- a/lib/i18n_interpolation_fallbacks.rb
+++ b/lib/i18n_interpolation_fallbacks.rb
@@ -17,7 +17,7 @@ module I18n
options.delete(:fallback)
return super(locale, nil, options.merge(:default => default)) if default
- raise(I18n::MissingInterpolationError.new(locale, key, options))
+ raise(I18n::MissingInterpolationArgument.new(options, "key: #{key} in locale: #{locale}"))
end
end
end