Sha256: 8bca0fbf99b60729164066ca009540daa8f99a77b85d120fd1fdebb15a1ee181

Contents?: true

Size: 207 Bytes

Versions: 7

Compression:

Stored size: 207 Bytes

Contents

Zen::Language::Translation.add do |trans|
  trans.language = 'en'
  trans.name     = 'spec'

  trans.translate do |t|
    t['name'] = 'Name'
    t['age']  = 'Age'

    t['parent.sub'] = 'Sub item'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zen-0.4.3 spec/fixtures/zen/language/en/spec.rb
zen-0.4.2 spec/fixtures/zen/language/en/spec.rb
zen-0.4.1 spec/fixtures/zen/language/en/spec.rb
zen-0.4 spec/fixtures/zen/language/en/spec.rb
zen-0.3 spec/fixtures/zen/language/en/spec.rb
zen-0.3b1 spec/fixtures/zen/language/en/spec.rb
zen-0.3b spec/fixtures/zen/language/en/spec.rb