Class: HammerCLIForemanKubevirt::I18n::LocaleDomain

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

Instance Method Summary collapse

Instance Method Details

#domain_nameObject



15
16
17
# File 'lib/hammer_cli_foreman_kubevirt/i18n.rb', line 15

def domain_name
  'hammer_cli_foreman_kubevirt'
end

#locale_dirObject



11
12
13
# File 'lib/hammer_cli_foreman_kubevirt/i18n.rb', line 11

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

#translated_filesObject



7
8
9
# File 'lib/hammer_cli_foreman_kubevirt/i18n.rb', line 7

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

#typeObject



19
20
21
# File 'lib/hammer_cli_foreman_kubevirt/i18n.rb', line 19

def type
  :mo
end