Added capability to add custom roles - work in progress.
[timetracker.git] / WEB-INF / resources / en.lang.php
index eae3bb6..e083f45 100644 (file)
@@ -80,10 +80,12 @@ $i18n_key_words = array(
 'error.record' => 'Select record.',
 'error.auth' => 'Incorrect login or password.',
 'error.user_exists' => 'User with this login already exists.',
+'error.object_exists' => 'Object with this name already exists.',
 'error.project_exists' => 'Project with this name already exists.',
 'error.task_exists' => 'Task with this name already exists.',
 'error.client_exists' => 'Client with this name already exists.',
 'error.invoice_exists' => 'Invoice with this number already exists.',
+'error.role_exists' => 'Role with this rank already exists.',
 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 'error.no_login' => 'No user with this login.',
 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
@@ -104,6 +106,7 @@ $i18n_key_words = array(
 'button.cancel' => 'Cancel',
 'button.submit' => 'Submit',
 'button.add' => 'Add',
+'button.delete' => 'Delete',
 'button.generate' => 'Generate',
 'button.reset_password' => 'Reset password',
 'button.send' => 'Send',
@@ -242,6 +245,10 @@ $i18n_key_words = array(
 'title.add_user' => 'Adding User',
 'title.edit_user' => 'Editing User',
 'title.delete_user' => 'Deleting User',
+'title.roles' => 'Roles',
+'title.add_role' => 'Adding Role',
+'title.edit_role' => 'Editing Role',
+'title.delete_role' => 'Deleting Role',
 'title.clients' => 'Clients',
 'title.add_client' => 'Adding Client',
 'title.edit_client' => 'Editing Client',
@@ -390,7 +397,10 @@ $i18n_key_words = array(
  // Roles form. See example at https://timetracker.anuko.com/roles.php
 'form.roles.active_roles' => 'Active Roles',
 'form.roles.inactive_roles' => 'Inactive Roles',
+'form.roles.rank' => 'Rank',
 'form.roles.rights' => 'Rights',
+'form.roles.assigned' => 'Assigned',
+'form.roles.not_assigned' => 'Not assigned',
 
 // Clients form. See example at https://timetracker.anuko.com/clients.php
 'form.clients.active_clients' => 'Active Clients',
@@ -446,4 +456,27 @@ $i18n_key_words = array(
 'form.quota.quota' => 'Quota',
 'form.quota.workday_hours' => 'Hours in work day',
 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.',
+
+// Roles and rights. These strings are used in multiple places. Grouped here to provide consistent translations.
+'role.user.label' => 'User',
+'role.user.low_case_label' => 'user',
+'role.user.description' => 'A regular member without management rights.',
+'role.client.label' => 'Client',
+'role.client.low_case_label' => 'client',
+'role.client.description' => 'A client can view its own reports, charts, and invoices.',
+'role.supervisor.label' => 'Supervisor',
+'role.supervisor.low_case_label' => 'supervisor',
+'role.supervisor.description' => 'A person with a small set of management rights.',
+'role.comanager.label' => 'Co-manager',
+'role.comanager.low_case_label' => 'co-manager',
+'role.comanager.description' => 'A person with a big set of management functions.',
+'role.manager.label' => 'Manager',
+'role.manager.low_case_label' => 'manager',
+'role.manager.description' => 'Group manager. Can do most of things for a group.',
+'role.top_manager.label' => 'Top manager',
+'role.top_manager.low_case_label' => 'top manager',
+'role.top_manager.description' => 'Top group manager. Can do everything in a tree of groups.',
+'role.admin.label' => 'Administrator',
+'role.admin.low_case_label' => 'administrator',
+'role.admin.description' => 'Site adminsitrator.',
 );