]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Switch to i18n version 0.5.0 but keep old style interpolation
[rails.git] / config / initializers / i18n.rb
index 8aadeaacf8edcba856e819b196777b6bfa927522..37d3cdebfe48f7333aaea389fb68cc46c4633fb9 100644 (file)
@@ -1,4 +1,9 @@
 module I18n
+  original_verbosity = $VERBOSE
+  $VERBOSE = nil
+  INTERPOLATION_PATTERN = /\{\{(\w+)\}\}/
+  $VERBOSE = original_verbosity
+
   module Backend
     class Simple
       module Implementation