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 // Note to translators: $i18n_weekdays_short needs to be translated. These are shortened days of week.
 
  38 // $i18n_weekdays_short = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
 
  40 $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');
 
  42 $i18n_key_words = array(
 
  45 'menu.login' => 'Login',
 
  46 'menu.logout' => 'Logout',
 
  47 // TODO: translate the following.
 
  48 // 'menu.forum' => 'Forum',
 
  49 'menu.help' => 'Ajuda',
 
  50 // Note to translators: menu.create_team needs a more accurate translation.
 
  51 'menu.create_team' => 'criar nova conta de gerente',
 
  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' => 'Tams',
 
  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 equaled to field "{1}"',
 
  84 // 'error.interval' => 'incorrect interval',
 
  85 // 'error.project' => 'select project',
 
  86 // 'error.activity' => 'select activity',
 
  87 // 'error.record' => 'Select record.',
 
  88 // 'error.auth' => 'incorrect login or password',
 
  89 // 'error.user_exists' => 'user with this login already exists',
 
  90 // 'error.project_exists' => 'project with this name already exists',
 
  91 // 'error.activity_exists' => 'activity with this name already exists',
 
  92 // 'error.client_exists' => 'client with this name already exists',
 
  93 // 'error.no_login' => 'no user with this e-mail',
 
  94 // 'error.upload' => 'file upload error',
 
  95 // 'error.range_locked' => 'Date range is locked.',
 
  96 // 'error.mail_send' => 'error sending mail',
 
  97 // 'error.no_email' => 'no email associated with this login',
 
  98 // 'error.uncompleted_exists' => 'uncompleted entry already exists. close or delete it.',
 
  99 // 'error.goto_uncompleted' => 'go to uncompleted entry.',
 
 101 // Labels for buttons.
 
 102 'button.login' => 'login',
 
 103 'button.now' => 'hoje',
 
 104 'button.save' => 'salvar',
 
 105 'button.delete' => 'apagar',
 
 106 'button.cancel' => 'cancelar',
 
 107 'button.submit' => 'submeter',
 
 108 // Note to translators: 'button.add_user' => 'add user', // the string must be translated
 
 109 'button.add_project' => 'adicionar projeto',
 
 110 'button.add_activity' => 'adicionar atividade',
 
 111 // 'button.add_client' => 'add client', // TODO: translate this.
 
 112 'button.add' => 'adicionar',
 
 113 // Note to translators: strings below need to be translated.
 
 114 // 'button.generate' => 'generate',
 
 115 // 'button.reset_password' => 'reset password',
 
 116 'button.send' => 'enviar',
 
 117 'button.send_by_email' => 'enviar por e-mail',
 
 118 // Note to translators: the strings below are missing and must be added and translated
 
 119 // 'button.save_as_new' => 'save as new',
 
 120 // 'button.create_team' => 'create team',
 
 121 // 'button.export' => 'export team',
 
 122 // 'button.import' => 'import team',
 
 123 // 'button.apply' => 'apply',
 
 125 // labels for controls on various forms
 
 126 // TODO: translate label.team_name and strings below.
 
 127 // 'label.team_name' => 'team name',
 
 128 // 'label.currency' => 'currency',
 
 129 // 'label.manager_name' => 'manager name',
 
 130 // 'label.manager_login' => 'manager login',
 
 131 'label.password' => 'senha',
 
 132 'label.confirm_password' => 'confirme a senha',
 
 133 // 'label.email' => 'Email',
 
 135 // TODO: translate the following.
 
 136 // 'label.bcc' => 'Bcc',
 
 137 'label.subject' => 'Assunto',
 
 138 // 'label.page' => 'Page',
 
 139 // 'label.condition' => 'Condition',
 
 140 // TODO: translate the following.
 
 141 // 'label.yes' => 'yes',
 
 142 // 'label.no' => 'no',
 
 145 // TODO: the entire title section is missing here. See the English file.
 
 147 // "form.filter.project" => 'project',
 
 148 // "form.filter.filter" => 'favorite report',
 
 149 // "form.filter.filter_new" => 'save as favorite',
 
 150 // "form.filter.filter_confirm_delete" => 'are you sure you want to delete this favorite report?',
 
 152 // login form attributes
 
 153 "form.login.title" => 'login como usuário de debug',
 
 154 // Note to translators: "form.login.login" => 'e-mail', // email has been changed to login
 
 156 // password reminder form attributes
 
 157 "form.fpass.title" => 'enviar senha',
 
 158 // Note to translators: "form.fpass.login" => 'e-mail', // email has been changed to login
 
 159 "form.fpass.send_pass_str" => 'senha foi enviada',
 
 160 "form.fpass.send_pass_subj" => 'Sua senha do Anuko Time Tracker',
 
 161 // Note to translators: the strings below are missing and must be added and translated
 
 162 // "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",
 
 163 // "form.fpass.reset_comment" => "to reset your password please type it in and click on save",
 
 165 // administrator form
 
 166 // Note to translators: the strings below are missing and must be added and translated 
 
 167 // "form.admin.title" => 'administrator',
 
 168 // "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).',
 
 170 // "form.admin.change_pass" => 'change password of administrator account',
 
 171 // "form.admin.profile.title" => 'teams',
 
 172 // "form.admin.profile.noprofiles" => 'your database is empty. login as admin and create a new team.',
 
 173 // "form.admin.profile.comment" => 'delete team',
 
 174 // "form.admin.profile.th.id" => 'id',
 
 175 // "form.admin.profile.th.name" => 'name',
 
 176 // "form.admin.profile.th.edit" => 'edit',
 
 177 // "form.admin.profile.th.del" => 'delete',
 
 178 // "form.admin.profile.th.active" => 'active',
 
 179 "form.admin.options" => 'opções',
 
 180 // "form.admin.custom_date_format" => "date format",
 
 181 // "form.admin.custom_time_format" => "time format",
 
 182 // "form.admin.start_week" => "first day of week",
 
 184 // my time form attributes
 
 185 "form.mytime.title" => 'adicionar período',
 
 186 // Note to translators: the strings below must be translated
 
 187 // "form.mytime.edit_title" => 'editing time record',
 
 188 // "form.mytime.del_str" => 'deleting time record',
 
 189 // "form.mytime.time_form" => ' (hh:mm)',
 
 190 "form.mytime.date" => 'data',
 
 191 "form.mytime.project" => 'projeto',
 
 192 "form.mytime.activity" => 'atividade',
 
 193 "form.mytime.start" => 'início',
 
 194 "form.mytime.finish" => 'fim',
 
 195 "form.mytime.duration" => 'duração',
 
 196 "form.mytime.note" => 'anotação',
 
 197 // Note to translators: the string below must be translated
 
 198 // "form.mytime.behalf" => 'daily work for',
 
 199 "form.mytime.daily" => 'trabalho diário',
 
 200 "form.mytime.total" => 'horas totais: ',
 
 201 "form.mytime.th.project" => 'projeto',
 
 202 "form.mytime.th.activity" => 'actividade',
 
 203 "form.mytime.th.start" => 'início',
 
 204 "form.mytime.th.finish" => 'finish',
 
 205 "form.mytime.th.duration" => 'duração',
 
 206 "form.mytime.th.note" => 'fim',
 
 207 "form.mytime.th.edit" => 'editar',
 
 208 "form.mytime.th.delete" => 'apagar',
 
 209 "form.mytime.del_yes" => 'o período registrado foi apagado com sucesso',
 
 210 // Note to translators: the strings below are missing and must be added and translated 
 
 211 // "form.mytime.no_finished_rec" => 'this record was saved with only start time. it is not an error. logout if you need to.',
 
 212 // "form.mytime.billable" => 'billable',
 
 213 // "form.mytime.warn_tozero_rec" => 'this time record must be deleted because this time period is locked',
 
 214 // "form.mytime.uncompleted" => 'uncompleted',
 
 216 // profile form attributes
 
 217 // Note to translators: we need a more accurate translation of form.profile.create_title
 
 218 "form.profile.create_title" => 'criar nova conta de gerência',
 
 219 "form.profile.edit_title" => 'editando perfil',
 
 220 "form.profile.name" => 'nome',
 
 221 // Note to translators: the string below is missing and must be added and translated 
 
 222 // "form.profile.login" => 'login',
 
 224 // Note to translators: the strings below are missing and must be added and translated 
 
 225 // "form.profile.showchart" => 'show pie charts',
 
 226 // "form.profile.lang" => 'language',
 
 227 // "form.profile.custom_date_format" => "date format",
 
 228 // "form.profile.custom_time_format" => "time format",
 
 229 // "form.profile.default_format" => "(default)",
 
 230 // "form.profile.start_week" => "first day of week",
 
 232 // people form attributes
 
 233 "form.people.ppl_str" => 'pessoas',
 
 234 "form.people.createu_str" => 'adicionar novo usuário',
 
 235 "form.people.edit_str" => 'editando usuário',
 
 236 "form.people.del_str" => 'apagando usuário',
 
 237 "form.people.th.name" => 'nome',
 
 238 // Note to translators: "form.people.th.login" => 'e-mail', // email has been changed to login
 
 239 "form.people.th.role" => 'regra',
 
 240 "form.people.th.edit" => 'editar',
 
 241 "form.people.th.del" => 'apagar',
 
 242 "form.people.th.status" => 'status',
 
 243 // Note to translators: the strings below are missing and must be added and translated 
 
 244 // "form.people.th.project" => 'project',
 
 245 // "form.people.th.rate" => 'rate',
 
 246 "form.people.manager" => 'gerente',
 
 247 // Note to translators: the string below is missing and must be added and translated 
 
 248 // "form.people.comanager" => 'comanager',
 
 249 "form.people.empl" => 'usuário',
 
 250 "form.people.name" => 'nome',
 
 251 // Note to translators: the string below is missing and must be added and translated 
 
 252 // "form.people.login" => 'login',
 
 254 "form.people.rate" => 'hourly rate',
 
 255 // Note to translators: the strings below are missing and must be added and translated 
 
 256 // "form.people.comanager" => 'co-manager',
 
 257 // "form.people.projects" => 'projects',
 
 259 // projects form attributes
 
 260 "form.project.proj_title" => 'projetos',
 
 261 "form.project.edit_str" => 'editando projeto',
 
 262 "form.project.add_str" => 'adicionando novo projeto',
 
 263 "form.project.del_str" => 'apagando projeto',
 
 264 "form.project.th.name" => 'nome',
 
 265 "form.project.th.edit" => 'editar',
 
 266 "form.project.th.del" => 'apagar',
 
 267 "form.project.name" => 'nome',
 
 269 // activities form attributes
 
 270 "form.activity.act_title" => 'atividades',
 
 271 "form.activity.add_title" => 'adicionando nova atividade',
 
 272 "form.activity.edit_str" => 'editando atividade',
 
 273 // Note to translators: the string below must be translated
 
 274 // "form.activity.del_str" => 'deleting activity',
 
 275 "form.activity.name" => 'nome',
 
 276 "form.activity.project" => 'project',
 
 277 "form.activity.th.name" => 'nome',
 
 278 "form.activity.th.project" => 'project',
 
 279 "form.activity.th.edit" => 'editar',
 
 280 "form.activity.th.del" => 'apagar',
 
 283 "form.report.title" => 'relatórios',
 
 284 "form.report.from" => 'data inicial',
 
 285 "form.report.to" => 'data final',
 
 286 // Note to translators: the strings below must be translated
 
 287 // "form.report.groupby_user" => 'user',
 
 288 // "form.report.groupby_project" => 'project',
 
 289 // "form.report.groupby_activity" => 'activity',
 
 290 "form.report.duration" => 'duração',
 
 291 "form.report.start" => 'início',
 
 292 "form.report.activity" => 'atividade',
 
 293 // Note to translators: the string below must be translated
 
 294 // "form.report.show_idle" => 'show idle',
 
 295 "form.report.finish" => 'fim',
 
 296 "form.report.note" => 'anotação',
 
 297 "form.report.project" => 'projeto',
 
 298 // Note to translators: the string below is missing and must be added and translated 
 
 299 // "form.report.totals_only" => 'totals only',
 
 300 "form.report.total" => 'horas totais',
 
 301 "form.report.th.empllist" => 'usuário',
 
 302 // Note to translators: the strings below must be translated
 
 303 // "form.report.th.date" => 'data',
 
 304 // "form.report.th.project" => 'project',
 
 305 // "form.report.th.activity" => 'activity',
 
 306 // "form.report.th.start" => 'start',
 
 307 // "form.report.th.finish" => 'finish',
 
 308 // "form.report.th.duration" => 'duration',
 
 309 // "form.report.th.note" => 'note',
 
 311 // mail form attributes
 
 312 "form.mail.from" => 'de',
 
 313 "form.mail.to" => 'para',
 
 314 "form.mail.comment" => 'comentário',
 
 315 "form.mail.above" => 'enviar este relatório por e-mail',
 
 316 // Note to translators: the strings below must be translated
 
 317 // "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.',
 
 318 // "form.mail.sending_str" => '<b>the message has been sent</b>',
 
 320 // invoice attributes
 
 321 // Note to translators: the strings below must be translated
 
 322 // "form.invoice.title" => 'invoice',
 
 323 // "form.invoice.caption" => 'invoice',
 
 324 // "form.invoice.above" => 'additional information for invoice',
 
 325 // "form.invoice.select_cust" => 'select client',
 
 326 // "form.invoice.fillform" => 'fill the fields',
 
 327 // "form.invoice.date" => 'invoice date',
 
 328 // "form.invoice.number" => 'invoice number',
 
 329 // "form.invoice.tax" => 'tax',
 
 330 // "form.invoice.comment" => 'comment ',
 
 331 // "form.invoice.th.username" => 'person',
 
 332 // "form.invoice.th.time" => 'hours',
 
 333 // "form.invoice.th.rate" => 'rate',
 
 334 // "form.invoice.th.summ" => 'amount',
 
 335 // "form.invoice.subtotal" => 'subtotal',
 
 336 // "form.invoice.customer" =>'customer',
 
 337 // Note to translators: the strings below must be translated
 
 338 // "form.invoice.mailinv_above" => 'send this invoice by e-mail',
 
 339 // "form.invoice.sending_str" => '<b>invoice has been sent</b>',
 
 341 // Note to translators: the strings below are missing and must be added and translated 
 
 342 // "form.migration.zip" => 'compression',
 
 343 // "form.migration.file" => 'select file',
 
 344 // "form.migration.import.title" => 'import data',
 
 345 // "form.migration.import.success" => 'import completed successfully',
 
 346 // "form.migration.import.text" => 'import team data from an xml file',
 
 347 // "form.migration.export.title" => 'export data',
 
 348 // "form.migration.export.success" => 'export completed successfully',
 
 349 // "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.',
 
 350 // "form.migration.compression.none" => 'none',
 
 351 // "form.migration.compression.gzip" => 'gzip',
 
 352 // "form.migration.compression.bzip" => 'bzip',
 
 354 // "form.client.title" => 'clients',
 
 355 // "form.client.add_title" => 'add client',
 
 356 // "form.client.edit_title" => 'edit client',
 
 357 // "form.client.del_title" => 'delete client',
 
 358 // "form.client.th.name" => 'name',
 
 359 // "form.client.th.edit" => 'edit',
 
 360 // "form.client.th.del" => 'delete',
 
 361 // "form.client.name" => 'name',
 
 362 // "form.client.tax" => 'tax',
 
 363 // "form.client.comment" => 'comment ',
 
 365 // miscellaneous strings
 
 366 "forward.forgot_password" => 'esqueceu a senha?',
 
 367 // Note to translators: the strings below must be translated 
 
 368 // "forward.edit" => 'edit',
 
 369 // "forward.delete" => 'delete',
 
 370 // Note to translators: the string below must be translated 
 
 371 // "forward.tocsvfile" => 'export data to .csv file',
 
 372 // Note to translators: the strings below are missing and must be added and translated 
 
 373 // "forward.toxmlfile" => 'export data to .xml file',
 
 374 // "forward.geninvoice" => 'generate invoice',
 
 375 // "forward.change" => 'configure clients',
 
 377 // strings inside contols on forms
 
 378 "controls.select.project" => '--- selecione projeto ---',
 
 379 "controls.select.activity" => '--- selecione atividade ---',
 
 380 // Note to translators: the strings below are missing and must be added and translated 
 
 381 // "controls.select.client" => '--- select client ---',
 
 382 // "controls.project_bind" => '--- all ---',
 
 383 // "controls.all" => '--- all ---',
 
 384 // "controls.notbind" => '--- no ---',
 
 385 "controls.per_tm" => 'este mês',
 
 386 "controls.per_lm" => 'último mês',
 
 387 "controls.per_tw" => 'esta semana',
 
 388 "controls.per_lw" => 'última semana',
 
 389 // Note to translators: the strings below are missing and must be added and translated 
 
 390 // "controls.per_td" => 'this day',
 
 391 // "controls.per_at" => 'all time',
 
 392 // "controls.per_ty" => 'this year',
 
 393 "controls.sel_period" => '--- selecione o período de tempo ---',
 
 394 // Note to translators: the strings below must be translated 
 
 395 // "controls.sel_groupby" => '--- no grouping ---',
 
 396 // "controls.inc_billable" => 'billable',
 
 397 // "controls.inc_nbillable" => 'not billable',
 
 398 // "controls.default" => '--- default ---',
 
 401 // Note to translators: the strings below are missing and must be added and translated 
 
 402 // "label.chart.title1" => 'activities for user',
 
 403 // "label.chart.title2" => 'projects for user',
 
 404 // "label.chart.period" => 'chart for period',
 
 406 "label.pinfo" => '%s, %s',
 
 407 "label.pinfo2" => '%s',
 
 408 "label.pbehalf_info" => '%s %s <b>on behalf of %s</b>',
 
 409 "label.pminfo" => ' (gerente)',
 
 410 // Note to translators: the strings below are missing and must be added and translated 
 
 411 // "label.pcminfo" => ' (co-manager)',
 
 412 // "label.painfo" => ' (administrator)',
 
 413 "label.time_noentry" => 'sem registro',
 
 414 "label.today" => 'today',
 
 415 "label.req_fields" => '* campos obrigatórios',
 
 416 // Note to translators: the strings below must be translated 
 
 417 // "label.sel_project" => 'select project',
 
 418 // "label.sel_activity" => 'select activity',
 
 419 "label.sel_tp" => 'selecione o período de tempo',
 
 420 "label.set_tp" => 'ou selecionar datas',
 
 421 "label.fields" => 'exibir campos',
 
 422 // Note to translators: the strings below must be translated
 
 423 // "label.group_title" => 'group by',
 
 424 // "label.include_title" => 'include records',
 
 425 // "label.inv_str" => 'invoice',
 
 426 //" label.sel_all" => 'select all',
 
 427 // "label.sel_none" => 'deselect all',
 
 428 // "label.or" => 'or',
 
 429 // "label.disable" => 'disable',
 
 430 // "label.enable" => 'enable',
 
 431 // "label.filter" => 'filter',
 
 432 // "label.timeweek" => 'weekly total',
 
 433 // "label.hrs" => 'hrs',
 
 434 // "label.errors" => 'errors',
 
 435 // "label.ldap_hint" => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
 
 436 // "label.calendar_today" => 'today',
 
 437 // "label.calendar_close" => 'close',
 
 440 // "login.hello.text" => "Anuko Time Tracker is a simple, easy to use, open source time tracking system.",