Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 10x 10x 10x 10x 1x 1x 1x | import {ITranslation} from "../interfaces/ITranslation";
export const Portuguese: ITranslation = {
separator: ' e ',
units: {
0: 'zero',
1: {
male: 'um',
female: 'uma',
neutral: 'um'
},
2: {
male: 'dois',
female: 'duas',
neutral: 'dois'
},
3: "três",
4: "quatro",
5: "cinco",
6: "seis",
7: "sete",
8: "oito",
9: "nove",
10: "dez",
11: "onze",
12: "doze",
13: "treze",
14: "quatorze",
15: "quinze",
16: "dezesseis",
17: "dezessete",
18: "dezoito",
19: "dezenove",
},
tenths: {
20: "vinte",
30: "trinta",
40: "quarenta",
50: "cinquenta",
60: "sessenta",
70: "setenta",
80: "oitenta",
90: "noventa",
},
hundreds: {
100: "cem",
200: "duzentos",
300: "trezentos",
400: "quatrocentos",
500: "quinhentos",
600: "seiscentos",
700: "setecentos",
800: "oitocentos",
900: "novecentos",
},
other: [
{
exponent: 2,
all: 'cem'
},
{
exponent: 3,
all: "mil",
},
{
exponent: 6,
singular: "milhão",
plural: "milhões"
},
{
exponent: 9,
singular: "bilhão",
plural: "bilhões"
},
{
exponent: 12,
singular: "trilhão",
plural: "trilhões"
},
{
exponent: 15,
singular: "quadrilhão",
plural: "quadrilhões"
},
{
exponent: 18,
singular: "quintilhão",
plural: "quintilhões"
},
],
exceptions: [
{
type: 'post',
func: (value): string => {
return value
.replace(/\bum mil\b/gi, 'mil')
.replace(/\bum cem\b/gi, 'cento')
}
}
]
} |