Class: HammerCLI::I18n::LocaleDomain
Instance Method Summary
collapse
#available?, #available_locales, #type
Instance Method Details
#domain_name ⇒ Object
70
71
72
|
# File 'lib/hammer_cli/i18n.rb', line 70
def domain_name
'hammer-cli'
end
|
#locale_dir ⇒ Object
66
67
68
|
# File 'lib/hammer_cli/i18n.rb', line 66
def locale_dir
File.join(File.dirname(__FILE__), '../../locale')
end
|
#translated_files ⇒ Object
62
63
64
|
# File 'lib/hammer_cli/i18n.rb', line 62
def translated_files
Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
end
|