2 // +----------------------------------------------------------------------+
 
   3 // | Anuko Time Tracker
 
   4 // +----------------------------------------------------------------------+
 
   5 // | Copyright (c) Anuko International Ltd. (https://www.anuko.com)
 
   6 // +----------------------------------------------------------------------+
 
   7 // | LIBERAL FREEWARE LICENSE: This source code document may be used
 
   8 // | by anyone for any purpose, and freely redistributed alone or in
 
   9 // | combination with other software, provided that the license is obeyed.
 
  11 // | There are only two ways to violate the license:
 
  13 // | 1. To redistribute this code in source form, with the copyright
 
  14 // |    notice or license removed or altered. (Distributing in compiled
 
  15 // |    forms without embedded copyright notices is permitted).
 
  17 // | 2. To redistribute modified versions of this code in *any* form
 
  18 // |    that bears insufficient indications that the modifications are
 
  19 // |    not the work of the original author(s).
 
  21 // | This license applies to this document only, not any other software
 
  22 // | that it may be combined with.
 
  24 // +----------------------------------------------------------------------+
 
  26 // | https://www.anuko.com/time_tracker/credits.htm
 
  27 // +----------------------------------------------------------------------+
 
  29 // Note: escape apostrophes with THREE backslashes, like here:  choisir l\\\'option.
 
  30 // Other characters (such as double-quotes in http links, etc.) do not have to be escaped.
 
  32 // Note to translators: Please use proper capitalization rules for your language.
 
  34 $i18n_language = 'Português';
 
  35 $i18n_months = array('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Augosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro');
 
  36 $i18n_weekdays = array('Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado');
 
  37 $i18n_weekdays_short = array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab');
 
  39 $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');
 
  41 $i18n_key_words = array(
 
  43 // Menus - short selection strings that are displayed on top of application web pages.
 
  44 // Example: https://timetracker.anuko.com (black menu on top).
 
  45 'menu.login' => 'Login',
 
  46 'menu.logout' => 'Logout',
 
  47 // TODO: translate the following.
 
  48 // 'menu.forum' => 'Forum',
 
  49 'menu.help' => 'Ajuda',
 
  50 // TODO: translate the following.
 
  51 // 'menu.create_team' => 'Create Team',
 
  52 'menu.profile' => 'Perfil',
 
  53 'menu.time' => 'Tempo',
 
  54 // TODO: translate the following.
 
  55 // 'menu.expenses' => 'Expenses',
 
  56 'menu.reports' => 'Relatórios',
 
  57 // TODO: translate the following.
 
  58 'menu.charts' => 'Charts',
 
  59 'menu.projects' => 'Projetos',
 
  60 // TODO: translate the following.
 
  61 // 'menu.tasks' => 'Tasks',
 
  62 // 'menu.users' => 'Users',
 
  63 // 'menu.teams' => 'Teams',
 
  64 // 'menu.export' => 'Export',
 
  65 // 'menu.clients' => 'Clients',
 
  66 'menu.options' => 'Opções',
 
  68 // Footer - strings on the bottom of most pages.
 
  69 // TODO: translate the following.
 
  70 // 'footer.contribute_msg' => 'You can contribute to Time Tracker in different ways.',
 
  71 // 'footer.credits' => 'Credits',
 
  72 // 'footer.license' => 'License',
 
  73 // 'footer.improve' => 'Contribute', // Translators: this could mean "Improve", if it makes better sense in your language.
 
  74                                      // This is a link to a webpage that describes how to contribute to the project.
 
  77 // TODO: translate the following.
 
  78 // 'error.access_denied' => 'Access denied.',
 
  79 // 'error.sys' => 'System error.',
 
  80 // 'error.db' => 'Database error.',
 
  81 // 'error.field' => 'Incorrect "{0}" data.',
 
  82 // 'error.empty' => 'Field "{0}" is empty.',
 
  83 // 'error.not_equal' => 'Field "{0}" is not equal to field "{1}".',
 
  84 // 'error.interval' => 'Field "{0}" must be greater than "{1}".',
 
  85 // 'error.project' => 'Select project.',
 
  86 // 'error.task' => 'Select task.',
 
  87 // 'error.client' => 'Select client.',
 
  88 // 'error.report' => 'Select report.',
 
  89 // 'error.record' => 'Select record.',
 
  90 // 'error.auth' => 'Incorrect login or password.',
 
  91 // 'error.user_exists' => 'User with this login already exists.',
 
  92 // 'error.project_exists' => 'Project with this name already exists.',
 
  93 // 'error.task_exists' => 'Task with this name already exists.',
 
  94 // 'error.client_exists' => 'Client with this name already exists.',
 
  95 // 'error.invoice_exists' => 'Invoice with this number already exists.',
 
  96 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 
  97 // 'error.no_login' => 'No user with this login.',
 
  98 // 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
 
  99 // 'error.upload' => 'File upload error.',
 
 100 // 'error.range_locked' => 'Date range is locked.',
 
 101 // 'error.mail_send' => 'Error sending mail.',
 
 105 // TODO: refactoring ongoing down from here.
 
 107 // 'error.no_email' => 'no email associated with this login',
 
 108 // 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.',
 
 109 // 'error.goto_uncompleted' => 'go to uncompleted entry.',
 
 111 // Labels for buttons.
 
 112 'button.login' => 'Login',
 
 113 'button.now' => 'Hoje',
 
 114 'button.save' => 'Salvar',
 
 115 'button.delete' => 'Apagar',
 
 116 'button.cancel' => 'Cancelar',
 
 117 'button.submit' => 'Submeter',
 
 118 // TODO: translate the following.
 
 119 // 'button.add_user' => 'Add user',
 
 120 'button.add_project' => 'Adicionar projeto',
 
 121 // TODO: translate the following.
 
 122 // 'button.add_task' => 'Add task',
 
 123 // 'button.add_client' => 'Add client',
 
 124 // 'button.add_invoice' => 'Add invoice',
 
 125 // 'button.add_option' => 'Add option',
 
 126 'button.add' => 'Adicionar',
 
 127 // Note to translators: strings below need to be translated.
 
 128 // 'button.generate' => 'generate',
 
 129 // 'button.reset_password' => 'reset password',
 
 130 'button.send' => 'enviar',
 
 131 'button.send_by_email' => 'enviar por e-mail',
 
 132 // Note to translators: the strings below are missing and must be added and translated
 
 133 // 'button.save_as_new' => 'save as new',
 
 134 // 'button.create_team' => 'create team',
 
 135 // 'button.export' => 'export team',
 
 136 // 'button.import' => 'import team',
 
 137 // 'button.apply' => 'apply',
 
 139 // labels for controls on various forms
 
 140 // TODO: translate label.team_name and strings below.
 
 141 // 'label.team_name' => 'team name',
 
 142 // 'label.currency' => 'currency',
 
 143 // 'label.manager_name' => 'manager name',
 
 144 // 'label.manager_login' => 'manager login',
 
 145 'label.password' => 'senha',
 
 146 'label.confirm_password' => 'confirme a senha',
 
 147 // 'label.email' => 'Email',
 
 149 // TODO: translate the following.
 
 150 // 'label.bcc' => 'Bcc',
 
 151 'label.subject' => 'Assunto',
 
 152 // 'label.page' => 'Page',
 
 153 // 'label.condition' => 'Condition',
 
 154 // TODO: translate the following.
 
 155 // 'label.yes' => 'yes',
 
 156 // 'label.no' => 'no',
 
 159 // TODO: the entire title section is missing here. See the English file.
 
 161 // "form.filter.project" => 'project',
 
 162 // "form.filter.filter" => 'favorite report',
 
 163 // "form.filter.filter_new" => 'save as favorite',
 
 164 // "form.filter.filter_confirm_delete" => 'are you sure you want to delete this favorite report?',
 
 166 // login form attributes
 
 167 "form.login.title" => 'login como usuário de debug',
 
 168 // Note to translators: "form.login.login" => 'e-mail', // email has been changed to login
 
 170 // password reminder form attributes
 
 171 "form.fpass.title" => 'enviar senha',
 
 172 // Note to translators: "form.fpass.login" => 'e-mail', // email has been changed to login
 
 173 "form.fpass.send_pass_str" => 'senha foi enviada',
 
 174 "form.fpass.send_pass_subj" => 'Sua senha do Anuko Time Tracker',
 
 175 // Note to translators: the strings below are missing and must be added and translated
 
 176 // "form.fpass.send_pass_body" => "Dear User,\n\nSomeone, possibly you, requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
 
 177 // "form.fpass.reset_comment" => "to reset your password please type it in and click on save",
 
 179 // administrator form
 
 180 // Note to translators: the strings below are missing and must be added and translated 
 
 181 // "form.admin.title" => 'administrator',
 
 182 // "form.admin.duty_text" => 'create a new team by creating a new team manager account.<br>you can also import team data from an xml file from another Anuko Time Tracker server (no login collisions are allowed).',
 
 184 // "form.admin.change_pass" => 'change password of administrator account',
 
 185 // "form.admin.profile.title" => 'teams',
 
 186 // "form.admin.profile.noprofiles" => 'your database is empty. login as admin and create a new team.',
 
 187 // "form.admin.profile.comment" => 'delete team',
 
 188 // "form.admin.profile.th.id" => 'id',
 
 189 // "form.admin.profile.th.name" => 'name',
 
 190 // "form.admin.profile.th.edit" => 'edit',
 
 191 // "form.admin.profile.th.del" => 'delete',
 
 192 // "form.admin.profile.th.active" => 'active',
 
 193 "form.admin.options" => 'opções',
 
 194 // "form.admin.custom_date_format" => "date format",
 
 195 // "form.admin.custom_time_format" => "time format",
 
 196 // "form.admin.start_week" => "first day of week",
 
 198 // my time form attributes
 
 199 "form.mytime.title" => 'adicionar período',
 
 200 // Note to translators: the strings below must be translated
 
 201 // "form.mytime.edit_title" => 'editing time record',
 
 202 // "form.mytime.del_str" => 'deleting time record',
 
 203 // "form.mytime.time_form" => ' (hh:mm)',
 
 204 "form.mytime.date" => 'data',
 
 205 "form.mytime.project" => 'projeto',
 
 206 "form.mytime.activity" => 'atividade',
 
 207 "form.mytime.start" => 'início',
 
 208 "form.mytime.finish" => 'fim',
 
 209 "form.mytime.duration" => 'duração',
 
 210 "form.mytime.note" => 'anotação',
 
 211 // Note to translators: the string below must be translated
 
 212 // "form.mytime.behalf" => 'daily work for',
 
 213 "form.mytime.daily" => 'trabalho diário',
 
 214 "form.mytime.total" => 'horas totais: ',
 
 215 "form.mytime.th.project" => 'projeto',
 
 216 "form.mytime.th.activity" => 'actividade',
 
 217 "form.mytime.th.start" => 'início',
 
 218 "form.mytime.th.finish" => 'finish',
 
 219 "form.mytime.th.duration" => 'duração',
 
 220 "form.mytime.th.note" => 'fim',
 
 221 "form.mytime.th.edit" => 'editar',
 
 222 "form.mytime.th.delete" => 'apagar',
 
 223 "form.mytime.del_yes" => 'o período registrado foi apagado com sucesso',
 
 224 // Note to translators: the strings below are missing and must be added and translated 
 
 225 // "form.mytime.no_finished_rec" => 'this record was saved with only start time. it is not an error. logout if you need to.',
 
 226 // "form.mytime.billable" => 'billable',
 
 227 // "form.mytime.warn_tozero_rec" => 'this time record must be deleted because this time period is locked',
 
 228 // "form.mytime.uncompleted" => 'uncompleted',
 
 230 // profile form attributes
 
 231 // Note to translators: we need a more accurate translation of form.profile.create_title
 
 232 "form.profile.create_title" => 'criar nova conta de gerência',
 
 233 "form.profile.edit_title" => 'editando perfil',
 
 234 "form.profile.name" => 'nome',
 
 235 // Note to translators: the string below is missing and must be added and translated 
 
 236 // "form.profile.login" => 'login',
 
 238 // Note to translators: the strings below are missing and must be added and translated 
 
 239 // "form.profile.showchart" => 'show pie charts',
 
 240 // "form.profile.lang" => 'language',
 
 241 // "form.profile.custom_date_format" => "date format",
 
 242 // "form.profile.custom_time_format" => "time format",
 
 243 // "form.profile.default_format" => "(default)",
 
 244 // "form.profile.start_week" => "first day of week",
 
 246 // people form attributes
 
 247 "form.people.ppl_str" => 'pessoas',
 
 248 "form.people.createu_str" => 'adicionar novo usuário',
 
 249 "form.people.edit_str" => 'editando usuário',
 
 250 "form.people.del_str" => 'apagando usuário',
 
 251 "form.people.th.name" => 'nome',
 
 252 // Note to translators: "form.people.th.login" => 'e-mail', // email has been changed to login
 
 253 "form.people.th.role" => 'regra',
 
 254 "form.people.th.edit" => 'editar',
 
 255 "form.people.th.del" => 'apagar',
 
 256 "form.people.th.status" => 'status',
 
 257 // Note to translators: the strings below are missing and must be added and translated 
 
 258 // "form.people.th.project" => 'project',
 
 259 // "form.people.th.rate" => 'rate',
 
 260 "form.people.manager" => 'gerente',
 
 261 // Note to translators: the string below is missing and must be added and translated 
 
 262 // "form.people.comanager" => 'comanager',
 
 263 "form.people.empl" => 'usuário',
 
 264 "form.people.name" => 'nome',
 
 265 // Note to translators: the string below is missing and must be added and translated 
 
 266 // "form.people.login" => 'login',
 
 268 "form.people.rate" => 'hourly rate',
 
 269 // Note to translators: the strings below are missing and must be added and translated 
 
 270 // "form.people.comanager" => 'co-manager',
 
 271 // "form.people.projects" => 'projects',
 
 273 // projects form attributes
 
 274 "form.project.proj_title" => 'projetos',
 
 275 "form.project.edit_str" => 'editando projeto',
 
 276 "form.project.add_str" => 'adicionando novo projeto',
 
 277 "form.project.del_str" => 'apagando projeto',
 
 278 "form.project.th.name" => 'nome',
 
 279 "form.project.th.edit" => 'editar',
 
 280 "form.project.th.del" => 'apagar',
 
 281 "form.project.name" => 'nome',
 
 283 // activities form attributes
 
 284 "form.activity.act_title" => 'atividades',
 
 285 "form.activity.add_title" => 'adicionando nova atividade',
 
 286 "form.activity.edit_str" => 'editando atividade',
 
 287 // Note to translators: the string below must be translated
 
 288 // "form.activity.del_str" => 'deleting activity',
 
 289 "form.activity.name" => 'nome',
 
 290 "form.activity.project" => 'project',
 
 291 "form.activity.th.name" => 'nome',
 
 292 "form.activity.th.project" => 'project',
 
 293 "form.activity.th.edit" => 'editar',
 
 294 "form.activity.th.del" => 'apagar',
 
 297 "form.report.title" => 'relatórios',
 
 298 "form.report.from" => 'data inicial',
 
 299 "form.report.to" => 'data final',
 
 300 // Note to translators: the strings below must be translated
 
 301 // "form.report.groupby_user" => 'user',
 
 302 // "form.report.groupby_project" => 'project',
 
 303 // "form.report.groupby_activity" => 'activity',
 
 304 "form.report.duration" => 'duração',
 
 305 "form.report.start" => 'início',
 
 306 "form.report.activity" => 'atividade',
 
 307 // Note to translators: the string below must be translated
 
 308 // "form.report.show_idle" => 'show idle',
 
 309 "form.report.finish" => 'fim',
 
 310 "form.report.note" => 'anotação',
 
 311 "form.report.project" => 'projeto',
 
 312 // Note to translators: the string below is missing and must be added and translated 
 
 313 // "form.report.totals_only" => 'totals only',
 
 314 "form.report.total" => 'horas totais',
 
 315 "form.report.th.empllist" => 'usuário',
 
 316 // Note to translators: the strings below must be translated
 
 317 // "form.report.th.date" => 'data',
 
 318 // "form.report.th.project" => 'project',
 
 319 // "form.report.th.activity" => 'activity',
 
 320 // "form.report.th.start" => 'start',
 
 321 // "form.report.th.finish" => 'finish',
 
 322 // "form.report.th.duration" => 'duration',
 
 323 // "form.report.th.note" => 'note',
 
 325 // mail form attributes
 
 326 "form.mail.from" => 'de',
 
 327 "form.mail.to" => 'para',
 
 328 "form.mail.comment" => 'comentário',
 
 329 "form.mail.above" => 'enviar este relatório por e-mail',
 
 330 // Note to translators: the strings below must be translated
 
 331 // "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.',
 
 332 // "form.mail.sending_str" => '<b>the message has been sent</b>',
 
 334 // invoice attributes
 
 335 // Note to translators: the strings below must be translated
 
 336 // "form.invoice.title" => 'invoice',
 
 337 // "form.invoice.caption" => 'invoice',
 
 338 // "form.invoice.above" => 'additional information for invoice',
 
 339 // "form.invoice.select_cust" => 'select client',
 
 340 // "form.invoice.fillform" => 'fill the fields',
 
 341 // "form.invoice.date" => 'invoice date',
 
 342 // "form.invoice.number" => 'invoice number',
 
 343 // "form.invoice.tax" => 'tax',
 
 344 // "form.invoice.comment" => 'comment ',
 
 345 // "form.invoice.th.username" => 'person',
 
 346 // "form.invoice.th.time" => 'hours',
 
 347 // "form.invoice.th.rate" => 'rate',
 
 348 // "form.invoice.th.summ" => 'amount',
 
 349 // "form.invoice.subtotal" => 'subtotal',
 
 350 // "form.invoice.customer" =>'customer',
 
 351 // Note to translators: the strings below must be translated
 
 352 // "form.invoice.mailinv_above" => 'send this invoice by e-mail',
 
 353 // "form.invoice.sending_str" => '<b>invoice has been sent</b>',
 
 355 // Note to translators: the strings below are missing and must be added and translated 
 
 356 // "form.migration.zip" => 'compression',
 
 357 // "form.migration.file" => 'select file',
 
 358 // "form.migration.import.title" => 'import data',
 
 359 // "form.migration.import.success" => 'import completed successfully',
 
 360 // "form.migration.import.text" => 'import team data from an xml file',
 
 361 // "form.migration.export.title" => 'export data',
 
 362 // "form.migration.export.success" => 'export completed successfully',
 
 363 // "form.migration.export.text" => 'you can export all team data into an xml file. this could be useful if you are migrating data to your own server.',
 
 364 // "form.migration.compression.none" => 'none',
 
 365 // "form.migration.compression.gzip" => 'gzip',
 
 366 // "form.migration.compression.bzip" => 'bzip',
 
 368 // "form.client.title" => 'clients',
 
 369 // "form.client.add_title" => 'add client',
 
 370 // "form.client.edit_title" => 'edit client',
 
 371 // "form.client.del_title" => 'delete client',
 
 372 // "form.client.th.name" => 'name',
 
 373 // "form.client.th.edit" => 'edit',
 
 374 // "form.client.th.del" => 'delete',
 
 375 // "form.client.name" => 'name',
 
 376 // "form.client.tax" => 'tax',
 
 377 // "form.client.comment" => 'comment ',
 
 379 // miscellaneous strings
 
 380 "forward.forgot_password" => 'esqueceu a senha?',
 
 381 // Note to translators: the strings below must be translated 
 
 382 // "forward.edit" => 'edit',
 
 383 // "forward.delete" => 'delete',
 
 384 // Note to translators: the string below must be translated 
 
 385 // "forward.tocsvfile" => 'export data to .csv file',
 
 386 // Note to translators: the strings below are missing and must be added and translated 
 
 387 // "forward.toxmlfile" => 'export data to .xml file',
 
 388 // "forward.geninvoice" => 'generate invoice',
 
 389 // "forward.change" => 'configure clients',
 
 391 // strings inside contols on forms
 
 392 "controls.select.project" => '--- selecione projeto ---',
 
 393 "controls.select.activity" => '--- selecione atividade ---',
 
 394 // Note to translators: the strings below are missing and must be added and translated 
 
 395 // "controls.select.client" => '--- select client ---',
 
 396 // "controls.project_bind" => '--- all ---',
 
 397 // "controls.all" => '--- all ---',
 
 398 // "controls.notbind" => '--- no ---',
 
 399 "controls.per_tm" => 'este mês',
 
 400 "controls.per_lm" => 'último mês',
 
 401 "controls.per_tw" => 'esta semana',
 
 402 "controls.per_lw" => 'última semana',
 
 403 // Note to translators: the strings below are missing and must be added and translated 
 
 404 // "controls.per_td" => 'this day',
 
 405 // "controls.per_at" => 'all time',
 
 406 // "controls.per_ty" => 'this year',
 
 407 "controls.sel_period" => '--- selecione o período de tempo ---',
 
 408 // Note to translators: the strings below must be translated 
 
 409 // "controls.sel_groupby" => '--- no grouping ---',
 
 410 // "controls.inc_billable" => 'billable',
 
 411 // "controls.inc_nbillable" => 'not billable',
 
 412 // "controls.default" => '--- default ---',
 
 415 // Note to translators: the strings below are missing and must be added and translated 
 
 416 // "label.chart.title1" => 'activities for user',
 
 417 // "label.chart.title2" => 'projects for user',
 
 418 // "label.chart.period" => 'chart for period',
 
 420 "label.pinfo" => '%s, %s',
 
 421 "label.pinfo2" => '%s',
 
 422 "label.pbehalf_info" => '%s %s <b>on behalf of %s</b>',
 
 423 "label.pminfo" => ' (gerente)',
 
 424 // Note to translators: the strings below are missing and must be added and translated 
 
 425 // "label.pcminfo" => ' (co-manager)',
 
 426 // "label.painfo" => ' (administrator)',
 
 427 "label.time_noentry" => 'sem registro',
 
 428 "label.today" => 'today',
 
 429 "label.req_fields" => '* campos obrigatórios',
 
 430 // Note to translators: the strings below must be translated 
 
 431 // "label.sel_project" => 'select project',
 
 432 // "label.sel_activity" => 'select activity',
 
 433 "label.sel_tp" => 'selecione o período de tempo',
 
 434 "label.set_tp" => 'ou selecionar datas',
 
 435 "label.fields" => 'exibir campos',
 
 436 // Note to translators: the strings below must be translated
 
 437 // "label.group_title" => 'group by',
 
 438 // "label.include_title" => 'include records',
 
 439 // "label.inv_str" => 'invoice',
 
 440 //" label.sel_all" => 'select all',
 
 441 // "label.sel_none" => 'deselect all',
 
 442 // "label.or" => 'or',
 
 443 // "label.disable" => 'disable',
 
 444 // "label.enable" => 'enable',
 
 445 // "label.filter" => 'filter',
 
 446 // "label.timeweek" => 'weekly total',
 
 447 // "label.hrs" => 'hrs',
 
 448 // "label.errors" => 'errors',
 
 449 // "label.ldap_hint" => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
 
 450 // "label.calendar_today" => 'today',
 
 451 // "label.calendar_close" => 'close',
 
 454 // "login.hello.text" => "Anuko Time Tracker is a simple, easy to use, open source time tracking system.",