Sha256: e9d920eba0bd988317f0d8847adffb12fab917b63a2e2cfa344ed823cee629d6

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

# add rake tasks if we are inside Rails
if defined?(Rails::Railtie)
  module GettextI18nRails
    class Railtie < ::Rails::Railtie
      config.gettext_i18n_rails = ActiveSupport::OrderedOptions.new
      config.gettext_i18n_rails.msgmerge = %w[--sort-output --no-location --no-wrap]
      rake_tasks do
        require 'gettext_i18n_rails/tasks'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gettext_i18n_rails-0.3.5 lib/gettext_i18n_rails/railtie.rb