Sha256: e213c3bcd9ae9e3755d32306a59dcddca187915972d2f403237b446d0c0d3d67

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

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

module Phrase
  module Formats
    class PlayProperties < Phrase::Formats::Base
      def self.filename_for_locale(locale)
        "messages.#{locale.code}"
      end
      
      def self.renders_locale_as_extension?
        true
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phrase-0.4.33 lib/phrase/formats/play_properties.rb
phrase-0.4.32 lib/phrase/formats/play_properties.rb
phrase-0.4.31 lib/phrase/formats/play_properties.rb
phrase-0.4.30 lib/phrase/formats/play_properties.rb
phrase-0.4.29 lib/phrase/formats/play_properties.rb
phrase-0.4.28 lib/phrase/formats/play_properties.rb
phrase-0.4.27 lib/phrase/formats/play_properties.rb