| 1 |
# Copyright (c) 1999-2026 Sullivan Beck. All rights reserved. |
| 2 |
# This program is free software; you can redistribute it and/or modify it |
| 3 |
# under the same terms as Perl itself. |
| 4 |
|
| 5 |
######################################################################## |
| 6 |
######################################################################## |
| 7 |
|
| 8 |
=pod |
| 9 |
|
| 10 |
=encoding utf-8 |
| 11 |
|
| 12 |
=head1 NAME |
| 13 |
|
| 14 |
Date::Manip::Lang::portugue - Portuguese language support. |
| 15 |
|
| 16 |
=head1 SYNOPSIS |
| 17 |
|
| 18 |
This module contains a list of words and expressions supporting |
| 19 |
the language. It is not intended to be used directly (other |
| 20 |
Date::Manip modules will load it as needed). |
| 21 |
|
| 22 |
=head1 LANGUAGE EXPRESSIONS |
| 23 |
|
| 24 |
The following is a list of all language words and expressions used |
| 25 |
to write times and/or dates. |
| 26 |
|
| 27 |
All strings are case insensitive. |
| 28 |
|
| 29 |
=over 4 |
| 30 |
|
| 31 |
=item B<Month names and abbreviations> |
| 32 |
|
| 33 |
When writing out the name of the month, several different variations may |
| 34 |
exist including full names and abbreviations. |
| 35 |
|
| 36 |
The following month names may be used: |
| 37 |
|
| 38 |
Janeiro |
| 39 |
|
| 40 |
Fevereiro |
| 41 |
|
| 42 |
Março |
| 43 |
Marco |
| 44 |
|
| 45 |
Abril |
| 46 |
|
| 47 |
Maio |
| 48 |
|
| 49 |
Junho |
| 50 |
|
| 51 |
Julho |
| 52 |
|
| 53 |
Agosto |
| 54 |
|
| 55 |
Setembro |
| 56 |
|
| 57 |
Outubro |
| 58 |
|
| 59 |
Novembro |
| 60 |
|
| 61 |
Dezembro |
| 62 |
|
| 63 |
|
| 64 |
The following abbreviations may be used: |
| 65 |
|
| 66 |
Jan |
| 67 |
|
| 68 |
Fev |
| 69 |
|
| 70 |
Mar |
| 71 |
|
| 72 |
Abr |
| 73 |
|
| 74 |
Mai |
| 75 |
|
| 76 |
Jun |
| 77 |
|
| 78 |
Jul |
| 79 |
|
| 80 |
Ago |
| 81 |
|
| 82 |
Set |
| 83 |
|
| 84 |
Out |
| 85 |
|
| 86 |
Nov |
| 87 |
|
| 88 |
Dez |
| 89 |
|
| 90 |
|
| 91 |
=item B<Day names and abbreviations> |
| 92 |
|
| 93 |
When writing out the name of the day, several different variations may |
| 94 |
exist including full names and abbreviations. |
| 95 |
|
| 96 |
The following day names may be used: |
| 97 |
|
| 98 |
segunda |
| 99 |
segunda-feira |
| 100 |
segunda feira |
| 101 |
|
| 102 |
terça |
| 103 |
terca |
| 104 |
terça-feira |
| 105 |
terca-feira |
| 106 |
terça feira |
| 107 |
terca feira |
| 108 |
|
| 109 |
quarta |
| 110 |
quarta-feira |
| 111 |
quarta feira |
| 112 |
|
| 113 |
quinta |
| 114 |
quinta-feira |
| 115 |
quinta feira |
| 116 |
|
| 117 |
sexta |
| 118 |
sexta-feira |
| 119 |
sexta feira |
| 120 |
|
| 121 |
sábado |
| 122 |
sabado |
| 123 |
|
| 124 |
domingo |
| 125 |
|
| 126 |
|
| 127 |
The following abbreviations may be used: |
| 128 |
|
| 129 |
seg |
| 130 |
|
| 131 |
ter |
| 132 |
|
| 133 |
qua |
| 134 |
|
| 135 |
qui |
| 136 |
|
| 137 |
sex |
| 138 |
|
| 139 |
sáb |
| 140 |
sab |
| 141 |
|
| 142 |
dom |
| 143 |
|
| 144 |
|
| 145 |
The following short (1-2 characters) abbreviations may be used: |
| 146 |
|
| 147 |
Sg |
| 148 |
|
| 149 |
T |
| 150 |
|
| 151 |
Qa |
| 152 |
|
| 153 |
Qi |
| 154 |
|
| 155 |
Sx |
| 156 |
|
| 157 |
Sb |
| 158 |
|
| 159 |
D |
| 160 |
|
| 161 |
|
| 162 |
=item B<Delta field names> |
| 163 |
|
| 164 |
These are the names (and abbreviations) for the fields in a delta. There are |
| 165 |
7 fields: years, months, weeks, days, hours, minutes, seconds. |
| 166 |
|
| 167 |
The names and abbreviations for these fields are: |
| 168 |
|
| 169 |
anos |
| 170 |
ano |
| 171 |
ans |
| 172 |
an |
| 173 |
a |
| 174 |
|
| 175 |
meses |
| 176 |
mês |
| 177 |
mes |
| 178 |
m |
| 179 |
|
| 180 |
semanas |
| 181 |
semana |
| 182 |
sem |
| 183 |
sems |
| 184 |
s |
| 185 |
|
| 186 |
dias |
| 187 |
dia |
| 188 |
d |
| 189 |
|
| 190 |
horas |
| 191 |
hora |
| 192 |
hr |
| 193 |
hrs |
| 194 |
|
| 195 |
minutos |
| 196 |
minuto |
| 197 |
min |
| 198 |
mn |
| 199 |
|
| 200 |
segundos |
| 201 |
segundo |
| 202 |
seg |
| 203 |
sg |
| 204 |
|
| 205 |
|
| 206 |
=item B<Morning/afternoon times> |
| 207 |
|
| 208 |
This is a list of expressions use to designate morning or afternoon time |
| 209 |
when a time is entered as a 12-hour time rather than a 24-hour time. |
| 210 |
For example, in English, the time "17:00" could be specified as "5:00 PM". |
| 211 |
|
| 212 |
Morning and afternoon time may be designated by the following sets of |
| 213 |
words: |
| 214 |
|
| 215 |
AM |
| 216 |
A.M. |
| 217 |
|
| 218 |
PM |
| 219 |
P.M. |
| 220 |
|
| 221 |
|
| 222 |
=item B<Each or every> |
| 223 |
|
| 224 |
There are a list of words that specify every occurrence of something. These |
| 225 |
are used in the following phrases: |
| 226 |
|
| 227 |
EACH Monday |
| 228 |
EVERY Monday |
| 229 |
EVERY month |
| 230 |
|
| 231 |
The following words may be used: |
| 232 |
|
| 233 |
cada |
| 234 |
|
| 235 |
|
| 236 |
=item B<Next/Previous/Last occurrence> |
| 237 |
|
| 238 |
There are a list of words that may be used to specify the next, |
| 239 |
previous, or last occurrence of something. These words could be used |
| 240 |
in the following phrases: |
| 241 |
|
| 242 |
NEXT week |
| 243 |
|
| 244 |
LAST Tuesday |
| 245 |
PREVIOUS Tuesday |
| 246 |
|
| 247 |
LAST day of the month |
| 248 |
|
| 249 |
The following words may be used: |
| 250 |
|
| 251 |
Next occurrence: |
| 252 |
|
| 253 |
proxima |
| 254 |
próxima |
| 255 |
proximo |
| 256 |
próximo |
| 257 |
|
| 258 |
|
| 259 |
Previous occurrence: |
| 260 |
|
| 261 |
ultima |
| 262 |
última |
| 263 |
ultimo |
| 264 |
último |
| 265 |
|
| 266 |
|
| 267 |
Last occurrence: |
| 268 |
|
| 269 |
ultimo |
| 270 |
último |
| 271 |
|
| 272 |
|
| 273 |
=item B<Delta words for going forward/backward in time> |
| 274 |
|
| 275 |
When parsing deltas, there are words that may be used to specify |
| 276 |
the the delta will refer to a time in the future or to a time in |
| 277 |
the past (relative to some date). In English, for example, you |
| 278 |
might say: |
| 279 |
|
| 280 |
IN 5 days |
| 281 |
5 days AGO |
| 282 |
|
| 283 |
The following words may be used to specify deltas that refer to |
| 284 |
dates in the past or future respectively: |
| 285 |
|
| 286 |
a |
| 287 |
à |
| 288 |
|
| 289 |
em |
| 290 |
passadas |
| 291 |
passados |
| 292 |
|
| 293 |
|
| 294 |
=item B<Business mode> |
| 295 |
|
| 296 |
This contains two lists of words which can be used to specify a standard |
| 297 |
(i.e. non-business) delta or a business delta. |
| 298 |
|
| 299 |
Previously, it was used to tell whether the delta was approximate or exact, |
| 300 |
but now this list is not used except to force the delta to be standard. |
| 301 |
|
| 302 |
The following words may be used: |
| 303 |
|
| 304 |
exactamente |
| 305 |
aproximadamente |
| 306 |
|
| 307 |
|
| 308 |
The following words may be used to specify a business delta: |
| 309 |
|
| 310 |
util |
| 311 |
uteis |
| 312 |
|
| 313 |
|
| 314 |
=item B<Numbers> |
| 315 |
|
| 316 |
Numbers may be spelled out in a variety of ways. The following sets correspond |
| 317 |
to the numbers from 1 to 53: |
| 318 |
|
| 319 |
1º |
| 320 |
um |
| 321 |
primeiro |
| 322 |
|
| 323 |
2º |
| 324 |
dois |
| 325 |
segundo |
| 326 |
|
| 327 |
3º |
| 328 |
três |
| 329 |
tres |
| 330 |
terceiro |
| 331 |
|
| 332 |
4º |
| 333 |
quatro |
| 334 |
quarto |
| 335 |
|
| 336 |
5º |
| 337 |
cinco |
| 338 |
quinto |
| 339 |
|
| 340 |
6º |
| 341 |
seis |
| 342 |
sexto |
| 343 |
|
| 344 |
7º |
| 345 |
sete |
| 346 |
setimo |
| 347 |
sétimo |
| 348 |
|
| 349 |
8º |
| 350 |
oito |
| 351 |
oitavo |
| 352 |
|
| 353 |
9º |
| 354 |
nove |
| 355 |
nono |
| 356 |
|
| 357 |
10º |
| 358 |
dez |
| 359 |
decimo |
| 360 |
décimo |
| 361 |
|
| 362 |
|
| 363 |
11º |
| 364 |
onze |
| 365 |
decimo primeiro |
| 366 |
décimo primeiro |
| 367 |
|
| 368 |
12º |
| 369 |
doze |
| 370 |
decimo segundo |
| 371 |
décimo segundo |
| 372 |
|
| 373 |
13º |
| 374 |
treze |
| 375 |
decimo terceiro |
| 376 |
décimo terceiro |
| 377 |
|
| 378 |
14º |
| 379 |
quatorze |
| 380 |
decimo quarto |
| 381 |
décimo quarto |
| 382 |
|
| 383 |
15º |
| 384 |
quinze |
| 385 |
decimo quinto |
| 386 |
décimo quinto |
| 387 |
|
| 388 |
16º |
| 389 |
dezasseis |
| 390 |
decimo sexto |
| 391 |
décimo sexto |
| 392 |
|
| 393 |
17º |
| 394 |
dezessete |
| 395 |
decimo setimo |
| 396 |
décimo sétimo |
| 397 |
|
| 398 |
18º |
| 399 |
dezoito |
| 400 |
decimo oitavo |
| 401 |
décimo oitavo |
| 402 |
|
| 403 |
19º |
| 404 |
dezanove |
| 405 |
decimo nono |
| 406 |
décimo nono |
| 407 |
|
| 408 |
20º |
| 409 |
vinte |
| 410 |
vigesimo |
| 411 |
vigésimo |
| 412 |
|
| 413 |
|
| 414 |
21º |
| 415 |
vinte e um |
| 416 |
vigesimo primeiro |
| 417 |
vigésimo primeiro |
| 418 |
|
| 419 |
22º |
| 420 |
vinte e dois |
| 421 |
vigesimo segundo |
| 422 |
vigésimo segundo |
| 423 |
|
| 424 |
23º |
| 425 |
vinte e três |
| 426 |
vinte e tres |
| 427 |
vigesimo terceiro |
| 428 |
vigésimo terceiro |
| 429 |
|
| 430 |
24º |
| 431 |
vinte e quatro |
| 432 |
vigesimo quarto |
| 433 |
vigésimo quarto |
| 434 |
|
| 435 |
25º |
| 436 |
vinte cinco |
| 437 |
vigesimo quinto |
| 438 |
vigésimo quinto |
| 439 |
|
| 440 |
26º |
| 441 |
vinte seis |
| 442 |
vigesimo sexto |
| 443 |
vigésimo sexto |
| 444 |
|
| 445 |
27º |
| 446 |
vinte sete |
| 447 |
vigesimo setimo |
| 448 |
vigésimo sétimo |
| 449 |
|
| 450 |
28º |
| 451 |
vinte e oito |
| 452 |
vigesimo oitavo |
| 453 |
vigésimo oitavo |
| 454 |
|
| 455 |
29º |
| 456 |
vinte e nove |
| 457 |
vigesimo nono |
| 458 |
vigésimo nono |
| 459 |
|
| 460 |
30º |
| 461 |
trinta |
| 462 |
trigesimo |
| 463 |
trigésimo |
| 464 |
|
| 465 |
|
| 466 |
31º |
| 467 |
trinta e um |
| 468 |
trigesimo primeiro |
| 469 |
trigésimo primeiro |
| 470 |
|
| 471 |
32º |
| 472 |
trinta e dois |
| 473 |
trigésimo segundo |
| 474 |
trigesimo segundo |
| 475 |
|
| 476 |
33º |
| 477 |
trinta e três |
| 478 |
trinta e tres |
| 479 |
trigésimo terceiro |
| 480 |
trigesimo terceiro |
| 481 |
|
| 482 |
34º |
| 483 |
trinta e quatro |
| 484 |
trigésimo quarto |
| 485 |
trigesimo quarto |
| 486 |
|
| 487 |
35º |
| 488 |
trinta e cinco |
| 489 |
trigésimo quinto |
| 490 |
trigesimo quinto |
| 491 |
|
| 492 |
36º |
| 493 |
trinta e seis |
| 494 |
trigésimo sexto |
| 495 |
trigesimo sexto |
| 496 |
|
| 497 |
37º |
| 498 |
trinta e sete |
| 499 |
trigésimo sétimo |
| 500 |
trigesimo setimo |
| 501 |
|
| 502 |
38º |
| 503 |
trinta e oito |
| 504 |
trigésimo oitavo |
| 505 |
trigesimo oitavo |
| 506 |
|
| 507 |
39º |
| 508 |
trinta e nove |
| 509 |
trigésimo nono |
| 510 |
trigesimo nono |
| 511 |
|
| 512 |
40º |
| 513 |
quarenta |
| 514 |
quadragésimo |
| 515 |
quadragesimo |
| 516 |
|
| 517 |
|
| 518 |
41º |
| 519 |
quarenta e um |
| 520 |
quadragésimo primeiro |
| 521 |
quadragesimo primeiro |
| 522 |
|
| 523 |
42º |
| 524 |
quarenta e dois |
| 525 |
quadragésimo segundo |
| 526 |
quadragesimo segundo |
| 527 |
|
| 528 |
43º |
| 529 |
quarenta e três |
| 530 |
quarenta e tres |
| 531 |
quadragésimo terceiro |
| 532 |
quadragesimo terceiro |
| 533 |
|
| 534 |
44º |
| 535 |
quarenta e quatro |
| 536 |
quadragésimo quarto |
| 537 |
quadragesimo quarto |
| 538 |
|
| 539 |
45º |
| 540 |
quarenta e cinco |
| 541 |
quadragésimo quinto |
| 542 |
quadragesimo quinto |
| 543 |
|
| 544 |
46º |
| 545 |
quarenta e seis |
| 546 |
quadragésimo sexto |
| 547 |
quadragesimo sexto |
| 548 |
|
| 549 |
47º |
| 550 |
quarenta e sete |
| 551 |
quadragésimo sétimo |
| 552 |
quadragesimo setimo |
| 553 |
|
| 554 |
48º |
| 555 |
quarenta e oito |
| 556 |
quadragésimo oitavo |
| 557 |
quadragesimo oitavo |
| 558 |
|
| 559 |
49º |
| 560 |
quarenta e nove |
| 561 |
quadragésimo nono |
| 562 |
quadragesimo nono |
| 563 |
|
| 564 |
50º |
| 565 |
cinquenta |
| 566 |
quinquagésimo |
| 567 |
quinquagesimo |
| 568 |
|
| 569 |
|
| 570 |
51º |
| 571 |
cinquenta e um |
| 572 |
quinquagésimo primeiro |
| 573 |
quinquagesimo primeiro |
| 574 |
|
| 575 |
52º |
| 576 |
cinquenta e dois |
| 577 |
quinquagésimo segundo |
| 578 |
quinquagesimo segundo |
| 579 |
|
| 580 |
53º |
| 581 |
cinqüenta e três anos |
| 582 |
cinquenta e tres anos |
| 583 |
quinquagésimo terceiro |
| 584 |
quinquagesimo terceiro |
| 585 |
|
| 586 |
|
| 587 |
=item B<Ignored words> |
| 588 |
|
| 589 |
In writing out dates in common forms, there are a number of words |
| 590 |
that are typically not important. |
| 591 |
|
| 592 |
There is frequently a word that appears in a phrase to designate |
| 593 |
that a time is going to be specified next. In English, you would |
| 594 |
use the word AT in the example: |
| 595 |
|
| 596 |
December 3 at 12:00 |
| 597 |
|
| 598 |
The following words may be used: |
| 599 |
|
| 600 |
as |
| 601 |
às |
| 602 |
|
| 603 |
|
| 604 |
Another word is used to designate one member of a set. In English, |
| 605 |
you would use the words IN or OF: |
| 606 |
|
| 607 |
1st day OF December |
| 608 |
1st day IN December |
| 609 |
|
| 610 |
The following words may be used: |
| 611 |
|
| 612 |
da |
| 613 |
do |
| 614 |
|
| 615 |
|
| 616 |
Another word is use to specify that something is on a certain date. In |
| 617 |
English, you would use ON: |
| 618 |
|
| 619 |
ON July 5th |
| 620 |
|
| 621 |
The following words may be used: |
| 622 |
|
| 623 |
na |
| 624 |
no |
| 625 |
|
| 626 |
|
| 627 |
=item B<Words that set the date, time, or both> |
| 628 |
|
| 629 |
There are some words that can be used to specify a date, a |
| 630 |
time, or both relative to now. |
| 631 |
|
| 632 |
Words that set the date are similar to the English words 'yesterday' |
| 633 |
or 'tomorrow'. These are specified as a delta which is added to the |
| 634 |
current time to get a date. The time is NOT set however, so the delta |
| 635 |
is only partially used (it should only include year, month, week, and |
| 636 |
day fields). |
| 637 |
|
| 638 |
The following words may be used: |
| 639 |
|
| 640 |
amanha +0:0:0:1:0:0:0 |
| 641 |
amanhã +0:0:0:1:0:0:0 |
| 642 |
hoje 0:0:0:0:0:0:0 |
| 643 |
ontem -0:0:0:1:0:0:0 |
| 644 |
|
| 645 |
|
| 646 |
Words that set only the time of day are similar to the English words |
| 647 |
'noon' or 'midnight'. |
| 648 |
|
| 649 |
The following words may be used: |
| 650 |
|
| 651 |
meia-noite 00:00:00 |
| 652 |
meio-dia 12:00:00 |
| 653 |
|
| 654 |
|
| 655 |
Words that set the entire time and date (relative to the current |
| 656 |
time and date) are also available. |
| 657 |
|
| 658 |
In English, the word 'now' is one of these. |
| 659 |
|
| 660 |
The following words may be used: |
| 661 |
|
| 662 |
agora 0:0:0:0:0:0:0 |
| 663 |
|
| 664 |
|
| 665 |
=item B<Hour/Minute/Second separators> |
| 666 |
|
| 667 |
When specifying the time of day, the most common separator is a colon (:) |
| 668 |
which can be used for both separators. |
| 669 |
|
| 670 |
Some languages use different pairs. For example, French allows you to |
| 671 |
specify the time as 13h30:20, so it would use the following pairs: |
| 672 |
|
| 673 |
: : |
| 674 |
h : |
| 675 |
|
| 676 |
The first column is the hour-minute separator and the second column is |
| 677 |
the minute-second separator. Both are perl regular expressions. When |
| 678 |
creating a new translation, be aware that regular expressions with utf-8 |
| 679 |
characters may be tricky. For example, don't include the expression '[x]' |
| 680 |
where 'x' is a utf-8 character. |
| 681 |
|
| 682 |
A pair of colons is ALWAYS allowed for all languages. If a language allows |
| 683 |
additional pairs, they are listed here: |
| 684 |
|
| 685 |
Not defined in this language |
| 686 |
|
| 687 |
|
| 688 |
=item B<Fractional second separator> |
| 689 |
|
| 690 |
When specifying fractional seconds, the most common way is to use a |
| 691 |
decimal point (.). Some languages may specify a different separator |
| 692 |
that might be used. If this is done, it is a regular expression. |
| 693 |
|
| 694 |
The decimal point is ALWAYS allowed for all languages. If a language allows |
| 695 |
another separator, it is listed here: |
| 696 |
|
| 697 |
Not defined in this language |
| 698 |
|
| 699 |
|
| 700 |
=back |
| 701 |
|
| 702 |
=head1 KNOWN BUGS |
| 703 |
|
| 704 |
None known. |
| 705 |
|
| 706 |
=head1 BUGS AND QUESTIONS |
| 707 |
|
| 708 |
Please refer to the L<Date::Manip::Problems> documentation for |
| 709 |
information on submitting bug reports or questions to the author. |
| 710 |
|
| 711 |
=head1 SEE ALSO |
| 712 |
|
| 713 |
L<Date::Manip> - main module documentation |
| 714 |
|
| 715 |
=head1 LICENSE |
| 716 |
|
| 717 |
This script is free software; you can redistribute it and/or |
| 718 |
modify it under the same terms as Perl itself. |
| 719 |
|
| 720 |
=head1 AUTHOR |
| 721 |
|
| 722 |
Sullivan Beck ([email protected]) |
| 723 |
|
| 724 |
=cut |