Sha256: a1769c8637ff6e00bc98a88906a12b79b84dbfbacaceb56f04562e9412600ec2

Contents?: true

Size: 331 Bytes

Versions: 13

Compression:

Stored size: 331 Bytes

Contents

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

module Phrase
  module Formats
    class SimpleJson < 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/simple_json.rb
phrase-0.4.13 lib/phrase/formats/simple_json.rb
phrase-0.4.12 lib/phrase/formats/simple_json.rb
phrase-0.4.11 lib/phrase/formats/simple_json.rb
phrase-0.4.10 lib/phrase/formats/simple_json.rb
phrase-0.4.9 lib/phrase/formats/simple_json.rb
phrase-0.4.8 lib/phrase/formats/simple_json.rb
phrase-0.4.7 lib/phrase/formats/simple_json.rb
phrase-0.4.6 lib/phrase/formats/simple_json.rb
phrase-0.4.5 lib/phrase/formats/simple_json.rb
phrase-0.4.4 lib/phrase/formats/simple_json.rb
phrase-0.4.3 lib/phrase/formats/simple_json.rb
phrase-0.4.2 lib/phrase/formats/simple_json.rb