Sha256: 185ef85f87966c3f2d3e88a92855dea33bfdbf0f9eb6bb96f8f95662a536e0ba

Contents?: true

Size: 1.5 KB

Versions: 7

Compression:

Stored size: 1.5 KB

Contents

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

  trans.translate do |t|
    t['titles.index'] = 'Category Groups'
    t['titles.edit']  = 'Edit Category'
    t['titles.new']   = 'Add Category Group'

    t['labels.id']          = '#'
    t['labels.name']        = 'Name'
    t['labels.description'] = 'Description'
    t['labels.manage']      = 'Manage categories'

    t['descriptions.name']  = 'The name of the category group'
    t['messages.no_groups'] = 'No category groups were found.'

    t['success.new']    = 'The category group has been created.'
    t['success.save']   = 'The category group has been modified.'
    t['success.delete'] = 'All selected category groups have been deleted.'

    t['errors.new']           = 'Failed to add the new category group.'
    t['errors.save']          = 'Failed to modify the category group.'
    t['errors.delete']        = 'Failed to delete the category group with ID #%s.'
    t['errors.invalid_group'] = 'The specified group is invalid.'
    t['errors.no_delete']     = 'You need to specify a category group to delete.'

    t['buttons.new']    = 'Add group'
    t['buttons.save']   = 'Save group'
    t['buttons.delete'] = 'Delete selected groups'

    t['permissions.show']   = 'Show category group'
    t['permissions.edit']   = 'Edit category group'
    t['permissions.new']    = 'Add category group'
    t['permissions.delete'] = 'Delete group'

    t['description'] = 'Managing categories and category groups.'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/categories/lib/categories/language/en/category_groups.rb
zen-0.4.2 lib/zen/package/categories/lib/categories/language/en/category_groups.rb
zen-0.4.1 lib/zen/package/categories/lib/categories/language/en/category_groups.rb
zen-0.4 lib/zen/package/categories/lib/categories/language/en/category_groups.rb
zen-0.3 lib/zen/package/categories/lib/categories/language/en/category_groups.rb
zen-0.3b1 lib/zen/package/categories/lib/categories/language/en/category_groups.rb
zen-0.3b lib/zen/package/categories/lib/categories/language/en/category_groups.rb