Further streamlining of error messages.
[timetracker.git] / WEB-INF / resources / en.lang.php
index 35958ad..4c569dc 100644 (file)
@@ -47,6 +47,8 @@ $i18n_key_words = array(
 'menu.create_group' => 'Create Group',
 'menu.profile' => 'Profile',
 'menu.group' => 'Group',
+'menu.subgroups' => 'Subgroups',
+'menu.plugins' => 'Plugins',
 'menu.time' => 'Time',
 'menu.expenses' => 'Expenses',
 'menu.reports' => 'Reports',
@@ -83,9 +85,6 @@ $i18n_key_words = array(
 '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.',
@@ -93,12 +92,15 @@ $i18n_key_words = array(
 '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.',
+'error.mail_send' => 'Error sending mail. Use MAIL_SMTP_DEBUG for diagnostics.',
 'error.no_email' => 'No email associated with this login.',
 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.',
 'error.goto_uncompleted' => 'Go to uncompleted entry.',
 'error.overlap' => 'Time interval overlaps with existing records.',
 'error.future_date' => 'Date is in future.',
+'error.xml' => 'Error in XML file at line %d: %s.',
+'error.cannot_import' => 'Cannot import: %s.',
+'error.format' => 'Invalid file format.',
 
 // Labels for buttons.
 'button.login' => 'Login',
@@ -139,6 +141,8 @@ $i18n_key_words = array(
 'label.end_date' => 'End date',
 'label.user' => 'User',
 'label.users' => 'Users',
+'label.group' => 'Group',
+'label.subgroups' => 'Subgroups',
 'label.roles' => 'Roles',
 'label.client' => 'Client',
 'label.clients' => 'Clients',
@@ -212,11 +216,14 @@ $i18n_key_words = array(
 'label.week_note' => 'Week note',
 'label.week_list' => 'Week list',
 'label.work_units' => 'Work units',
+'label.work_units_short' => 'Units',
+'label.totals_only' => 'Totals only',
 
 // Form titles.
 'title.login' => 'Login',
 'title.groups' => 'Groups',
-'title.create_group' => 'Creating Group',
+'title.subgroups' => 'Subgroups',
+'title.add_group' => 'Adding Group',
 'title.edit_group' => 'Editing Group',
 'title.delete_group' => 'Deleting Group',
 'title.reset_password' => 'Resetting Password',
@@ -270,7 +277,7 @@ $i18n_key_words = array(
 'title.import' => 'Importing Group Data',
 'title.options' => 'Options',
 'title.profile' => 'Profile',
-'title.group' => 'Group Settings',
+'title.plugins' => 'Plugins',
 'title.cf_custom_fields' => 'Custom Fields',
 'title.cf_add_custom_field' => 'Adding Custom Field',
 'title.cf_edit_custom_field' => 'Editing Custom Field',
@@ -284,6 +291,7 @@ $i18n_key_words = array(
 'title.locking' => 'Locking',
 'title.week_view' => 'Week View',
 'title.swap_roles' => 'Swapping Roles',
+'title.work_units' => 'Work Units',
 
 // 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.
@@ -361,7 +369,6 @@ $i18n_key_words = array(
 'form.reports.group_by_client' => 'client',
 'form.reports.group_by_project' => 'project',
 'form.reports.group_by_task' => 'task',
-'form.reports.totals_only' => 'Totals only',
 
 // Report form. See example at https://timetracker.anuko.com/report.php
 // (after generating a report at https://timetracker.anuko.com/reports.php).
@@ -425,7 +432,7 @@ $i18n_key_words = array(
 'form.export.compression_none' => 'none',
 'form.export.compression_bzip' => 'bzip',
 
-// Importing Group Data form. See example at https://timetracker.anuko.com/imort.php (login as admin first).
+// Importing Group Data form. See example at https://timetracker.anuko.com/import.php (login as admin first).
 'form.import.hint' => 'Import group data from an xml file.',
 'form.import.file' => 'Select file',
 'form.import.success' => 'Import completed successfully.',
@@ -450,7 +457,6 @@ $i18n_key_words = array(
 'form.group_edit.future_entries' => 'Future entries',
 'form.group_edit.uncompleted_indicators' => 'Uncompleted indicators',
 'form.group_edit.allow_ip' => 'Allow IP',
-'form.group_edit.plugins' => 'Plugins',
 
 // Deleting Group form. See example at https://timetracker.anuko.com/delete_group.php
 'form.group_delete.hint' => 'Are you sure you want to delete the entire group?',
@@ -474,6 +480,10 @@ $i18n_key_words = array(
 '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',
 
+// Work Units configuration form. See example at https://timetracker.anuko.com/work_units.php after enabling Work units plugin.
+'form.work_units.minutes_in_unit' => 'Minutes in unit',
+'form.work_units.1st_unit_threshold' => '1st unit threshold',
+
 // 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',