Permalink
Browse files

Remove ugly caller trace.

  • Loading branch information...
radar authored and Sven Fuchs committed Jul 10, 2010
1 parent 8805e01 commit 5ddfc1481840911971a641156f07e0784f3dd692
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/i18n/backend/base.rb
View
@@ -219,7 +219,7 @@ def load_yml(filename)
def warn_syntax_deprecation!(locale, string) #:nodoc:
return if @skip_syntax_deprecation
- warn "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.\n#{locale} - #{string}\n#{caller.join("\n")}"
+ warn "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.\n#{locale} - #{string}\n"
@skip_syntax_deprecation = true
end
end

0 comments on commit 5ddfc14

Please sign in to comment.