More work on labels.
[timetracker.git] / WEB-INF / resources / pt.lang.php
index b460a77..990f365 100644 (file)
 // Note to translators: Please use proper capitalization rules for your language.
 
 $i18n_language = 'Português';
-$i18n_months = array('janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'augosto', 'setembro', 'outubro', 'novembro', 'dezembro');
-$i18n_weekdays = array('domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado');
-// Note to translators: $i18n_weekdays_short needs to be translated. These are shortened days of week.
-// $i18n_weekdays_short = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
+$i18n_months = array('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Augosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro');
+$i18n_weekdays = array('Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado');
+$i18n_weekdays_short = array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab');
 // format mm/dd
 $i18n_holidays = array('01/01', '02/24', '04/10', '04/12', '04/25', '05/01', '06/10', '06/11', '08/15', '10/05', '01/11', '12/01', '12/08', '12/25');
 
 $i18n_key_words = array(
 
-// Menus.
+// Menus - short selection strings that are displayed on top of application web pages.
+// Example: https://timetracker.anuko.com (black menu on top).
 'menu.login' => 'Login',
 'menu.logout' => 'Logout',
 // TODO: translate the following.
 // 'menu.forum' => 'Forum',
 'menu.help' => 'Ajuda',
-// Note to translators: menu.create_team needs a more accurate translation.
-'menu.create_team' => 'criar nova conta de gerente',
+// TODO: translate the following.
+// 'menu.create_team' => 'Create Team',
 'menu.profile' => 'Perfil',
 'menu.time' => 'Tempo',
 // TODO: translate the following.
 // 'menu.expenses' => 'Expenses',
 'menu.reports' => 'Relatórios',
 // TODO: translate the following.
-// 'menu.charts' => 'Charts',
+'menu.charts' => 'Charts',
 'menu.projects' => 'Projetos',
 // TODO: translate the following.
 // 'menu.tasks' => 'Tasks',
 // 'menu.users' => 'Users',
-// 'menu.teams' => 'Tams',
+// 'menu.teams' => 'Teams',
 // 'menu.export' => 'Export',
 // 'menu.clients' => 'Clients',
 'menu.options' => 'Opções',
@@ -77,65 +77,99 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'error.access_denied' => 'Access denied.',
 // 'error.sys' => 'System error.',
-// 'error.db' => 'database error',
-// 'error.field' => 'incorrect "{0}" data',
-// 'error.empty' => 'field "{0}" is empty',
-// 'error.not_equal' => 'field "{0}" is not equaled to field "{1}"',
-// 'error.interval' => 'incorrect interval',
-// 'error.project' => 'select project',
-// 'error.activity' => 'select activity',
-// 'error.auth' => 'incorrect login or password',
-// 'error.user_exists' => 'user with this login already exists',
-// 'error.project_exists' => 'project with this name already exists',
-// 'error.activity_exists' => 'activity with this name already exists',
-// 'error.client_exists' => 'client with this name already exists',
-// 'error.no_login' => 'no user with this e-mail',
-// 'error.upload' => 'file upload error',
+// 'error.db' => 'Database error.',
+// 'error.field' => 'Incorrect "{0}" data.',
+// '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.task' => 'Select task.',
+// 'error.client' => 'Select client.',
+// 'error.report' => 'Select report.',
+// 'error.record' => 'Select record.',
+// 'error.auth' => 'Incorrect login or password.',
+// 'error.user_exists' => 'User with this login already exists.',
+// 'error.project_exists' => 'Project with this name already exists.',
+// '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.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.upload' => 'File upload error.',
 // 'error.range_locked' => 'Date range is locked.',
-// 'error.mail_send' => 'error sending mail',
-// 'error.no_email' => 'no email associated with this login',
-// 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.',
-// 'error.goto_uncompleted' => 'go to uncompleted entry.',
+// 'error.mail_send' => 'Error sending mail.',
+// 'error.no_email' => 'No email associated with this login.',
+// 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.',
+// 'error.goto_uncompleted' => 'Go to uncompleted entry.',
+// 'error.overlap' => 'Time interval overlaps with existing records.',
+// 'error.future_date' => 'Date is in future.',
 
 // Labels for buttons.
-'button.login' => 'login',
-'button.now' => 'hoje',
-'button.save' => 'salvar',
-'button.delete' => 'apagar',
-'button.cancel' => 'cancelar',
-'button.submit' => 'submeter',
-// Note to translators: 'button.add_user' => 'add user', // the string must be translated
-'button.add_project' => 'adicionar projeto',
-'button.add_activity' => 'adicionar atividade',
-// 'button.add_client' => 'add client', // TODO: translate this.
-'button.add' => 'adicionar',
-// Note to translators: strings below need to be translated.
-// 'button.generate' => 'generate',
-// 'button.reset_password' => 'reset password',
-'button.send' => 'enviar',
-'button.send_by_email' => 'enviar por e-mail',
-// Note to translators: the strings below are missing and must be added and translated
-// 'button.save_as_new' => 'save as new',
-// 'button.create_team' => 'create team',
-// 'button.export' => 'export team',
-// 'button.import' => 'import team',
-// 'button.apply' => 'apply',
-
-// labels for controls on various forms
-// TODO: translate label.team_name and strings below.
-// 'label.team_name' => 'team name',
-// 'label.currency' => 'currency',
-// 'label.manager_name' => 'manager name',
-// 'label.manager_login' => 'manager login',
-'label.password' => 'senha',
-'label.confirm_password' => 'confirme a senha',
+'button.login' => 'Login',
+'button.now' => 'Hoje',
+'button.save' => 'Salvar',
+// TODO: translate the following.
+// 'button.copy' => 'Copy',
+'button.cancel' => 'Cancelar',
+'button.submit' => 'Submeter',
+// TODO: translate the following.
+// 'button.add_user' => 'Add user',
+'button.add_project' => 'Adicionar projeto',
+// TODO: translate the following.
+// 'button.add_task' => 'Add task',
+// 'button.add_client' => 'Add client',
+// 'button.add_invoice' => 'Add invoice',
+// 'button.add_option' => 'Add option',
+'button.add' => 'Adicionar',
+// TODO: translate the following.
+// 'button.generate' => 'Generate',
+// 'button.reset_password' => 'Reset password',
+'button.send' => 'Enviar',
+'button.send_by_email' => 'Enviar por e-mail',
+// TODO: translate the following.
+// 'button.create_team' => 'Create team',
+// 'button.export' => 'Export team',
+// 'button.import' => 'Import team',
+// 'button.close' => 'Close',
+// 'button.stop' => 'Stop',
+
+// Labels for controls on forms. Labels in this section are used on multiple forms.
+// TODO: translate the following.
+// 'label.team_name' => 'Team name',
+// 'label.address' => 'Address',
+// 'label.currency' => 'Currency',
+// 'label.manager_name' => 'Manager name',
+// 'label.manager_login' => 'Manager login',
+// 'label.person_name' => 'Name',
+// 'label.thing_name' => 'Name',
+// 'label.login' => 'Login',
+'label.password' => 'Senha',
+'label.confirm_password' => 'Confirme a senha',
+'label.email' => 'E-mail',
 // TODO: translate the following.
-// 'label.email' => 'Email',
 // 'label.cc' => 'Cc',
 // 'label.bcc' => 'Bcc',
-// 'label.subject' => 'Subject',
+'label.subject' => 'Assunto',
+// TODO: translate the following.
+// 'label.date' => 'Date',
+// 'label.start_date' => 'Start date',
+// 'label.end_date' => 'End date',
+// 'label.user' => 'User',
+// 'label.users' => 'Users',
+// 'label.client' => 'Client',
+// 'label.clients' => 'Clients',
+
+
+
+// TODO: refactoring ongoing down from here.
+
 // 'label.page' => 'Page',
 // 'label.condition' => 'Condition',
+// TODO: translate the following.
+// 'label.yes' => 'yes',
+// 'label.no' => 'no',
+'label.delete' => 'Apagar',
 
 // Form titles.
 // TODO: the entire title section is missing here. See the English file.
@@ -307,8 +341,6 @@ $i18n_key_words = array(
 // mail form attributes
 "form.mail.from" => 'de',
 "form.mail.to" => 'para',
-"form.mail.cc" => 'cc',
-"form.mail.subject" => 'assunto',
 "form.mail.comment" => 'comentário',
 "form.mail.above" => 'enviar este relatório por e-mail',
 // Note to translators: the strings below must be translated