Class: HammerCLIKatello::I18n::LocaleDomain

Inherits:
HammerCLI::I18n::LocaleDomain
  • Object
show all
Defined in:
lib/hammer_cli_katello/i18n.rb

Instance Method Summary collapse

Instance Method Details

#domain_nameObject



14
15
16
# File 'lib/hammer_cli_katello/i18n.rb', line 14

def domain_name
  'hammer-cli-katello'
end

#locale_dirObject



10
11
12
# File 'lib/hammer_cli_katello/i18n.rb', line 10

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

#translated_filesObject



6
7
8
# File 'lib/hammer_cli_katello/i18n.rb', line 6

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