Sha256: cef9efc19856c2a5e61e20e73b4e07decd2258223e6da1a4886c0690fa2db8b8

Contents?: true

Size: 310 Bytes

Versions: 19

Compression:

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

19 entries across 19 versions & 1 rubygems

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