Added capability to add custom roles - work in progress.
[timetracker.git] / WEB-INF / resources / tr.lang.php
index ddadaa5..da1359c 100644 (file)
@@ -99,11 +99,13 @@ $i18n_key_words = array(
 'error.auth' => 'Hatalı kullanıcı adı veya parola.',
 // 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' => 'Bu isimde proje zaten vardır.',
 // 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.',
 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 // 'error.no_login' => 'No user with this login.',
 'error.no_teams' => 'Veritabanınız boş. Yeni bir ekip yaratmak için yönetici olarak giriş yapın.',
@@ -125,15 +127,8 @@ $i18n_key_words = array(
 // 'button.copy' => 'Copy',
 'button.cancel' => 'Iptal',
 'button.submit' => 'Gönder',
-'button.add_user' => 'Kullanıcı ekle',
-'button.add_project' => 'Proje ekle',
-// TODO: translate the following.
-// 'button.add_task' => 'Add task',
-'button.add_client' => 'Müşteri ekle',
-// TODO: translate the following.
-// 'button.add_invoice' => 'Add invoice',
-// 'button.add_option' => 'Add option',
 'button.add' => 'Ekle',
+'button.delete' => 'Sil',
 'button.generate' => 'Yarat',
 // TODO: translate the following.
 // 'button.reset_password' => 'Reset password',
@@ -172,6 +167,8 @@ $i18n_key_words = array(
 'label.end_date' => 'Son tarihi',
 'label.user' => 'Kullanıcı',
 'label.users' => 'Kullanıcılar',
+// TODO: translate the following.
+// 'label.roles' => 'Roles',
 'label.client' => 'Müşteri',
 'label.clients' => 'Müşteriler',
 // TODO: translate the following.
@@ -303,6 +300,11 @@ $i18n_key_words = array(
 'title.add_user' => 'Kullanıcı yarat', // TODO: we need consistency with all titles. Why not ekleniyor?
 'title.edit_user' => 'Kullanıcı düzenleniyor',
 'title.delete_user' => 'Kullanıcı siliniyor',
+// TODO: translate the following.
+// 'title.roles' => 'Roles',
+// 'title.add_role' => 'Adding Role',
+// 'title.edit_role' => 'Editing Role',
+// 'title.delete_role' => 'Deleting Role',
 'title.clients' => 'Müşteriler',
 'title.add_client' => 'Müşteri ekle',
 'title.edit_client' => 'Müşteriyi düzenle',
@@ -465,6 +467,15 @@ $i18n_key_words = array(
 'form.users.rate' => 'Tarife', // TODO: is this correct?
 'form.users.default_rate' => 'Varsayılan saat ücreti',
 
+// Roles form. See example at https://timetracker.anuko.com/roles.php
+// TODO: translate the following.
+// '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
 // TODO: translate the following.
 // 'form.clients.active_clients' => 'Active Clients',
@@ -504,8 +515,8 @@ $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_in_mode' => 'Allow overlap',
-// 'form.profile.allow_overlap' => 'Punch in mode',
+// '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.plugins' => 'Plugins',
@@ -526,4 +537,28 @@ $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.
+// TODO: translate the following.
+// '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.',
 );