annotate babel/messages/plurals.py @ 313:2d039dbe2f52

Add a Plural-Forms for Cymraeg (Welsh). See #71
author jruigrok
date Sun, 20 Jan 2008 15:32:56 +0000
parents e6fc64278d1c
children 662d332c0a2b
rev   line source
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
1 # -*- coding: utf-8 -*-
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
2 #
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
3 # Copyright (C) 2007 Edgewall Software
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
4 # All rights reserved.
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
5 #
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
6 # This software is licensed as described in the file COPYING, which
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
7 # you should have received as part of this distribution. The terms
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
8 # are also available at http://babel.edgewall.org/wiki/License.
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
9 #
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
10 # This software consists of voluntary contributions made by many
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
11 # individuals. For the exact contribution history, see the revision
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
12 # history and logs, available at http://babel.edgewall.org/log/.
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
13
58
068952b4d4c0 Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
cmlenz
parents: 56
diff changeset
14 """Plural form definitions."""
068952b4d4c0 Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
cmlenz
parents: 56
diff changeset
15
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
16 PLURALS = {
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
17 # Afar
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
18 # 'aa': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
19 # Abkhazian
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
20 # 'ab': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
21 # Avestan
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
22 # 'ae': (),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
23 # Afrikaans - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
24 'af': (2, '(n != 1)'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
25 # Akan
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
26 # 'ak': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
27 # Amharic
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
28 # 'am': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
29 # Aragonese
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
30 # 'an': (),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
31 # Arabic - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
32 'ar': (6, '(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n>=3 && n<=10 ? 3 : n>=11 && n<=99 ? 4 : 5)'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
33 # Assamese
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
34 # 'as': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
35 # Avaric
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
36 # 'av': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
37 # Aymara
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
38 # 'ay': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
39 # Azerbaijani
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
40 # 'az': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
41 # Bashkir
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
42 # 'ba': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
43 # Belarusian
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
44 # 'be': (),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
45 # Bulgarian - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
46 'bg': (2, '(n != 1)'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
47 # Bihari
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
48 # 'bh': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
49 # Bislama
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
50 # 'bi': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
51 # Bambara
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
52 # 'bm': (),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
53 # Bengali - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
54 'bn': (2, '(n != 1)'),
299
f3e1cbfa4738 Add plural forms definition for Tibetan.
jruigrok
parents: 298
diff changeset
55 # Tibetan - as discussed in private with Andrew West
f3e1cbfa4738 Add plural forms definition for Tibetan.
jruigrok
parents: 298
diff changeset
56 'bo': (1, '0'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
57 # Breton
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
58 # 'br': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
59 # Bosnian
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
60 # 'bs': (),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
61 # Catalan - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
62 'ca': (2, '(n != 1)'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
63 # Chechen
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
64 # 'ce': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
65 # Chamorro
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
66 # 'ch': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
67 # Corsican
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
68 # 'co': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
69 # Cree
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
70 # 'cr': (),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
71 # Czech
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
72 'cs': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
73 # Church Slavic
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
74 # 'cu': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
75 # Chuvash
306
e6fc64278d1c Assume that, since Chuvash is a Turkic language, Chuvash follows the same
jruigrok
parents: 305
diff changeset
76 'cv': (1, '0'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
77 # Welsh
313
2d039dbe2f52 Add a Plural-Forms for Cymraeg (Welsh).
jruigrok
parents: 306
diff changeset
78 'cy': (5, 'n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 0'),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
79 # Danish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
80 'da': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
81 # German
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
82 'de': (2, '(n != 1)'),
304
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
83 # Divehi
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
84 # 'dv': (),
f9c90b6cf726 Add commented ISO 639-1 codes up to 'e'.
jruigrok
parents: 303
diff changeset
85 # Dzongkha
305
a3984ac20b86 Given Dzongkha's relation to Tibetan for now assume the same plurality rules
jruigrok
parents: 304
diff changeset
86 'dz': (1, '0'),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
87 # Greek
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
88 'el': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
89 # English
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
90 'en': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
91 # Esperanto
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
92 'eo': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
93 # Spanish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
94 'es': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
95 # Estonian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
96 'et': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
97 # Basque - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
98 'eu': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
99 # Persian - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
100 'fa': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
101 # Finnish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
102 'fi': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
103 # French
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
104 'fr': (2, '(n > 1)'),
301
21762d2a345c Use consistent English names for all language names.
jruigrok
parents: 299
diff changeset
105 # Friulian - From Pootle's PO's
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
106 'fur': (2, '(n > 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
107 # Irish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
108 'ga': (3, 'n==1 ? 0 : n==2 ? 1 : 2'),
301
21762d2a345c Use consistent English names for all language names.
jruigrok
parents: 299
diff changeset
109 # Galician - From Pootle's PO's
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
110 'gl': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
111 # Hausa - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
112 'ha': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
113 # Hebrew
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
114 'he': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
115 # Hindi - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
116 'hi': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
117 # Croatian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
118 'hr': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
119 # Hungarian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
120 'hu': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
121 # Armenian - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
122 'hy': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
123 # Icelandic - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
124 'is': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
125 # Italian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
126 'it': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
127 # Japanese
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
128 'ja': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
129 # Georgian - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
130 'ka': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
131 # Kongo - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
132 'kg': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
133 # Khmer - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
134 'km': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
135 # Korean
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
136 'ko': (1, '0'),
301
21762d2a345c Use consistent English names for all language names.
jruigrok
parents: 299
diff changeset
137 # Kurdish - From Pootle's PO's
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
138 'ku': (2, '(n != 1)'),
303
59f87229ef58 Add a definition for Lao.
jruigrok
parents: 301
diff changeset
139 # Lao - Another member of the Tai language family, like Thai.
59f87229ef58 Add a definition for Lao.
jruigrok
parents: 301
diff changeset
140 'lo': (1, '0'),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
141 # Lithuanian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
142 'lt': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
143 # Latvian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
144 'lv': (3, '(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
145 # Maltese - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
146 'mt': (4, '(n==1 ? 0 : n==0 || ( n%100>1 && n%100<11) ? 1 : (n%100>10 && n%100<20 ) ? 2 : 3)'),
301
21762d2a345c Use consistent English names for all language names.
jruigrok
parents: 299
diff changeset
147 # Norwegian Bokmål
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
148 'nb': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
149 # Dutch
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
150 'nl': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
151 # Norwegian Nynorsk
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
152 'nn': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
153 # Norwegian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
154 'no': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
155 # Punjabi - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
156 'pa': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
157 # Polish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
158 'pl': (3, '(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
159 # Portuguese
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
160 'pt': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
161 # Brazilian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
162 'pt_BR': (2, '(n > 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
163 # Romanian - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
164 'ro': (3, '(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
165 # Russian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
166 'ru': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
167 # Slovak
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
168 'sk': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
169 # Slovenian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
170 'sl': (4, '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
171 # Serbian - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
172 'sr': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10< =4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
301
21762d2a345c Use consistent English names for all language names.
jruigrok
parents: 299
diff changeset
173 # Southern Sotho - From Pootle's PO's
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
174 'st': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
175 # Swedish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
176 'sv': (2, '(n != 1)'),
298
26c63027b132 Add a plurals definition for Thai.
jruigrok
parents: 58
diff changeset
177 # Thai
26c63027b132 Add a plurals definition for Thai.
jruigrok
parents: 58
diff changeset
178 'th': (1, '0'),
53
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
179 # Turkish
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
180 'tr': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
181 # Ukrainian
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
182 'uk': (3, '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
183 # Venda - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
184 've': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
185 # Vietnamese - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
186 'vi': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
187 # Xhosa - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
188 'xh': (2, '(n != 1)'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
189 # Chinese - From Pootle's PO's
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
190 'zh_CN': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
191 'zh_HK': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
192 'zh_TW': (1, '0'),
52dbebdd3789 Fixed a bug regarding plural msgid's handling when writing the `.pot` file.
palgarvio
parents:
diff changeset
193 }
Copyright (C) 2012-2017 Edgewall Software