Using error.object_exists instead of error.task_exists to streamline error messages.
[timetracker.git] / WEB-INF / resources / ca.lang.php
index cc8264d..e8c8118 100644 (file)
@@ -50,6 +50,7 @@ $i18n_key_words = array(
 'menu.profile' => 'Perfil',
 // TODO: translate the following.
 // 'menu.group' => 'Group',
+// 'menu.plugins' => 'Plugins',
 'menu.time' => 'Temps',
 // TODO: translate the following.
 // 'menu.expenses' => 'Expenses',
@@ -62,6 +63,7 @@ $i18n_key_words = array(
 'menu.users' => 'Usuaris',
 'menu.groups' => 'Grups',
 // TODO: translate the following.
+// 'menu.subgroups' => 'Subgroups',
 // 'menu.export' => 'Export',
 'menu.clients' => 'Clients',
 'menu.options' => 'Opcions',
@@ -97,9 +99,6 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'error.user_exists' => 'User with this login already exists.',
 // 'error.object_exists' => 'Object with this name already exists.',
-'error.project_exists' => 'Ja existeix un projecte amb aquest nom.',
-// TODO: translate the following.
-// '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.',
@@ -109,12 +108,15 @@ $i18n_key_words = array(
 'error.upload' => 'Error pujant l\\\'arxiu.',
 // TODO: translate the following.
 // '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' => 'Iniciar sessió',
@@ -162,6 +164,8 @@ $i18n_key_words = array(
 'label.user' => 'Usuari',
 'label.users' => 'Usuaris',
 // TODO: translate the following.
+// 'label.group' => 'Group',
+// 'label.subgroups' => 'Subgroups',
 // 'label.roles' => 'Roles',
 'label.client' => 'Client',
 'label.clients' => 'Clients',
@@ -243,6 +247,9 @@ $i18n_key_words = array(
 // 'label.mark_paid' => 'Mark paid',
 // 'label.week_note' => 'Week note',
 // 'label.week_list' => 'Week list',
+// 'label.work_units' => 'Work units',
+// 'label.work_units_short' => 'Units',
+'label.totals_only' => 'Només totals',
 
 // Form titles.
 // TODO: Improve titles for consistency, so that each title explains correctly what each
@@ -252,7 +259,8 @@ $i18n_key_words = array(
 'title.login' => 'Sessió iniciada',
 'title.groups' => 'Grups',
 // TODO: translate the following.
-// 'title.create_group' => 'Creating Group',
+// 'title.subgroups' => 'Subgroups',
+// 'title.add_group' => 'Adding Group',
 // 'title.edit_group' => 'Editing Group',
 'title.delete_group' => 'Eliminar grup',
 'title.reset_password' => 'Restablir paraula de pas',
@@ -314,7 +322,7 @@ $i18n_key_words = array(
 'title.options' => 'Opcions',
 'title.profile' => 'Perfil',
 // TODO: translate the following.
-// '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',
@@ -328,6 +336,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.
@@ -412,7 +421,6 @@ $i18n_key_words = array(
 'form.reports.group_by_project' => 'projecte',
 // TODO: translate the following.
 // 'form.reports.group_by_task' => 'task',
-'form.reports.totals_only' => 'Només totals',
 
 // Report form. See example at https://timetracker.anuko.com/report.php
 // (after generating a report at https://timetracker.anuko.com/reports.php).
@@ -487,7 +495,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' => 'Importar dades del grup des d\\\'un arxiu xml.',
 'form.import.file' => 'Sel·leccioni l\\\'arxiu',
 'form.import.success' => 'Importació finalitzada amb èxit.',
@@ -514,7 +522,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
 // TODO: translate the following.
@@ -542,6 +549,11 @@ $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.
+// TODO: translate the following.
+// '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.
 // TODO: translate the following.
 // 'role.user.label' => 'User',