aboutsummaryrefslogtreecommitdiffstats
path: root/portuguese/international/portuguese/translator.db.pl
blob: d0871c6eed45641d0dda5ce5e63f825983c87903 (plain) (blame)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# Here is the syntax:
#  The data is in a hash table returned by init_translators().
#  Each key is the name of a translator (trimmed, without email adress)
# Here is the syntax:
#  The data is in a hash table returned by init_translators().
#  Each key is the name of a translator (trimmed, without email adress)
#  For each one, you have a (sub)hash table containing:
#  * email:    the current email of this guy
#  * compress: which type of compression you want to have (NOT YET IMPLEMENTED)
#  Remaining keys have numeric value, which tells when to send info:
#  * summary:  a summary of which documents are outdated
#  * logs:     the commit logs between the translated and current versions
#  * diff:     idem with diff
#  * file:     add current version of translated file

sub init_translators {
    my $translators = {
	'Carlos Laviola' => {
	    email     => 'claviola@debian.org',
	    summary   => 3,
	    logs      => 3,
	    diff      => 0,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Felipe Augusto van de Wiel (faw)' => {
	    email     => 'faw@debian.org',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Gustavo Rezende Montesino' => {
	    email     => 'grmontesino@ig.com.br',
	    summary   => 2,
	    logs      => 2,
	    diff      => 0,
	    tdiff     => 0,
	    compress  => 'none'
	    },
	'Marcio Roberto Teixeira' => {
	    email     => 'marciotex@pop.com.br',
	    summary   => 2,
	    logs      => 2,
	    diff      => 0,
	    tdiff     => 0,
            compress  => 'none'
	    },
	'Philipe Gaspar' => {
	    email     => 'philipegaspar@terra.com.br',
	    summary   => 3,
	    logs      => 3,
	    diff      => 0,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Marcelo Santana' => {
	    email     => 'marcelo@msantana.eng.br',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Paulo Henrique de Lima Santana (phls)' => {
	    email     => 'paulo@phls.com.br',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Adriana Cassia da Costa' => {
	    email     => 'adriana.org@gmail.com',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Qobi Ben Nun' => {
	    email     => 'qobibennun@gmail.com',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Thiago Pezzo (Tico)' => {
	    email     => 'pezzo@protonmail.com',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	'Tiago Verçosa' => {
	    email     => 'tiago.vercosa@gmail.com',
	    summary   => 3,
	    logs      => 3,
	    diff      => 3,
	    tdiff     => 0,
	    file      => 0,
	    compress  => 'none'
	    },
	# Below are special users, used to handle special cases
	#     default:      default values
	#     untranslated: pages not translated
	#     unmaintained: pages without maintainer
	#     maxdelta:     outdated pages

	untranslated        => {
	    email       => '',
	    mailsubject => '',
	    mailbody    => '',
	},
	unmaintained        => {
	    email       => 'debian-l10n-portuguese@lists.debian.org',
	    summary     => 2,
	    mailsubject => '[webwml] Páginas desatualizadas sem mantenedor',
	    mailbody    => 'portuguese/international/portuguese/mail_unmaintained.txt',
	},
	maxdelta            => {
	    email       => 'debian-l10n-portuguese@lists.debian.org',
	    summary     => 2,
	    maxdelta    => 5,
	    mailsubject => '[webwml: Importante] Páginas desatualizadas',
	    mailbody    => 'portuguese/international/portuguese/mail_obsolete.txt',
	},
	# this is a special name containing the default values
	# Translate frequency values, mailsubject and mailbody files
	default   => {
	    email       => '',
	    missing     => 0,
	    summary     => 0,
	    logs        => 0,
	    diff        => 0,
	    tdiff       => 0,
	    file        => 0,
	    frequency   => ['nunca', 'mensalmente', 'semanalmente', 'diariamente'],
	    mailsubject => '[wml] Páginas desatualizadas',
	    mailbody    => 'portuguese/international/portuguese/mail_user.txt',
	    compress    => 'none'
	},
    };
    return $translators;
}

1;

© 2014-2024 Faster IT GmbH | imprint | privacy policy