Class: HammerCLIForeman::I18n::LocaleDomain

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

Direct Known Subclasses

SystemLocaleDomain

Instance Method Summary collapse

Instance Method Details

#domain_nameObject



16
17
18
# File 'lib/hammer_cli_foreman/i18n.rb', line 16

def domain_name
  'hammer-cli-foreman'
end

#locale_dirObject



12
13
14
# File 'lib/hammer_cli_foreman/i18n.rb', line 12

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

#translated_filesObject



8
9
10
# File 'lib/hammer_cli_foreman/i18n.rb', line 8

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