Sha256: 774c98517624267dc2d583cd6eec688077f235201a4b0bea70054ff1894b4026

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

# -*- encoding : utf-8 -*-

module Phrase
  module Formats
    class GoI18n < Phrase::Formats::Base
      def self.filename_for_locale(locale)
        "#{locale.name}.all.json"
      end

      def self.locale_aware?
        false
      end

      def self.extensions
        [:json]
      end

      def self.target_directory
        'locales/'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phrase-0.4.33 lib/phrase/formats/go_i18n.rb
phrase-0.4.32 lib/phrase/formats/go_i18n.rb