A bit of refactoring in translation files.
[timetracker.git] / WEB-INF / resources / en.lang.php
index ad1aabf..5d2acd5 100644 (file)
@@ -85,7 +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.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.',
@@ -103,6 +102,13 @@ $i18n_key_words = array(
 'error.cannot_import' => 'Cannot import: %s.',
 'error.format' => 'Invalid file format.',
 
+// Warning messages.
+'warn.sure' => 'Are you sure?',
+'warn.confirm_save' => 'Date has changed. Confirm saving, not copying this item.',
+
+// Success messages.
+'msg.success' => 'Operation completed successfully.',
+
 // Labels for buttons.
 'button.login' => 'Login',
 'button.now' => 'Now',
@@ -219,8 +225,11 @@ $i18n_key_words = array(
 'label.work_units' => 'Work units',
 'label.work_units_short' => 'Units',
 'label.totals_only' => 'Totals only',
+'label.quota' => 'Quota',
 
 // Form titles.
+'title.error' => 'Error',
+'title.success' => 'Success',
 'title.login' => 'Login',
 'title.groups' => 'Groups',
 'title.subgroups' => 'Subgroups',
@@ -457,6 +466,7 @@ $i18n_key_words = array(
 'form.group_edit.allow_overlap' => 'Allow overlap',
 'form.group_edit.future_entries' => 'Future entries',
 'form.group_edit.uncompleted_indicators' => 'Uncompleted indicators',
+'form.group_edit.confirm_save' => 'Confirm saving',
 'form.group_edit.allow_ip' => 'Allow IP',
 
 // Deleting Group form. See example at https://timetracker.anuko.com/delete_group.php
@@ -473,7 +483,6 @@ $i18n_key_words = array(
 // 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.',