Sha256: 7adb607d3e14be379808dceb03f9f03672ca4bfeacb00041d1241670a25fa670

Contents?: true

Size: 319 Bytes

Versions: 11

Compression:

Stored size: 319 Bytes

Contents

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

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

      def self.locale_aware?
        false
      end

      def self.extensions
        [:json]
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
phrase-0.4.33 lib/phrase/formats/nested_json.rb
phrase-0.4.32 lib/phrase/formats/nested_json.rb
phrase-0.4.31 lib/phrase/formats/nested_json.rb
phrase-0.4.30 lib/phrase/formats/nested_json.rb
phrase-0.4.29 lib/phrase/formats/nested_json.rb
phrase-0.4.28 lib/phrase/formats/nested_json.rb
phrase-0.4.27 lib/phrase/formats/nested_json.rb
phrase-0.4.26 lib/phrase/formats/nested_json.rb
phrase-0.4.25 lib/phrase/formats/nested_json.rb
phrase-0.4.24 lib/phrase/formats/nested_json.rb
phrase-0.4.23 lib/phrase/formats/nested_json.rb