Responsibility:
- find and store mo files - provide access to translations in mo files
# File lib/fast_gettext/translation_repository/mo.rb, line 30 def current_translations @files[FastGettext.locale] || MoFile.empty end
# File lib/fast_gettext/translation_repository/mo.rb, line 23 def find_and_store_files(name,options) # parse all .mo files with the right name, that sit in locale/LC_MESSAGES folders find_files_in_locale_folders(File.join('LC_MESSAGES',"#{name}.mo"), options[:path]) do |locale,file| @files[locale] = MoFile.new(file) end end
Generated with the Darkfish Rdoc Generator 2.