Some more refactoring in translation files.
[timetracker.git] / WEB-INF / resources / pt.lang.php
index 585313f..ca4bdf4 100644 (file)
@@ -82,7 +82,8 @@ $i18n_key_words = array(
 // 'error.empty' => 'Field "{0}" is empty.',
 // 'error.not_equal' => 'Field "{0}" is not equal to field "{1}".',
 // 'error.interval' => 'Field "{0}" must be greater than "{1}".',
-// 'error.project' => 'Select project.',
+'error.project' => 'Selecione projeto.',
+// TODO: translate the following.
 // 'error.task' => 'Select task.',
 // 'error.client' => 'Select client.',
 // 'error.report' => 'Select report.',
@@ -162,17 +163,18 @@ $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',
 // 'label.start' => 'Start',
 // 'label.finish' => 'Finish',
 'label.duration' => 'Duração',
+'label.note' => 'Anotação',
+'label.notes' => 'Anotações',
 // TODO: translate the following.
-// 'label.note' => 'Note',
-// 'label.notes' => 'Notes',
 // 'label.item' => 'Item',
 // 'label.cost' => 'Cost',
 // 'label.day_total' => 'Day total',
@@ -196,14 +198,16 @@ $i18n_key_words = array(
 // 'label.date_format' => 'Date format',
 // 'label.time_format' => 'Time format',
 // 'label.week_start' => 'First day of week',
-// 'label.comment' => 'Comment',
-// 'label.status' => 'Status',
+'label.comment' => 'Comentário',
+'label.status' => 'Status',
+// TODO: translate the following.
 // 'label.tax' => 'Tax',
 // 'label.subtotal' => 'Subtotal',
 // 'label.total' => 'Total',
 // 'label.client_name' => 'Client name',
 // 'label.client_address' => 'Client address',
-// 'label.or' => 'or',
+'label.or' => 'ou',
+// TODO: translate the following.
 // 'label.error' => 'Error',
 // 'label.ldap_hint' => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
 'label.required_fields' => '* campos obrigatórios',
@@ -262,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',
@@ -322,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 ---',
@@ -335,8 +341,8 @@ $i18n_key_words = array(
 // 'dropdown.not_paid' => 'not paid',
 
 // Login form. See example at https://timetracker.anuko.com/login.php.
+'form.login.forgot_password' => 'Esqueceu a senha?',
 // TODO: translate the following.
-// 'form.login.forgot_password' => 'Forgot password?',
 // 'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
 
 // Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php.
@@ -373,9 +379,9 @@ $i18n_key_words = array(
 // 'form.reports.include_not_billable' => 'not billable',
 // 'form.reports.include_invoiced' => 'invoiced',
 // 'form.reports.include_not_invoiced' => 'not invoiced',
-// 'form.reports.select_period' => 'Select time period',
-// 'form.reports.set_period' => 'or set dates',
-// 'form.reports.show_fields' => 'Show fields',
+'form.reports.select_period' => 'Selecione o período de tempo',
+'form.reports.set_period' => 'ou selecionar datas',
+'form.reports.show_fields' => 'Exibir campos',
 // 'form.reports.group_by' => 'Group by',
 // 'form.reports.group_by_no' => '--- no grouping ---',
 // 'form.reports.group_by_date' => 'date',
@@ -385,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.
@@ -399,23 +420,14 @@ $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.note" => 'anotação',
 "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',
-"form.mytime.th.note" => 'fim',
 "form.mytime.del_yes" => 'o período registrado foi apagado com sucesso',
-// Note to translators: the strings below are missing and must be added and translated 
-// "form.mytime.no_finished_rec" => 'this record was saved with only start time. it is not an error. logout if you need to.',
-// "form.mytime.billable" => 'billable',
-// "form.mytime.warn_tozero_rec" => 'this time record must be deleted because this time period is locked',
-// "form.mytime.uncompleted" => 'uncompleted',
 
 // profile form attributes
 // Note to translators: we need a more accurate translation of form.profile.create_title
@@ -428,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',
@@ -455,10 +451,6 @@ $i18n_key_words = array(
 "form.report.duration" => 'duração',
 "form.report.start" => 'início',
 "form.report.finish" => 'fim',
-"form.report.note" => 'anotação',
-"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
@@ -467,25 +459,13 @@ $i18n_key_words = array(
 // mail form attributes
 "form.mail.from" => 'de',
 "form.mail.to" => 'para',
-"form.mail.comment" => 'comentário',
 "form.mail.above" => 'enviar este relatório por e-mail',
 // Note to translators: the strings below must 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.',
 // "form.mail.sending_str" => '<b>the message has been sent</b>',
 
-// miscellaneous strings
-"forward.forgot_password" => 'esqueceu a senha?',
-
-// strings inside contols on forms
-"controls.select.project" => '--- selecione projeto ---',
 "controls.per_tm" => 'este mês',
 "controls.per_lm" => 'último mês',
 "controls.per_tw" => 'esta semana',
 "controls.per_lw" => 'última semana',
-"controls.sel_period" => '--- selecione o período de tempo ---',
-
-// labels
-"label.sel_tp" => 'selecione o período de tempo',
-"label.set_tp" => 'ou selecionar datas',
-"label.fields" => 'exibir campos',
 );