Class: HammerCLI::I18n::LocaleDomain

Inherits:
AbstractLocaleDomain show all
Defined in:
lib/hammer_cli/i18n.rb

Direct Known Subclasses

SystemLocaleDomain

Instance Method Summary collapse

Methods inherited from AbstractLocaleDomain

#available?, #available_locales, #type

Instance Method Details

#domain_nameObject



70
71
72
# File 'lib/hammer_cli/i18n.rb', line 70

def domain_name
  'hammer-cli'
end

#locale_dirObject



66
67
68
# File 'lib/hammer_cli/i18n.rb', line 66

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

#translated_filesObject



62
63
64
# File 'lib/hammer_cli/i18n.rb', line 62

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