Some recycling and refactoring in translations.
[timetracker.git] / WEB-INF / resources / ca.lang.php
index 2053e81..c35d03f 100644 (file)
@@ -58,7 +58,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'menu.tasks' => 'Tasks',
 // 'menu.users' => 'Users',
-'menu.teams' => 'Equips',
+'menu.teams' => 'Grups',
 // TODO: translate the following.
 // 'menu.export' => 'Export',
 'menu.clients' => 'Clients',
@@ -100,7 +100,7 @@ $i18n_key_words = array(
 // 'error.invoice_exists' => 'Invoice with this number 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_teams' => 'La seva base de dades està buida. Iniciï sessió com a administrador i creï un nou grup.',
 'error.upload' => 'Error pujant l\\\'arxiu.',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
@@ -170,9 +170,9 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.option' => 'Option',
 'label.invoice' => 'Factura',
+'label.project' => 'Projecte',
+'label.projects' => 'Projectes',
 // TODO: translate the following.
-// 'label.project' => 'Project',
-// 'label.projects' => 'Projects',
 // 'label.task' => 'Task',
 // 'label.tasks' => 'Tasks',
 // 'label.description' => 'Description',
@@ -206,8 +206,7 @@ $i18n_key_words = array(
 // 'label.time_format' => 'Time format',
 // 'label.week_start' => 'First day of week',
 'label.comment' => 'Comentari',
-// TODO: translate the following.
-// 'label.status' => 'Status',
+'label.status' => 'Estat',
 'label.tax' => 'Impost',
 // TODO: translate the following.
 // 'label.subtotal' => 'Subtotal',
@@ -249,12 +248,16 @@ $i18n_key_words = array(
 // 'label.week_list' => 'Week list',
 
 // Form titles.
+// TODO: Improve titles for consistency, so that each title explains correctly what each
+// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
+// Compare with English file to see how it is done there and do Catalan titles similarly.
+// Specifically: Agregant vs Agregar, etc.
 'title.login' => 'Sessió iniciada',
+'title.teams' => 'Grups',
 // TODO: translate the following.
-// 'title.teams' => 'Teams',
 // 'title.create_team' => 'Creating Team',
 // 'title.edit_team' => 'Editing Team',
-// 'title.delete_team' => 'Deleting Team',
+'title.delete_team' => 'Eliminar grup',
 'title.reset_password' => 'Restablir paraula de pas',
 // TODO: translate the following.
 // 'title.change_password' => 'Changing Password',
@@ -276,10 +279,10 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'title.send_invoice' => 'Sending Invoice',
 // 'title.charts' => 'Charts',
-// 'title.projects' => 'Projects',
-// 'title.add_project' => 'Adding Project',
-// 'title.edit_project' => 'Editing Project',
-// 'title.delete_project' => 'Deleting Project',
+'title.projects' => 'Projectes',
+'title.add_project' => 'Agregant projecte',
+'title.edit_project' => 'Modificant projecte',
+'title.delete_project' => 'Eliminant projecte',
 // 'title.tasks' => 'Tasks',
 // 'title.add_task' => 'Adding Task',
 // 'title.edit_task' => 'Editing Task',
@@ -337,13 +340,15 @@ $i18n_key_words = array(
 // 'dropdown.previous_year' => 'previous year',
 // 'dropdown.selected_year' => 'year',
 // 'dropdown.all_time' => 'all time',
-// 'dropdown.projects' => 'projects',
+'dropdown.projects' => 'projectes',
+// TODO: translate the following.
 // 'dropdown.tasks' => 'tasks',
 'dropdown.clients' => 'clients',
 // TODO: translate the following.
 // 'dropdown.select' => '--- select ---',
 // 'dropdown.select_invoice' => '--- select invoice ---',
-// 'dropdown.status_active' => 'active',
+'dropdown.status_active' => 'actiu',
+// TODO: translate the following.
 // 'dropdown.status_inactive' => 'inactive',
 // 'dropdown.delete'=>'delete',
 // 'dropdown.do_not_delete'=>'do not delete',
@@ -404,19 +409,42 @@ $i18n_key_words = array(
 // '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).
+// TODO: translate the following.
+// 'form.report.export' => 'Export',
+// 'form.report.assign_to_invoice' => 'Assign to invoice',
+
+// Invoice form. See example at https://timetracker.anuko.com/invoice.php
+// (you can get to this form after generating a report).
+// TODO: translate the following.
+// 'form.invoice.number' => 'Invoice number',
+// 'form.invoice.person' => 'Person',
+// 'form.invoice.invoice_to_delete' => 'Invoice to delete',
+// 'form.invoice.invoice_entries' => 'Invoice entries',
+// 'form.invoice.confirm_deleting_entries' => 'Please confirm deleting invoice entries from Time Tracker.',
 
+// Charts form. See example at https://timetracker.anuko.com/charts.php
+// TODO: translate the following.
+// 'form.charts.interval' => 'Interval',
+// 'form.charts.chart' => 'Chart',
+
+// Projects form. See example at https://timetracker.anuko.com/projects.php
+// TODO: translate the following.
+// 'form.projects.active_projects' => 'Active Projects',
+// 'form.projects.inactive_projects' => 'Inactive Projects',
+
+// Tasks form. See example at https://timetracker.anuko.com/tasks.php
+// TODO: translate the following.
+// 'form.tasks.active_tasks' => 'Active Tasks',
+// 'form.tasks.inactive_tasks' => 'Inactive Tasks',
 
-// TODO: refactoring ongoing down from here.
 
-// administrator form
-"form.admin.duty_text" => 'Crear un nou grup, creant un nou compte del manejador de l\\\'equip.<br>També pot importar dades de grups, d\\\'un arxiu xml d\\\'un altre servidor Anuko Time Tracker.(No està permès col·lisions de e-mail).',
 
-"form.admin.change_pass" => 'Canviar la paraula de pas de l\\\'administrador de compte',
-"form.admin.profile.title" => 'Grups',
-"form.admin.profile.noprofiles" => 'La seva base de dades està buida. Iniciï sessió com a administrador i creï un nou grup.',
-"form.admin.profile.comment" => 'Eliminar grup',
-"form.admin.profile.th.id" => 'Identificació',
-"form.admin.profile.th.active" => 'Actiu',
+// TODO: refactoring ongoing down from here.
+
+// form.admin.duty_text is now used in form.teams.hint with email changed to login.
+"form.teams.hint" => 'Crear un nou grup, creant un nou compte del manejador de l\\\'equip.<br>També pot importar dades de grups, d\\\'un arxiu xml d\\\'un altre servidor Anuko Time Tracker. (No està permès col·lisions de e-mail).',
 
 // my time form attributes
 "form.mytime.title" => 'El meu temps',
@@ -424,13 +452,11 @@ $i18n_key_words = array(
 "form.mytime.del_str" => 'Eliminant l\\\'historial de temps',
 "form.mytime.time_form" => ' (hh:mm)',
 "form.mytime.date" => 'Data',
-"form.mytime.project" => 'Projecte',
 "form.mytime.start" => 'Inici',
 "form.mytime.finish" => 'Fi',
 "form.mytime.duration" => 'Durada',
 "form.mytime.daily" => 'Treball diari',
 "form.mytime.total" => 'Hores totals: ',
-"form.mytime.th.project" => 'Projecte',
 "form.mytime.th.start" => 'Inici',
 "form.mytime.th.finish" => 'Fi',
 "form.mytime.th.duration" => 'Durada',
@@ -444,8 +470,6 @@ $i18n_key_words = array(
 "form.people.del_str" => 'Eliminant usuari',
 "form.people.th.email" => 'e-mail',
 "form.people.th.role" => 'Rol',
-"form.people.th.status" => 'Estat',
-"form.people.th.project" => 'Projecte',
 "form.people.th.rate" => 'Taxa',
 "form.people.manager" => 'Manejador',
 "form.people.comanager" => 'Auxiliar del manejador',
@@ -453,16 +477,6 @@ $i18n_key_words = array(
 
 "form.people.rate" => 'Taxa per defecte en hores',
 "form.people.comanager" => 'Auxiliar del manejador',
-"form.people.projects" => 'Projectes',
-
-// projects form attributes
-"form.project.proj_title" => 'Projectes',
-"form.project.edit_str" => 'Modificant projecte',
-"form.project.add_str" => 'Agregant nou projecte',
-"form.project.del_str" => 'Eliminant projecte',
-
-// activities form attributes
-"form.activity.project" => 'Projecte',
 
 // report attributes
 "form.report.from" => 'Data d\\\'inici',
@@ -472,12 +486,10 @@ $i18n_key_words = array(
 "form.report.duration" => 'Durada',
 "form.report.start" => 'Inici',
 "form.report.finish" => 'Fi',
-"form.report.project" => 'Projecte',
 "form.report.totals_only" => 'Només totals',
 "form.report.total" => 'Hores Totals',
 "form.report.th.empllist" => 'Usuari',
 "form.report.th.date" => 'Data',
-"form.report.th.project" => 'Projecte',
 "form.report.th.start" => 'Inici',
 "form.report.th.finish" => 'Fi',
 "form.report.th.duration" => 'Durada',
@@ -489,7 +501,6 @@ $i18n_key_words = array(
 // mail form attributes
 "form.mail.from" => 'De',
 "form.mail.to" => 'Per a',
-"form.mail.comment" => 'Comentari',
 "form.mail.above" => 'Enviar aquest report por e-mail',
 // Note to translators: this string needs to be translated.
 // "form.mail.footer_str" => 'Anuko Time Tracker is a simple, easy to use, open source<br>time tracking system. Visit <a href="https://www.anuko.com">www.anuko.com</a> for more information.',
@@ -501,8 +512,6 @@ $i18n_key_words = array(
 "form.invoice.fillform" => 'Empleni els camps',
 "form.invoice.date" => 'Data',
 "form.invoice.number" => 'Número de factura',
-"form.invoice.tax" => 'Impost',
-"form.invoice.comment" => 'Comentari ',
 "form.invoice.th.username" => 'Persona',
 "form.invoice.th.time" => 'Hores',
 "form.invoice.th.rate" => 'Taxa',