Some more refactoring in translation files.
[timetracker.git] / WEB-INF / resources / pt.lang.php
index b914f24..ca4bdf4 100644 (file)
@@ -163,8 +163,9 @@ $i18n_key_words = array(
 // 'label.clients' => 'Clients',
 // 'label.option' => 'Option',
 // 'label.invoice' => 'Invoice',
-// 'label.project' => 'Project',
-// 'label.projects' => 'Projects',
+'label.project' => 'Projeto',
+'label.projects' => 'Projetos',
+// TODO: translate the following.
 // 'label.task' => 'Task',
 // 'label.tasks' => 'Tasks',
 // 'label.description' => 'Description',
@@ -198,8 +199,8 @@ $i18n_key_words = array(
 // 'label.time_format' => 'Time format',
 // 'label.week_start' => 'First day of week',
 'label.comment' => 'Comentário',
+'label.status' => 'Status',
 // TODO: translate the following.
-// 'label.status' => 'Status',
 // 'label.tax' => 'Tax',
 // 'label.subtotal' => 'Subtotal',
 // 'label.total' => 'Total',
@@ -265,10 +266,11 @@ $i18n_key_words = array(
 // 'title.invoice' => 'Invoice',
 // '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' => 'Projetos',
+'title.add_project' => 'Adicionando projeto',
+'title.edit_project' => 'Editando projeto',
+'title.delete_project' => 'Apagando projeto',
+// TODO: translate the following.
 // 'title.tasks' => 'Tasks',
 // 'title.add_task' => 'Adding Task',
 // 'title.edit_task' => 'Editing Task',
@@ -325,7 +327,8 @@ $i18n_key_words = array(
 // 'dropdown.previous_year' => 'previous year',
 // 'dropdown.selected_year' => 'year',
 // 'dropdown.all_time' => 'all time',
-// 'dropdown.projects' => 'projects',
+'dropdown.projects' => 'projetos',
+// TODO: translate the following.
 // 'dropdown.tasks' => 'tasks',
 // 'dropdown.clients' => 'clients',
 // 'dropdown.select' => '--- select ---',
@@ -388,6 +391,21 @@ $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.',
+
 
 
 // TODO: refactoring ongoing down from here.
@@ -402,12 +420,10 @@ $i18n_key_words = array(
 // my time form attributes
 "form.mytime.title" => 'adicionar período',
 "form.mytime.date" => 'data',
-"form.mytime.project" => 'projeto',
 "form.mytime.start" => 'início',
 "form.mytime.finish" => 'fim',
 "form.mytime.daily" => 'trabalho diário',
 "form.mytime.total" => 'horas totais: ',
-"form.mytime.th.project" => 'projeto',
 "form.mytime.th.start" => 'início',
 "form.mytime.th.finish" => 'finish',
 "form.mytime.th.duration" => 'duração',
@@ -424,26 +440,10 @@ $i18n_key_words = array(
 "form.people.edit_str" => 'editando usuário',
 "form.people.del_str" => 'apagando usuário',
 
-// Note to translators: "form.people.th.login" => 'e-mail', // email has been changed to login
 "form.people.th.role" => 'regra',
-"form.people.th.status" => 'status',
-// Note to translators: the strings below are missing and must be added and translated 
-// "form.people.th.project" => 'project',
-// "form.people.th.rate" => 'rate',
 "form.people.manager" => 'gerente',
-// Note to translators: the string below is missing and must be added and translated 
-// "form.people.comanager" => 'comanager',
 "form.people.empl" => 'usuário',
 
-// projects form attributes
-"form.project.proj_title" => 'projetos',
-"form.project.edit_str" => 'editando projeto',
-"form.project.add_str" => 'adicionando novo projeto',
-"form.project.del_str" => 'apagando projeto',
-
-// activities form attributes
-"form.activity.project" => 'project',
-
 // report attributes
 "form.report.title" => 'relatórios',
 "form.report.from" => 'data inicial',
@@ -451,9 +451,6 @@ $i18n_key_words = array(
 "form.report.duration" => 'duração',
 "form.report.start" => 'início',
 "form.report.finish" => 'fim',
-"form.report.project" => 'projeto',
-// Note to translators: the string below is missing and must be added and translated 
-// "form.report.totals_only" => 'totals only',
 "form.report.total" => 'horas totais',
 "form.report.th.empllist" => 'usuário',
 // Note to translators: the strings below must be translated