]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
There's no need to use an alternative repository for SystemTimer as it
[rails.git] / config / initializers / i18n.rb
index a061d873a2eab5e9b03cc079944bb1794ed978cc..54a925e3cd6ee85deab7f85cba7968be03168ce4 100644 (file)
@@ -2,5 +2,3 @@ require 'globalize/i18n/missing_translations_log_handler'
 
 I18n.missing_translations_logger = Logger.new("#{RAILS_ROOT}/log/missing_translations.log")
 I18n.exception_handler = :missing_translations_log_handler
-
-I18n.backend.add_pluralizer :sl, lambda { |c| c%100 == 1 ? :one : c%100 == 2 ? :two : (3..4).include?(c%100) ? :few : :other }