Sha256: a7e875cbdc18c3edc7118bc671e71efca87785bed54d0c82ee32fac661fa380d

Contents?: true

Size: 326 Bytes

Versions: 13

Compression:

Stored size: 326 Bytes

Contents

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

module Phrase
  module Formats
    class Yaml < Phrase::Formats::Base
      def self.filename_for_locale(locale)
        "phrase.#{locale.name}.yml"
      end
      
      def self.locale_aware?
        true
      end
          
      def self.extensions
        [:yml]
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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