Sha256: 1329346d37550f64b2c01849b1257ad7d16e4e094ce8553a344b0b3e97c82480

Contents?: true

Size: 537 Bytes

Versions: 12

Compression:

Stored size: 537 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|
          PoFile.new(file, options)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fast_gettext-1.8.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.7.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.1.2 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.1.1 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.6.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.5.1 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.5.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.4.1 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.4.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.3.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.2.0 lib/fast_gettext/translation_repository/po.rb
fast_gettext-1.1.0 lib/fast_gettext/translation_repository/po.rb