Ongoing work on translation files.
[timetracker.git] / WEB-INF / resources / pt.lang.php
index 29d8cc4..5f9dca9 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,18 +77,27 @@ $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.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.',
+
+
+
+// TODO: refactoring ongoing down from here.
+
 // 'error.no_login' => 'no user with this e-mail',
 // 'error.upload' => 'file upload error',
 // 'error.range_locked' => 'Date range is locked.',
@@ -98,17 +107,21 @@ $i18n_key_words = array(
 // 'error.goto_uncompleted' => 'go to uncompleted entry.',
 
 // 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',
+'button.login' => 'Login',
+'button.now' => 'Hoje',
+'button.save' => 'Salvar',
+'button.delete' => 'Apagar',
+'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',
 // Note to translators: strings below need to be translated.
 // 'button.generate' => 'generate',
 // 'button.reset_password' => 'reset password',
@@ -136,6 +149,9 @@ $i18n_key_words = array(
 'label.subject' => 'Assunto',
 // 'label.page' => 'Page',
 // 'label.condition' => 'Condition',
+// TODO: translate the following.
+// 'label.yes' => 'yes',
+// 'label.no' => 'no',
 
 // Form titles.
 // TODO: the entire title section is missing here. See the English file.