Sha256: 2f5a101b40743884379c6f006acabc177e0b0222792f524a22a6af8e3143d174

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 KB

Contents

# encoding: utf-8

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

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

    t['labels.id']          = '#'
    t['labels.name']        = 'Name'
    t['labels.slug']        = 'Slug'
    t['labels.description'] = 'Description'
    t['labels.super_group'] = 'Super group'

    t['messages.no_groups'] = 'No user groups were found.'

    t['errors.new']           = 'Failed to create a new user group.'
    t['errors.save']          = 'Failed to modify the user group.'
    t['errors.delete']        = 'Failed to delete the user group with ID #%s.'
    t['errors.no_delete']     = 'You have to specify at least one group to delete.'
    t['errors.invalid_group'] = 'The specified user group is invalid.'

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/users/lib/users/language/en/user_groups.rb
zen-0.4.2 lib/zen/package/users/lib/users/language/en/user_groups.rb
zen-0.4.1 lib/zen/package/users/lib/users/language/en/user_groups.rb
zen-0.4 lib/zen/package/users/lib/users/language/en/user_groups.rb