diff --git a/lib/l10n_patch.rb b/lib/l10n_patch.rb deleted file mode 100644 index b19b2d5971..0000000000 --- a/lib/l10n_patch.rb +++ /dev/null @@ -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 \ No newline at end of file