Sha256: dbb0e9ee6f78d897140e35f8b685fc7f7adc924caf1833f510132dc7e3faab5c

Contents?: true

Size: 319 Bytes

Versions: 13

Compression:

Stored size: 319 Bytes

Contents

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

module Phrase
  module Formats
    class Json < 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

13 entries across 13 versions & 1 rubygems

Version Path
phrase-0.4.14 lib/phrase/formats/json.rb
phrase-0.4.13 lib/phrase/formats/json.rb
phrase-0.4.12 lib/phrase/formats/json.rb
phrase-0.4.11 lib/phrase/formats/json.rb
phrase-0.4.10 lib/phrase/formats/json.rb
phrase-0.4.9 lib/phrase/formats/json.rb
phrase-0.4.8 lib/phrase/formats/json.rb
phrase-0.4.7 lib/phrase/formats/json.rb
phrase-0.4.6 lib/phrase/formats/json.rb
phrase-0.4.5 lib/phrase/formats/json.rb
phrase-0.4.4 lib/phrase/formats/json.rb
phrase-0.4.3 lib/phrase/formats/json.rb
phrase-0.4.2 lib/phrase/formats/json.rb