Sha256: 000e7129bcbc26f823d9fef3bbab469c30adf56ee35367185b1a712fe06d194f

Contents?: true

Size: 491 Bytes

Versions: 11

Compression:

Stored size: 491 Bytes

Contents

require 'hammer_cli/i18n'

module HammerCLIForemanOpenscap
  module I18n

    class LocaleDomain < HammerCLI::I18n::LocaleDomain

      def translated_files
        Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
      end

      def locale_dir
        File.join(File.dirname(__FILE__), '../../locale')
      end

      def domain_name
        'hammer_cli_foreman_openscap'
      end
    end

  end
end

HammerCLI::I18n.add_domain(HammerCLIForemanOpenscap::I18n::LocaleDomain.new)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hammer_cli_foreman_openscap-0.2.1 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.2.0 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.13 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.12 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.11 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.10 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.9 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.8 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.7 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.6 lib/hammer_cli_foreman_openscap/i18n.rb
hammer_cli_foreman_openscap-0.1.5 lib/hammer_cli_foreman_openscap/i18n.rb