Sha256: c93a30cb257af272c73631fa2f868fb90b1517a0b32e31fc9c770f09f115ff94

Contents?: true

Size: 334 Bytes

Versions: 8

Compression:

Stored size: 334 Bytes

Contents

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

class Phrase::Tool::Formats::Gettext < Phrase::Tool::Formats::Base
  def self.directory_for_locale(locale)
    "./#{locale.name}/"
  end

  def self.filename_for_locale(locale)
    "#{config.domain}.po"
  end

  def self.target_directory
    "locales/"
  end
  
  def self.locale_aware?
    true
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phrase-0.4.1 lib/phrase/tool/formats/gettext.rb
phrase-0.4.0 lib/phrase/tool/formats/gettext.rb
phrase-0.3.7 lib/phrase/tool/formats/gettext.rb
phrase-0.3.6 lib/phrase/tool/formats/gettext.rb
phrase-0.3.5 lib/phrase/tool/formats/gettext.rb
phrase-0.3.4 lib/phrase/tool/formats/gettext.rb
phrase-0.3.3 lib/phrase/tool/formats/gettext.rb
phrase-0.3.2 lib/phrase/tool/formats/gettext.rb