Sha256: 141aab7e292b0a6536bcc03e0b5a248f8caca8c4d49cadb23b8148c6ddb796db
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
require 'fast_gettext/translation_repository/base' require 'fast_gettext/translation_repository/mo' module FastGettext module TranslationRepository # Responsibility: # - find and store po files # - provide access to translations in po files class Po < Mo protected def find_and_store_files(name, options) require 'fast_gettext/po_file' find_files_in_locale_folders("#{name}.po", options[:path]) do |locale,file| @files[locale] = PoFile.to_mo_file(file, options) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems