Module: Translate

Defined in:
lib/translate/log.rb,
lib/translate/file.rb,
lib/translate/keys.rb,
lib/translate/storage.rb,
lib/refinery/translate.rb

Defined Under Namespace

Classes: File, KeysKeys, Log, Storage

Class Method Summary (collapse)

Class Method Details

+ (Object) locales_dir



6
7
8
# File 'lib/refinery/translate.rb', line 6

def self.locales_dir
  @locales_dir || Rails.root.join("config", "locales").to_s
end

+ (Object) locales_dir=(dir)



2
3
4
# File 'lib/refinery/translate.rb', line 2

def self.locales_dir=(dir)
  @locales_dir = dir.to_s
end