Sha256: 6d6fa3fbd886cd06b8c8fa3e6188e7b06c442cc33639121402d224a2f5ec4d36

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

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

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

12 entries across 12 versions & 1 rubygems

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