Sha256: 75f105dc191b306bb02fe776417dd2002226f0226ce108c3dbb71044c78abc1e

Contents?: true

Size: 319 Bytes

Versions: 19

Compression:

Stored size: 319 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

19 entries across 19 versions & 1 rubygems

Version Path
phrase-0.4.33 lib/phrase/formats/simple_json.rb
phrase-0.4.32 lib/phrase/formats/simple_json.rb
phrase-0.4.31 lib/phrase/formats/simple_json.rb
phrase-0.4.30 lib/phrase/formats/simple_json.rb
phrase-0.4.29 lib/phrase/formats/simple_json.rb
phrase-0.4.28 lib/phrase/formats/simple_json.rb
phrase-0.4.27 lib/phrase/formats/simple_json.rb
phrase-0.4.26 lib/phrase/formats/simple_json.rb
phrase-0.4.25 lib/phrase/formats/simple_json.rb
phrase-0.4.24 lib/phrase/formats/simple_json.rb
phrase-0.4.23 lib/phrase/formats/simple_json.rb
phrase-0.4.22 lib/phrase/formats/simple_json.rb
phrase-0.4.21 lib/phrase/formats/simple_json.rb
phrase-0.4.20 lib/phrase/formats/simple_json.rb
phrase-0.4.19 lib/phrase/formats/simple_json.rb
phrase-0.4.18 lib/phrase/formats/simple_json.rb
phrase-0.4.17 lib/phrase/formats/simple_json.rb
phrase-0.4.16 lib/phrase/formats/simple_json.rb
phrase-0.4.15 lib/phrase/formats/simple_json.rb