remove l10n_patch.rb

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@972 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 876c0e0e86
commit e3a0c673e6
  1. 15
      lib/l10n_patch.rb

@ -1,15 +0,0 @@
module ActionView::Helpers::NumberHelper
include GLoc
def number_to_currency_with_l10n(number, options = {})
options[:delimiter] = l(:currency_delimiter) unless options[:delimiter]
options[:separator] = l(:currency_separator) unless options[:separator]
options[:unit] = Setting.plugin_redmine_costs['costs_currency'] unless options[:unit]
options[:format] = Setting.plugin_redmine_costs['costs_currency_format'] unless options[:format]
number_to_currency_without_l10n(number, options)
end
alias_method_chain :number_to_currency, :l10n
end
Loading…
Cancel
Save