Class: HammerCLIForemanRhCloud::I18n::LocaleDomain

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

Direct Known Subclasses

SystemLocaleDomain

Instance Method Summary collapse

Instance Method Details

#domain_nameObject



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

def domain_name
  'hammer-cli-foreman-rh-cloud'
end

#locale_dirObject



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

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

#translated_filesObject



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

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