annotate MoinMoin/support/parsedatetime/pdt_locales/pt_BR.py @ 6098:83b1bc99457c

upgrade parsedatetime from 0.8.7 to 2.1
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 00:09:31 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6098
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
2 from __future__ import unicode_literals
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
3 from .base import * # noqa
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
4
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
5 # don't use an unicode string
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
6 localeID = 'pt_BR'
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
7 dateSep = ['/']
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
8 usesMeridian = False
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
9 uses24 = True
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
10 decimal_mark = ','
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
11
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
12 Weekdays = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
13 'segunda-feira', 'terça-feira', 'quarta-feira',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
14 'quinta-feira', 'sexta-feira', 'sábado', 'domingo',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
15 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
16 shortWeekdays = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
17 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb', 'dom',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
18 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
19 Months = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
20 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
21 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro'
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
22 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
23 shortMonths = [
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
24 'jan', 'fev', 'mar', 'abr', 'mai', 'jun',
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
25 'jul', 'ago', 'set', 'out', 'nov', 'dez'
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
26 ]
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
27 dateFormats = {
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
28 'full': "EEEE, d' de 'MMMM' de 'yyyy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
29 'long': "d' de 'MMMM' de 'yyyy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
30 'medium': "dd-MM-yy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
31 'short': "dd/MM/yyyy",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
32 }
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
33
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
34 timeFormats = {
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
35 'full': "HH'H'mm' 'ss z",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
36 'long': "HH:mm:ss z",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
37 'medium': "HH:mm:ss",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
38 'short': "HH:mm",
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
39 }
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
40
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
41 dp_order = ['d', 'm', 'y']
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
42
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
43 units = {
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
44 'seconds': ['segundo', 'seg', 's'],
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
45 'minutes': ['minuto', 'min', 'm'],
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
46 'days': ['dia', 'dias', 'd'],
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
47 'months': ['mês', 'meses'],
83b1bc99457c upgrade parsedatetime from 0.8.7 to 2.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
48 }