Finished refactoring error messages in translation files.
[timetracker.git] / WEB-INF / resources / pt.lang.php
1 <?php
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.
10 // |
11 // | There are only two ways to violate the license:
12 // |
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).
16 // |
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).
20 // |
21 // | This license applies to this document only, not any other software
22 // | that it may be combined with.
23 // |
24 // +----------------------------------------------------------------------+
25 // | Contributors:
26 // | https://www.anuko.com/time_tracker/credits.htm
27 // +----------------------------------------------------------------------+
28
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.
31
32 // Note to translators: Please use proper capitalization rules for your language.
33
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');
38 // format mm/dd
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');
40
41 $i18n_key_words = array(
42
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',
67
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.
75
76 // Error messages.
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.',
102 // 'error.no_email' => 'No email associated with this login.',
103 // 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.',
104 // 'error.goto_uncompleted' => 'Go to uncompleted entry.',
105 // 'error.overlap' => 'Time interval overlaps with existing records.',
106 // 'error.future_date' => 'Date is in future.',
107
108
109
110 // TODO: refactoring ongoing down from here.
111
112 // Labels for buttons.
113 'button.login' => 'Login',
114 'button.now' => 'Hoje',
115 'button.save' => 'Salvar',
116 'button.delete' => 'Apagar',
117 'button.cancel' => 'Cancelar',
118 'button.submit' => 'Submeter',
119 // TODO: translate the following.
120 // 'button.add_user' => 'Add user',
121 'button.add_project' => 'Adicionar projeto',
122 // TODO: translate the following.
123 // 'button.add_task' => 'Add task',
124 // 'button.add_client' => 'Add client',
125 // 'button.add_invoice' => 'Add invoice',
126 // 'button.add_option' => 'Add option',
127 'button.add' => 'Adicionar',
128 // Note to translators: strings below need to be translated.
129 // 'button.generate' => 'generate',
130 // 'button.reset_password' => 'reset password',
131 'button.send' => 'enviar',
132 'button.send_by_email' => 'enviar por e-mail',
133 // Note to translators: the strings below are missing and must be added and translated
134 // 'button.save_as_new' => 'save as new',
135 // 'button.create_team' => 'create team',
136 // 'button.export' => 'export team',
137 // 'button.import' => 'import team',
138 // 'button.apply' => 'apply',
139
140 // labels for controls on various forms
141 // TODO: translate label.team_name and strings below.
142 // 'label.team_name' => 'team name',
143 // 'label.currency' => 'currency',
144 // 'label.manager_name' => 'manager name',
145 // 'label.manager_login' => 'manager login',
146 'label.password' => 'senha',
147 'label.confirm_password' => 'confirme a senha',
148 // 'label.email' => 'Email',
149 'label.cc' => 'Cc',
150 // TODO: translate the following.
151 // 'label.bcc' => 'Bcc',
152 'label.subject' => 'Assunto',
153 // 'label.page' => 'Page',
154 // 'label.condition' => 'Condition',
155 // TODO: translate the following.
156 // 'label.yes' => 'yes',
157 // 'label.no' => 'no',
158
159 // Form titles.
160 // TODO: the entire title section is missing here. See the English file.
161
162 // "form.filter.project" => 'project',
163 // "form.filter.filter" => 'favorite report',
164 // "form.filter.filter_new" => 'save as favorite',
165 // "form.filter.filter_confirm_delete" => 'are you sure you want to delete this favorite report?',
166
167 // login form attributes
168 "form.login.title" => 'login como usuário de debug',
169 // Note to translators: "form.login.login" => 'e-mail', // email has been changed to login
170
171 // password reminder form attributes
172 "form.fpass.title" => 'enviar senha',
173 // Note to translators: "form.fpass.login" => 'e-mail', // email has been changed to login
174 "form.fpass.send_pass_str" => 'senha foi enviada',
175 "form.fpass.send_pass_subj" => 'Sua senha do Anuko Time Tracker',
176 // Note to translators: the strings below are missing and must be added and translated
177 // "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",
178 // "form.fpass.reset_comment" => "to reset your password please type it in and click on save",
179
180 // administrator form
181 // Note to translators: the strings below are missing and must be added and translated 
182 // "form.admin.title" => 'administrator',
183 // "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
185 // "form.admin.change_pass" => 'change password of administrator account',
186 // "form.admin.profile.title" => 'teams',
187 // "form.admin.profile.noprofiles" => 'your database is empty. login as admin and create a new team.',
188 // "form.admin.profile.comment" => 'delete team',
189 // "form.admin.profile.th.id" => 'id',
190 // "form.admin.profile.th.name" => 'name',
191 // "form.admin.profile.th.edit" => 'edit',
192 // "form.admin.profile.th.del" => 'delete',
193 // "form.admin.profile.th.active" => 'active',
194 "form.admin.options" => 'opções',
195 // "form.admin.custom_date_format" => "date format",
196 // "form.admin.custom_time_format" => "time format",
197 // "form.admin.start_week" => "first day of week",
198
199 // my time form attributes
200 "form.mytime.title" => 'adicionar período',
201 // Note to translators: the strings below must be translated
202 // "form.mytime.edit_title" => 'editing time record',
203 // "form.mytime.del_str" => 'deleting time record',
204 // "form.mytime.time_form" => ' (hh:mm)',
205 "form.mytime.date" => 'data',
206 "form.mytime.project" => 'projeto',
207 "form.mytime.activity" => 'atividade',
208 "form.mytime.start" => 'início',
209 "form.mytime.finish" => 'fim',
210 "form.mytime.duration" => 'duração',
211 "form.mytime.note" => 'anotação',
212 // Note to translators: the string below must be translated
213 // "form.mytime.behalf" => 'daily work for',
214 "form.mytime.daily" => 'trabalho diário',
215 "form.mytime.total" => 'horas totais: ',
216 "form.mytime.th.project" => 'projeto',
217 "form.mytime.th.activity" => 'actividade',
218 "form.mytime.th.start" => 'início',
219 "form.mytime.th.finish" => 'finish',
220 "form.mytime.th.duration" => 'duração',
221 "form.mytime.th.note" => 'fim',
222 "form.mytime.th.edit" => 'editar',
223 "form.mytime.th.delete" => 'apagar',
224 "form.mytime.del_yes" => 'o período registrado foi apagado com sucesso',
225 // Note to translators: the strings below are missing and must be added and translated 
226 // "form.mytime.no_finished_rec" => 'this record was saved with only start time. it is not an error. logout if you need to.',
227 // "form.mytime.billable" => 'billable',
228 // "form.mytime.warn_tozero_rec" => 'this time record must be deleted because this time period is locked',
229 // "form.mytime.uncompleted" => 'uncompleted',
230
231 // profile form attributes
232 // Note to translators: we need a more accurate translation of form.profile.create_title
233 "form.profile.create_title" => 'criar nova conta de gerência',
234 "form.profile.edit_title" => 'editando perfil',
235 "form.profile.name" => 'nome',
236 // Note to translators: the string below is missing and must be added and translated 
237 // "form.profile.login" => 'login',
238
239 // Note to translators: the strings below are missing and must be added and translated 
240 // "form.profile.showchart" => 'show pie charts',
241 // "form.profile.lang" => 'language',
242 // "form.profile.custom_date_format" => "date format",
243 // "form.profile.custom_time_format" => "time format",
244 // "form.profile.default_format" => "(default)",
245 // "form.profile.start_week" => "first day of week",
246
247 // people form attributes
248 "form.people.ppl_str" => 'pessoas',
249 "form.people.createu_str" => 'adicionar novo usuário',
250 "form.people.edit_str" => 'editando usuário',
251 "form.people.del_str" => 'apagando usuário',
252 "form.people.th.name" => 'nome',
253 // Note to translators: "form.people.th.login" => 'e-mail', // email has been changed to login
254 "form.people.th.role" => 'regra',
255 "form.people.th.edit" => 'editar',
256 "form.people.th.del" => 'apagar',
257 "form.people.th.status" => 'status',
258 // Note to translators: the strings below are missing and must be added and translated 
259 // "form.people.th.project" => 'project',
260 // "form.people.th.rate" => 'rate',
261 "form.people.manager" => 'gerente',
262 // Note to translators: the string below is missing and must be added and translated 
263 // "form.people.comanager" => 'comanager',
264 "form.people.empl" => 'usuário',
265 "form.people.name" => 'nome',
266 // Note to translators: the string below is missing and must be added and translated 
267 // "form.people.login" => 'login',
268
269 "form.people.rate" => 'hourly rate',
270 // Note to translators: the strings below are missing and must be added and translated 
271 // "form.people.comanager" => 'co-manager',
272 // "form.people.projects" => 'projects',
273
274 // projects form attributes
275 "form.project.proj_title" => 'projetos',
276 "form.project.edit_str" => 'editando projeto',
277 "form.project.add_str" => 'adicionando novo projeto',
278 "form.project.del_str" => 'apagando projeto',
279 "form.project.th.name" => 'nome',
280 "form.project.th.edit" => 'editar',
281 "form.project.th.del" => 'apagar',
282 "form.project.name" => 'nome',
283
284 // activities form attributes
285 "form.activity.act_title" => 'atividades',
286 "form.activity.add_title" => 'adicionando nova atividade',
287 "form.activity.edit_str" => 'editando atividade',
288 // Note to translators: the string below must be translated
289 // "form.activity.del_str" => 'deleting activity',
290 "form.activity.name" => 'nome',
291 "form.activity.project" => 'project',
292 "form.activity.th.name" => 'nome',
293 "form.activity.th.project" => 'project',
294 "form.activity.th.edit" => 'editar',
295 "form.activity.th.del" => 'apagar',
296
297 // report attributes
298 "form.report.title" => 'relatórios',
299 "form.report.from" => 'data inicial',
300 "form.report.to" => 'data final',
301 // Note to translators: the strings below must be translated
302 // "form.report.groupby_user" => 'user',
303 // "form.report.groupby_project" => 'project',
304 // "form.report.groupby_activity" => 'activity',
305 "form.report.duration" => 'duração',
306 "form.report.start" => 'início',
307 "form.report.activity" => 'atividade',
308 // Note to translators: the string below must be translated
309 // "form.report.show_idle" => 'show idle',
310 "form.report.finish" => 'fim',
311 "form.report.note" => 'anotação',
312 "form.report.project" => 'projeto',
313 // Note to translators: the string below is missing and must be added and translated 
314 // "form.report.totals_only" => 'totals only',
315 "form.report.total" => 'horas totais',
316 "form.report.th.empllist" => 'usuário',
317 // Note to translators: the strings below must be translated
318 // "form.report.th.date" => 'data',
319 // "form.report.th.project" => 'project',
320 // "form.report.th.activity" => 'activity',
321 // "form.report.th.start" => 'start',
322 // "form.report.th.finish" => 'finish',
323 // "form.report.th.duration" => 'duration',
324 // "form.report.th.note" => 'note',
325
326 // mail form attributes
327 "form.mail.from" => 'de',
328 "form.mail.to" => 'para',
329 "form.mail.comment" => 'comentário',
330 "form.mail.above" => 'enviar este relatório por e-mail',
331 // Note to translators: the strings below must be translated
332 // "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.',
333 // "form.mail.sending_str" => '<b>the message has been sent</b>',
334
335 // invoice attributes
336 // Note to translators: the strings below must be translated
337 // "form.invoice.title" => 'invoice',
338 // "form.invoice.caption" => 'invoice',
339 // "form.invoice.above" => 'additional information for invoice',
340 // "form.invoice.select_cust" => 'select client',
341 // "form.invoice.fillform" => 'fill the fields',
342 // "form.invoice.date" => 'invoice date',
343 // "form.invoice.number" => 'invoice number',
344 // "form.invoice.tax" => 'tax',
345 // "form.invoice.comment" => 'comment ',
346 // "form.invoice.th.username" => 'person',
347 // "form.invoice.th.time" => 'hours',
348 // "form.invoice.th.rate" => 'rate',
349 // "form.invoice.th.summ" => 'amount',
350 // "form.invoice.subtotal" => 'subtotal',
351 // "form.invoice.customer" =>'customer',
352 // Note to translators: the strings below must be translated
353 // "form.invoice.mailinv_above" => 'send this invoice by e-mail',
354 // "form.invoice.sending_str" => '<b>invoice has been sent</b>',
355
356 // Note to translators: the strings below are missing and must be added and translated 
357 // "form.migration.zip" => 'compression',
358 // "form.migration.file" => 'select file',
359 // "form.migration.import.title" => 'import data',
360 // "form.migration.import.success" => 'import completed successfully',
361 // "form.migration.import.text" => 'import team data from an xml file',
362 // "form.migration.export.title" => 'export data',
363 // "form.migration.export.success" => 'export completed successfully',
364 // "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.',
365 // "form.migration.compression.none" => 'none',
366 // "form.migration.compression.gzip" => 'gzip',
367 // "form.migration.compression.bzip" => 'bzip',
368
369 // "form.client.title" => 'clients',
370 // "form.client.add_title" => 'add client',
371 // "form.client.edit_title" => 'edit client',
372 // "form.client.del_title" => 'delete client',
373 // "form.client.th.name" => 'name',
374 // "form.client.th.edit" => 'edit',
375 // "form.client.th.del" => 'delete',
376 // "form.client.name" => 'name',
377 // "form.client.tax" => 'tax',
378 // "form.client.comment" => 'comment ',
379
380 // miscellaneous strings
381 "forward.forgot_password" => 'esqueceu a senha?',
382 // Note to translators: the strings below must be translated 
383 // "forward.edit" => 'edit',
384 // "forward.delete" => 'delete',
385 // Note to translators: the string below must be translated 
386 // "forward.tocsvfile" => 'export data to .csv file',
387 // Note to translators: the strings below are missing and must be added and translated 
388 // "forward.toxmlfile" => 'export data to .xml file',
389 // "forward.geninvoice" => 'generate invoice',
390 // "forward.change" => 'configure clients',
391
392 // strings inside contols on forms
393 "controls.select.project" => '--- selecione projeto ---',
394 "controls.select.activity" => '--- selecione atividade ---',
395 // Note to translators: the strings below are missing and must be added and translated 
396 // "controls.select.client" => '--- select client ---',
397 // "controls.project_bind" => '--- all ---',
398 // "controls.all" => '--- all ---',
399 // "controls.notbind" => '--- no ---',
400 "controls.per_tm" => 'este mês',
401 "controls.per_lm" => 'último mês',
402 "controls.per_tw" => 'esta semana',
403 "controls.per_lw" => 'última semana',
404 // Note to translators: the strings below are missing and must be added and translated 
405 // "controls.per_td" => 'this day',
406 // "controls.per_at" => 'all time',
407 // "controls.per_ty" => 'this year',
408 "controls.sel_period" => '--- selecione o período de tempo ---',
409 // Note to translators: the strings below must be translated 
410 // "controls.sel_groupby" => '--- no grouping ---',
411 // "controls.inc_billable" => 'billable',
412 // "controls.inc_nbillable" => 'not billable',
413 // "controls.default" => '--- default ---',
414
415 // labels
416 // Note to translators: the strings below are missing and must be added and translated 
417 // "label.chart.title1" => 'activities for user',
418 // "label.chart.title2" => 'projects for user',
419 // "label.chart.period" => 'chart for period',
420
421 "label.pinfo" => '%s, %s',
422 "label.pinfo2" => '%s',
423 "label.pbehalf_info" => '%s %s <b>on behalf of %s</b>',
424 "label.pminfo" => ' (gerente)',
425 // Note to translators: the strings below are missing and must be added and translated 
426 // "label.pcminfo" => ' (co-manager)',
427 // "label.painfo" => ' (administrator)',
428 "label.time_noentry" => 'sem registro',
429 "label.today" => 'today',
430 "label.req_fields" => '* campos obrigatórios',
431 // Note to translators: the strings below must be translated 
432 // "label.sel_project" => 'select project',
433 // "label.sel_activity" => 'select activity',
434 "label.sel_tp" => 'selecione o período de tempo',
435 "label.set_tp" => 'ou selecionar datas',
436 "label.fields" => 'exibir campos',
437 // Note to translators: the strings below must be translated
438 // "label.group_title" => 'group by',
439 // "label.include_title" => 'include records',
440 // "label.inv_str" => 'invoice',
441 //" label.sel_all" => 'select all',
442 // "label.sel_none" => 'deselect all',
443 // "label.or" => 'or',
444 // "label.disable" => 'disable',
445 // "label.enable" => 'enable',
446 // "label.filter" => 'filter',
447 // "label.timeweek" => 'weekly total',
448 // "label.hrs" => 'hrs',
449 // "label.errors" => 'errors',
450 // "label.ldap_hint" => 'Type your <b>Windows login</b> and <b>password</b> in the fields below.',
451 // "label.calendar_today" => 'today',
452 // "label.calendar_close" => 'close',
453
454 // login hello text
455 // "login.hello.text" => "Anuko Time Tracker is a simple, easy to use, open source time tracking system.",
456 );