Refactoring. Renaming team to group.
[timetracker.git] / WEB-INF / resources / en.lang.php
index a5d835f..622f838 100644 (file)
@@ -44,8 +44,9 @@ $i18n_key_words = array(
 'menu.logout' => 'Logout',
 'menu.forum' => 'Forum',
 'menu.help' => 'Help',
-'menu.create_team' => 'Create Team',
+'menu.create_group' => 'Create Group',
 'menu.profile' => 'Profile',
+'menu.group' => 'Group',
 'menu.time' => 'Time',
 'menu.expenses' => 'Expenses',
 'menu.reports' => 'Reports',
@@ -53,7 +54,7 @@ $i18n_key_words = array(
 'menu.projects' => 'Projects',
 'menu.tasks' => 'Tasks',
 'menu.users' => 'Users',
-'menu.teams' => 'Teams',
+'menu.groups' => 'Groups',
 'menu.export' => 'Export',
 'menu.clients' => 'Clients',
 'menu.options' => 'Options',
@@ -69,6 +70,7 @@ $i18n_key_words = array(
 'error.access_denied' => 'Access denied.',
 'error.sys' => 'System error.',
 'error.db' => 'Database error.',
+'error.feature_disabled' => 'Feature is disabled.',
 'error.field' => 'Incorrect "{0}" data.',
 'error.empty' => 'Field "{0}" is empty.',
 'error.not_equal' => 'Field "{0}" is not equal to field "{1}".',
@@ -80,13 +82,15 @@ $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.',
+'error.no_groups' => 'Your database is empty. Login as admin and create a new group.',
 'error.upload' => 'File upload error.',
 'error.range_locked' => 'Date range is locked.',
 'error.mail_send' => 'Error sending mail.',
@@ -103,13 +107,8 @@ $i18n_key_words = array(
 'button.copy' => 'Copy',
 'button.cancel' => 'Cancel',
 'button.submit' => 'Submit',
-'button.add_user' => 'Add user',
-'button.add_project' => 'Add project',
-'button.add_task' => 'Add task',
-'button.add_client' => 'Add client',
-'button.add_invoice' => 'Add invoice',
-'button.add_option' => 'Add option',
 'button.add' => 'Add',
+'button.delete' => 'Delete',
 'button.generate' => 'Generate',
 'button.reset_password' => 'Reset password',
 'button.send' => 'Send',
@@ -140,6 +139,7 @@ $i18n_key_words = array(
 'label.end_date' => 'End date',
 'label.user' => 'User',
 'label.users' => 'Users',
+'label.roles' => 'Roles',
 'label.client' => 'Client',
 'label.clients' => 'Clients',
 'label.option' => 'Option',
@@ -156,12 +156,11 @@ $i18n_key_words = array(
 'label.notes' => 'Notes',
 'label.item' => 'Item',
 'label.cost' => 'Cost',
+'label.ip' => 'IP',
 'label.day_total' => 'Day total',
 'label.week_total' => 'Week total',
 'label.month_total' => 'Month total',
 'label.today' => 'Today',
-'label.total_hours' => 'Total hours',
-'label.total_cost' => 'Total cost',
 'label.view' => 'View',
 'label.edit' => 'Edit',
 'label.delete' => 'Delete',
@@ -203,7 +202,7 @@ $i18n_key_words = array(
 'label.type_text' => 'text',
 'label.required' => 'Required',
 'label.fav_report' => 'Favorite report',
-'label.cron_schedule' => 'Cron schedule',
+'label.schedule' => 'Schedule',
 'label.what_is_it' => 'What is it?',
 'label.expense' => 'Expense',
 'label.quantity' => 'Quantity',
@@ -249,6 +248,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',
@@ -266,6 +269,7 @@ $i18n_key_words = array(
 'title.import' => 'Importing Team Data',
 'title.options' => 'Options',
 'title.profile' => 'Profile',
+'title.group' => 'Group Settings',
 'title.cf_custom_fields' => 'Custom Fields',
 'title.cf_add_custom_field' => 'Adding Custom Field',
 'title.cf_edit_custom_field' => 'Editing Custom Field',
@@ -278,6 +282,7 @@ $i18n_key_words = array(
 // It is also a name for the Locking plugin on the Team profile page.
 'title.locking' => 'Locking',
 'title.week_view' => 'Week View',
+'title.swap_roles' => 'Swapping Roles',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
@@ -303,8 +308,8 @@ $i18n_key_words = array(
 'dropdown.select_invoice' => '--- select invoice ---',
 'dropdown.status_active' => 'active',
 'dropdown.status_inactive' => 'inactive',
-'dropdown.delete'=>'delete',
-'dropdown.do_not_delete'=>'do not delete',
+'dropdown.delete' => 'delete',
+'dropdown.do_not_delete' => 'do not delete',
 'dropdown.paid' => 'paid',
 'dropdown.not_paid' => 'not paid',
 
@@ -315,12 +320,12 @@ $i18n_key_words = array(
 
 // Login form. See example at https://timetracker.anuko.com/login.php.
 'form.login.forgot_password' => 'Forgot password?',
-'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
+'form.login.about' => 'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
 
 // Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php.
 'form.reset_password.message' => 'Password reset request sent by email.',
 'form.reset_password.email_subject' => 'Anuko Time Tracker password reset request',
-'form.reset_password.email_body' => "Dear User,\n\nSomeone, possibly you, requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
+'form.reset_password.email_body' => "Dear User,\n\nSomeone from IP %s requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
 
 // Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
 'form.change_password.tip' => 'Type new password and click on Save.',
@@ -394,6 +399,14 @@ $i18n_key_words = array(
 'form.users.rate' => 'Rate',
 'form.users.default_rate' => 'Default hourly rate',
 
+ // 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',
 'form.clients.inactive_clients' => 'Inactive Clients',
@@ -414,11 +427,13 @@ $i18n_key_words = array(
 'form.import.success' => 'Import completed successfully.',
 
 // Teams form. See example at https://timetracker.anuko.com/admin_teams.php (login as admin first).
-'form.teams.hint' =>  'Create a new team by creating a new team manager account.<br>You can also import team data from an xml file from another Anuko Time Tracker server (no login collisions are allowed).',
+'form.teams.hint' => 'Create a new team by creating a new team manager account.<br>You can also import team data from an xml file from another Anuko Time Tracker server (no login collisions are allowed).',
 
 // Profile form. See example at https://timetracker.anuko.com/profile_edit.php.
+'form.profile.swap_roles' => 'Swap roles',
 'form.profile.12_hours' => '12 hours',
 'form.profile.24_hours' => '24 hours',
+'form.profile.show_holidays' => 'Show holidays',
 'form.profile.tracking_mode' => 'Tracking mode',
 'form.profile.mode_time' => 'time',
 'form.profile.mode_projects' => 'projects',
@@ -427,9 +442,11 @@ $i18n_key_words = array(
 'form.profile.type_all' => 'all',
 'form.profile.type_start_finish' => 'start and finish',
 'form.profile.type_duration' => 'duration',
+'form.profile.punch_mode' => 'Punch mode',
+'form.profile.allow_overlap' => 'Allow overlap',
+'form.profile.future_entries' => 'Future entries',
 'form.profile.uncompleted_indicators' => 'Uncompleted indicators',
-'form.profile.uncompleted_indicators_none' => 'do not show',
-'form.profile.uncompleted_indicators_show' => 'show',
+'form.profile.allow_ip' => 'Allow IP',
 'form.profile.plugins' => 'Plugins',
 
 // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
@@ -440,10 +457,37 @@ $i18n_key_words = array(
 'form.mail.report_sent' => 'Report sent.',
 'form.mail.invoice_sent' => 'Invoice sent.',
 
-// Quotas configuration form.
+// Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin.
 'form.quota.year' => 'Year',
 'form.quota.month' => 'Month',
 '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.',
+
+// Swap roles form. See example at https://timetracker.anuko.com/swap_roles.php.
+'form.swap.hint' => 'Demote yourself to a lower role by swapping roles with someone else. This cannot be undone.',
+'form.swap.swap_with' => 'Swap roles with',
+
+// 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.',
 );