Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
seleniumhq
GitHub Repository: seleniumhq/selenium
Path: blob/trunk/third_party/closure/goog/i18n/pluralrules.js
2868 views
1
// Copyright 2012 The Closure Library Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS-IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/**
16
* @fileoverview Plural rules.
17
*
18
* This file is autogenerated by script:
19
* http://go/generate_pluralrules.py
20
* File generated from CLDR ver. 31.0.1
21
*
22
* Before check in, this file could have been manually edited. This is to
23
* incorporate changes before we could fix CLDR. All manual modification must be
24
* documented in this section, and should be removed after those changes land to
25
* CLDR.
26
*/
27
28
// clang-format off
29
30
goog.provide('goog.i18n.pluralRules');
31
/**
32
* Plural pattern keyword
33
* @enum {string}
34
*/
35
goog.i18n.pluralRules.Keyword = {
36
ZERO: 'zero',
37
ONE: 'one',
38
TWO: 'two',
39
FEW: 'few',
40
MANY: 'many',
41
OTHER: 'other'
42
};
43
44
45
/**
46
* Default Plural select rule.
47
* @param {number} n The count of items.
48
* @param {number=} opt_precision optional, precision.
49
* @return {goog.i18n.pluralRules.Keyword} Default value.
50
* @private
51
*/
52
goog.i18n.pluralRules.defaultSelect_ = function(n, opt_precision) {
53
return goog.i18n.pluralRules.Keyword.OTHER;
54
};
55
56
/**
57
* Returns the fractional part of a number (3.1416 => 1416)
58
* @param {number} n The count of items.
59
* @return {number} The fractional part.
60
* @private
61
*/
62
goog.i18n.pluralRules.decimals_ = function(n) {
63
var str = n + '';
64
var result = str.indexOf('.');
65
return (result == -1) ? 0 : str.length - result - 1;
66
};
67
68
/**
69
* Calculates v and f as per CLDR plural rules.
70
* The short names for parameters / return match the CLDR syntax and UTS #35
71
* (http://unicode.org/reports/tr35/tr35-numbers.html#Plural_rules_syntax)
72
* @param {number} n The count of items.
73
* @param {number=} opt_precision optional, precision.
74
* @return {!{v:number, f:number}} The v and f.
75
* @private
76
*/
77
goog.i18n.pluralRules.get_vf_ = function(n, opt_precision) {
78
var DEFAULT_DIGITS = 3;
79
80
if (undefined === opt_precision) {
81
var v = Math.min(goog.i18n.pluralRules.decimals_(n), DEFAULT_DIGITS);
82
} else {
83
var v = opt_precision;
84
}
85
86
var base = Math.pow(10, v);
87
var f = ((n * base) | 0) % base;
88
89
return {v: v, f: f};
90
};
91
92
/**
93
* Calculates w and t as per CLDR plural rules.
94
* The short names for parameters / return match the CLDR syntax and UTS #35
95
* (http://unicode.org/reports/tr35/tr35-numbers.html#Plural_rules_syntax)
96
* @param {number} v Calculated previously.
97
* @param {number} f Calculated previously.
98
* @return {!{w:number, t:number}} The w and t.
99
* @private
100
*/
101
goog.i18n.pluralRules.get_wt_ = function(v, f) {
102
if (f === 0) {
103
return {w: 0, t: 0};
104
}
105
106
while ((f % 10) === 0) {
107
f /= 10;
108
v--;
109
}
110
111
return {w: v, t: f};
112
};
113
114
/**
115
* Plural select rules for fil locale
116
*
117
* @param {number} n The count of items.
118
* @param {number=} opt_precision Precision for number formatting, if not default.
119
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
120
* @private
121
*/
122
goog.i18n.pluralRules.filSelect_ = function(n, opt_precision) {
123
var i = n | 0;
124
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
125
if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) {
126
return goog.i18n.pluralRules.Keyword.ONE;
127
}
128
return goog.i18n.pluralRules.Keyword.OTHER;
129
};
130
131
/**
132
* Plural select rules for br locale
133
*
134
* @param {number} n The count of items.
135
* @param {number=} opt_precision Precision for number formatting, if not default.
136
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
137
* @private
138
*/
139
goog.i18n.pluralRules.brSelect_ = function(n, opt_precision) {
140
if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) {
141
return goog.i18n.pluralRules.Keyword.ONE;
142
}
143
if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) {
144
return goog.i18n.pluralRules.Keyword.TWO;
145
}
146
if ((n % 10 >= 3 && n % 10 <= 4 || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) {
147
return goog.i18n.pluralRules.Keyword.FEW;
148
}
149
if (n != 0 && n % 1000000 == 0) {
150
return goog.i18n.pluralRules.Keyword.MANY;
151
}
152
return goog.i18n.pluralRules.Keyword.OTHER;
153
};
154
155
/**
156
* Plural select rules for sr locale
157
*
158
* @param {number} n The count of items.
159
* @param {number=} opt_precision Precision for number formatting, if not default.
160
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
161
* @private
162
*/
163
goog.i18n.pluralRules.srSelect_ = function(n, opt_precision) {
164
var i = n | 0;
165
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
166
if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {
167
return goog.i18n.pluralRules.Keyword.ONE;
168
}
169
if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) {
170
return goog.i18n.pluralRules.Keyword.FEW;
171
}
172
return goog.i18n.pluralRules.Keyword.OTHER;
173
};
174
175
/**
176
* Plural select rules for ro locale
177
*
178
* @param {number} n The count of items.
179
* @param {number=} opt_precision Precision for number formatting, if not default.
180
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
181
* @private
182
*/
183
goog.i18n.pluralRules.roSelect_ = function(n, opt_precision) {
184
var i = n | 0;
185
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
186
if (i == 1 && vf.v == 0) {
187
return goog.i18n.pluralRules.Keyword.ONE;
188
}
189
if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) {
190
return goog.i18n.pluralRules.Keyword.FEW;
191
}
192
return goog.i18n.pluralRules.Keyword.OTHER;
193
};
194
195
/**
196
* Plural select rules for hi locale
197
*
198
* @param {number} n The count of items.
199
* @param {number=} opt_precision Precision for number formatting, if not default.
200
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
201
* @private
202
*/
203
goog.i18n.pluralRules.hiSelect_ = function(n, opt_precision) {
204
var i = n | 0;
205
if (i == 0 || n == 1) {
206
return goog.i18n.pluralRules.Keyword.ONE;
207
}
208
return goog.i18n.pluralRules.Keyword.OTHER;
209
};
210
211
/**
212
* Plural select rules for fr locale
213
*
214
* @param {number} n The count of items.
215
* @param {number=} opt_precision Precision for number formatting, if not default.
216
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
217
* @private
218
*/
219
goog.i18n.pluralRules.frSelect_ = function(n, opt_precision) {
220
var i = n | 0;
221
if (i == 0 || i == 1) {
222
return goog.i18n.pluralRules.Keyword.ONE;
223
}
224
return goog.i18n.pluralRules.Keyword.OTHER;
225
};
226
227
/**
228
* Plural select rules for pt locale
229
*
230
* @param {number} n The count of items.
231
* @param {number=} opt_precision Precision for number formatting, if not default.
232
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
233
* @private
234
*/
235
goog.i18n.pluralRules.ptSelect_ = function(n, opt_precision) {
236
var i = n | 0;
237
if (i >= 0 && i <= 1) {
238
return goog.i18n.pluralRules.Keyword.ONE;
239
}
240
return goog.i18n.pluralRules.Keyword.OTHER;
241
};
242
243
/**
244
* Plural select rules for cs locale
245
*
246
* @param {number} n The count of items.
247
* @param {number=} opt_precision Precision for number formatting, if not default.
248
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
249
* @private
250
*/
251
goog.i18n.pluralRules.csSelect_ = function(n, opt_precision) {
252
var i = n | 0;
253
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
254
if (i == 1 && vf.v == 0) {
255
return goog.i18n.pluralRules.Keyword.ONE;
256
}
257
if (i >= 2 && i <= 4 && vf.v == 0) {
258
return goog.i18n.pluralRules.Keyword.FEW;
259
}
260
if (vf.v != 0) {
261
return goog.i18n.pluralRules.Keyword.MANY;
262
}
263
return goog.i18n.pluralRules.Keyword.OTHER;
264
};
265
266
/**
267
* Plural select rules for pl locale
268
*
269
* @param {number} n The count of items.
270
* @param {number=} opt_precision Precision for number formatting, if not default.
271
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
272
* @private
273
*/
274
goog.i18n.pluralRules.plSelect_ = function(n, opt_precision) {
275
var i = n | 0;
276
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
277
if (i == 1 && vf.v == 0) {
278
return goog.i18n.pluralRules.Keyword.ONE;
279
}
280
if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {
281
return goog.i18n.pluralRules.Keyword.FEW;
282
}
283
if (vf.v == 0 && i != 1 && i % 10 >= 0 && i % 10 <= 1 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 12 && i % 100 <= 14) {
284
return goog.i18n.pluralRules.Keyword.MANY;
285
}
286
return goog.i18n.pluralRules.Keyword.OTHER;
287
};
288
289
/**
290
* Plural select rules for shi locale
291
*
292
* @param {number} n The count of items.
293
* @param {number=} opt_precision Precision for number formatting, if not default.
294
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
295
* @private
296
*/
297
goog.i18n.pluralRules.shiSelect_ = function(n, opt_precision) {
298
var i = n | 0;
299
if (i == 0 || n == 1) {
300
return goog.i18n.pluralRules.Keyword.ONE;
301
}
302
if (n >= 2 && n <= 10) {
303
return goog.i18n.pluralRules.Keyword.FEW;
304
}
305
return goog.i18n.pluralRules.Keyword.OTHER;
306
};
307
308
/**
309
* Plural select rules for lv locale
310
*
311
* @param {number} n The count of items.
312
* @param {number=} opt_precision Precision for number formatting, if not default.
313
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
314
* @private
315
*/
316
goog.i18n.pluralRules.lvSelect_ = function(n, opt_precision) {
317
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
318
if (n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 || vf.v == 2 && vf.f % 100 >= 11 && vf.f % 100 <= 19) {
319
return goog.i18n.pluralRules.Keyword.ZERO;
320
}
321
if (n % 10 == 1 && n % 100 != 11 || vf.v == 2 && vf.f % 10 == 1 && vf.f % 100 != 11 || vf.v != 2 && vf.f % 10 == 1) {
322
return goog.i18n.pluralRules.Keyword.ONE;
323
}
324
return goog.i18n.pluralRules.Keyword.OTHER;
325
};
326
327
/**
328
* Plural select rules for iu locale
329
*
330
* @param {number} n The count of items.
331
* @param {number=} opt_precision Precision for number formatting, if not default.
332
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
333
* @private
334
*/
335
goog.i18n.pluralRules.iuSelect_ = function(n, opt_precision) {
336
if (n == 1) {
337
return goog.i18n.pluralRules.Keyword.ONE;
338
}
339
if (n == 2) {
340
return goog.i18n.pluralRules.Keyword.TWO;
341
}
342
return goog.i18n.pluralRules.Keyword.OTHER;
343
};
344
345
/**
346
* Plural select rules for he locale
347
*
348
* @param {number} n The count of items.
349
* @param {number=} opt_precision Precision for number formatting, if not default.
350
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
351
* @private
352
*/
353
goog.i18n.pluralRules.heSelect_ = function(n, opt_precision) {
354
var i = n | 0;
355
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
356
if (i == 1 && vf.v == 0) {
357
return goog.i18n.pluralRules.Keyword.ONE;
358
}
359
if (i == 2 && vf.v == 0) {
360
return goog.i18n.pluralRules.Keyword.TWO;
361
}
362
if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) {
363
return goog.i18n.pluralRules.Keyword.MANY;
364
}
365
return goog.i18n.pluralRules.Keyword.OTHER;
366
};
367
368
/**
369
* Plural select rules for mt locale
370
*
371
* @param {number} n The count of items.
372
* @param {number=} opt_precision Precision for number formatting, if not default.
373
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
374
* @private
375
*/
376
goog.i18n.pluralRules.mtSelect_ = function(n, opt_precision) {
377
if (n == 1) {
378
return goog.i18n.pluralRules.Keyword.ONE;
379
}
380
if (n == 0 || n % 100 >= 2 && n % 100 <= 10) {
381
return goog.i18n.pluralRules.Keyword.FEW;
382
}
383
if (n % 100 >= 11 && n % 100 <= 19) {
384
return goog.i18n.pluralRules.Keyword.MANY;
385
}
386
return goog.i18n.pluralRules.Keyword.OTHER;
387
};
388
389
/**
390
* Plural select rules for si locale
391
*
392
* @param {number} n The count of items.
393
* @param {number=} opt_precision Precision for number formatting, if not default.
394
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
395
* @private
396
*/
397
goog.i18n.pluralRules.siSelect_ = function(n, opt_precision) {
398
var i = n | 0;
399
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
400
if ((n == 0 || n == 1) || i == 0 && vf.f == 1) {
401
return goog.i18n.pluralRules.Keyword.ONE;
402
}
403
return goog.i18n.pluralRules.Keyword.OTHER;
404
};
405
406
/**
407
* Plural select rules for cy locale
408
*
409
* @param {number} n The count of items.
410
* @param {number=} opt_precision Precision for number formatting, if not default.
411
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
412
* @private
413
*/
414
goog.i18n.pluralRules.cySelect_ = function(n, opt_precision) {
415
if (n == 0) {
416
return goog.i18n.pluralRules.Keyword.ZERO;
417
}
418
if (n == 1) {
419
return goog.i18n.pluralRules.Keyword.ONE;
420
}
421
if (n == 2) {
422
return goog.i18n.pluralRules.Keyword.TWO;
423
}
424
if (n == 3) {
425
return goog.i18n.pluralRules.Keyword.FEW;
426
}
427
if (n == 6) {
428
return goog.i18n.pluralRules.Keyword.MANY;
429
}
430
return goog.i18n.pluralRules.Keyword.OTHER;
431
};
432
433
/**
434
* Plural select rules for da locale
435
*
436
* @param {number} n The count of items.
437
* @param {number=} opt_precision Precision for number formatting, if not default.
438
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
439
* @private
440
*/
441
goog.i18n.pluralRules.daSelect_ = function(n, opt_precision) {
442
var i = n | 0;
443
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
444
var wt = goog.i18n.pluralRules.get_wt_(vf.v, vf.f);
445
if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) {
446
return goog.i18n.pluralRules.Keyword.ONE;
447
}
448
return goog.i18n.pluralRules.Keyword.OTHER;
449
};
450
451
/**
452
* Plural select rules for ru locale
453
*
454
* @param {number} n The count of items.
455
* @param {number=} opt_precision Precision for number formatting, if not default.
456
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
457
* @private
458
*/
459
goog.i18n.pluralRules.ruSelect_ = function(n, opt_precision) {
460
var i = n | 0;
461
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
462
if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {
463
return goog.i18n.pluralRules.Keyword.ONE;
464
}
465
if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {
466
return goog.i18n.pluralRules.Keyword.FEW;
467
}
468
if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) {
469
return goog.i18n.pluralRules.Keyword.MANY;
470
}
471
return goog.i18n.pluralRules.Keyword.OTHER;
472
};
473
474
/**
475
* Plural select rules for gv locale
476
*
477
* @param {number} n The count of items.
478
* @param {number=} opt_precision Precision for number formatting, if not default.
479
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
480
* @private
481
*/
482
goog.i18n.pluralRules.gvSelect_ = function(n, opt_precision) {
483
var i = n | 0;
484
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
485
if (vf.v == 0 && i % 10 == 1) {
486
return goog.i18n.pluralRules.Keyword.ONE;
487
}
488
if (vf.v == 0 && i % 10 == 2) {
489
return goog.i18n.pluralRules.Keyword.TWO;
490
}
491
if (vf.v == 0 && (i % 100 == 0 || i % 100 == 20 || i % 100 == 40 || i % 100 == 60 || i % 100 == 80)) {
492
return goog.i18n.pluralRules.Keyword.FEW;
493
}
494
if (vf.v != 0) {
495
return goog.i18n.pluralRules.Keyword.MANY;
496
}
497
return goog.i18n.pluralRules.Keyword.OTHER;
498
};
499
500
/**
501
* Plural select rules for be locale
502
*
503
* @param {number} n The count of items.
504
* @param {number=} opt_precision Precision for number formatting, if not default.
505
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
506
* @private
507
*/
508
goog.i18n.pluralRules.beSelect_ = function(n, opt_precision) {
509
if (n % 10 == 1 && n % 100 != 11) {
510
return goog.i18n.pluralRules.Keyword.ONE;
511
}
512
if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) {
513
return goog.i18n.pluralRules.Keyword.FEW;
514
}
515
if (n % 10 == 0 || n % 10 >= 5 && n % 10 <= 9 || n % 100 >= 11 && n % 100 <= 14) {
516
return goog.i18n.pluralRules.Keyword.MANY;
517
}
518
return goog.i18n.pluralRules.Keyword.OTHER;
519
};
520
521
/**
522
* Plural select rules for mk locale
523
*
524
* @param {number} n The count of items.
525
* @param {number=} opt_precision Precision for number formatting, if not default.
526
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
527
* @private
528
*/
529
goog.i18n.pluralRules.mkSelect_ = function(n, opt_precision) {
530
var i = n | 0;
531
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
532
if (vf.v == 0 && i % 10 == 1 || vf.f % 10 == 1) {
533
return goog.i18n.pluralRules.Keyword.ONE;
534
}
535
return goog.i18n.pluralRules.Keyword.OTHER;
536
};
537
538
/**
539
* Plural select rules for ga locale
540
*
541
* @param {number} n The count of items.
542
* @param {number=} opt_precision Precision for number formatting, if not default.
543
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
544
* @private
545
*/
546
goog.i18n.pluralRules.gaSelect_ = function(n, opt_precision) {
547
if (n == 1) {
548
return goog.i18n.pluralRules.Keyword.ONE;
549
}
550
if (n == 2) {
551
return goog.i18n.pluralRules.Keyword.TWO;
552
}
553
if (n >= 3 && n <= 6) {
554
return goog.i18n.pluralRules.Keyword.FEW;
555
}
556
if (n >= 7 && n <= 10) {
557
return goog.i18n.pluralRules.Keyword.MANY;
558
}
559
return goog.i18n.pluralRules.Keyword.OTHER;
560
};
561
562
/**
563
* Plural select rules for es locale
564
*
565
* @param {number} n The count of items.
566
* @param {number=} opt_precision Precision for number formatting, if not default.
567
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
568
* @private
569
*/
570
goog.i18n.pluralRules.esSelect_ = function(n, opt_precision) {
571
if (n == 1) {
572
return goog.i18n.pluralRules.Keyword.ONE;
573
}
574
return goog.i18n.pluralRules.Keyword.OTHER;
575
};
576
577
/**
578
* Plural select rules for dsb locale
579
*
580
* @param {number} n The count of items.
581
* @param {number=} opt_precision Precision for number formatting, if not default.
582
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
583
* @private
584
*/
585
goog.i18n.pluralRules.dsbSelect_ = function(n, opt_precision) {
586
var i = n | 0;
587
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
588
if (vf.v == 0 && i % 100 == 1 || vf.f % 100 == 1) {
589
return goog.i18n.pluralRules.Keyword.ONE;
590
}
591
if (vf.v == 0 && i % 100 == 2 || vf.f % 100 == 2) {
592
return goog.i18n.pluralRules.Keyword.TWO;
593
}
594
if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.f % 100 >= 3 && vf.f % 100 <= 4) {
595
return goog.i18n.pluralRules.Keyword.FEW;
596
}
597
return goog.i18n.pluralRules.Keyword.OTHER;
598
};
599
600
/**
601
* Plural select rules for lag locale
602
*
603
* @param {number} n The count of items.
604
* @param {number=} opt_precision Precision for number formatting, if not default.
605
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
606
* @private
607
*/
608
goog.i18n.pluralRules.lagSelect_ = function(n, opt_precision) {
609
var i = n | 0;
610
if (n == 0) {
611
return goog.i18n.pluralRules.Keyword.ZERO;
612
}
613
if ((i == 0 || i == 1) && n != 0) {
614
return goog.i18n.pluralRules.Keyword.ONE;
615
}
616
return goog.i18n.pluralRules.Keyword.OTHER;
617
};
618
619
/**
620
* Plural select rules for is locale
621
*
622
* @param {number} n The count of items.
623
* @param {number=} opt_precision Precision for number formatting, if not default.
624
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
625
* @private
626
*/
627
goog.i18n.pluralRules.isSelect_ = function(n, opt_precision) {
628
var i = n | 0;
629
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
630
var wt = goog.i18n.pluralRules.get_wt_(vf.v, vf.f);
631
if (wt.t == 0 && i % 10 == 1 && i % 100 != 11 || wt.t != 0) {
632
return goog.i18n.pluralRules.Keyword.ONE;
633
}
634
return goog.i18n.pluralRules.Keyword.OTHER;
635
};
636
637
/**
638
* Plural select rules for ksh locale
639
*
640
* @param {number} n The count of items.
641
* @param {number=} opt_precision Precision for number formatting, if not default.
642
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
643
* @private
644
*/
645
goog.i18n.pluralRules.kshSelect_ = function(n, opt_precision) {
646
if (n == 0) {
647
return goog.i18n.pluralRules.Keyword.ZERO;
648
}
649
if (n == 1) {
650
return goog.i18n.pluralRules.Keyword.ONE;
651
}
652
return goog.i18n.pluralRules.Keyword.OTHER;
653
};
654
655
/**
656
* Plural select rules for ar locale
657
*
658
* @param {number} n The count of items.
659
* @param {number=} opt_precision Precision for number formatting, if not default.
660
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
661
* @private
662
*/
663
goog.i18n.pluralRules.arSelect_ = function(n, opt_precision) {
664
if (n == 0) {
665
return goog.i18n.pluralRules.Keyword.ZERO;
666
}
667
if (n == 1) {
668
return goog.i18n.pluralRules.Keyword.ONE;
669
}
670
if (n == 2) {
671
return goog.i18n.pluralRules.Keyword.TWO;
672
}
673
if (n % 100 >= 3 && n % 100 <= 10) {
674
return goog.i18n.pluralRules.Keyword.FEW;
675
}
676
if (n % 100 >= 11 && n % 100 <= 99) {
677
return goog.i18n.pluralRules.Keyword.MANY;
678
}
679
return goog.i18n.pluralRules.Keyword.OTHER;
680
};
681
682
/**
683
* Plural select rules for gd locale
684
*
685
* @param {number} n The count of items.
686
* @param {number=} opt_precision Precision for number formatting, if not default.
687
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
688
* @private
689
*/
690
goog.i18n.pluralRules.gdSelect_ = function(n, opt_precision) {
691
if (n == 1 || n == 11) {
692
return goog.i18n.pluralRules.Keyword.ONE;
693
}
694
if (n == 2 || n == 12) {
695
return goog.i18n.pluralRules.Keyword.TWO;
696
}
697
if (n >= 3 && n <= 10 || n >= 13 && n <= 19) {
698
return goog.i18n.pluralRules.Keyword.FEW;
699
}
700
return goog.i18n.pluralRules.Keyword.OTHER;
701
};
702
703
/**
704
* Plural select rules for sl locale
705
*
706
* @param {number} n The count of items.
707
* @param {number=} opt_precision Precision for number formatting, if not default.
708
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
709
* @private
710
*/
711
goog.i18n.pluralRules.slSelect_ = function(n, opt_precision) {
712
var i = n | 0;
713
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
714
if (vf.v == 0 && i % 100 == 1) {
715
return goog.i18n.pluralRules.Keyword.ONE;
716
}
717
if (vf.v == 0 && i % 100 == 2) {
718
return goog.i18n.pluralRules.Keyword.TWO;
719
}
720
if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.v != 0) {
721
return goog.i18n.pluralRules.Keyword.FEW;
722
}
723
return goog.i18n.pluralRules.Keyword.OTHER;
724
};
725
726
/**
727
* Plural select rules for lt locale
728
*
729
* @param {number} n The count of items.
730
* @param {number=} opt_precision Precision for number formatting, if not default.
731
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
732
* @private
733
*/
734
goog.i18n.pluralRules.ltSelect_ = function(n, opt_precision) {
735
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
736
if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) {
737
return goog.i18n.pluralRules.Keyword.ONE;
738
}
739
if (n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) {
740
return goog.i18n.pluralRules.Keyword.FEW;
741
}
742
if (vf.f != 0) {
743
return goog.i18n.pluralRules.Keyword.MANY;
744
}
745
return goog.i18n.pluralRules.Keyword.OTHER;
746
};
747
748
/**
749
* Plural select rules for tzm locale
750
*
751
* @param {number} n The count of items.
752
* @param {number=} opt_precision Precision for number formatting, if not default.
753
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
754
* @private
755
*/
756
goog.i18n.pluralRules.tzmSelect_ = function(n, opt_precision) {
757
if (n >= 0 && n <= 1 || n >= 11 && n <= 99) {
758
return goog.i18n.pluralRules.Keyword.ONE;
759
}
760
return goog.i18n.pluralRules.Keyword.OTHER;
761
};
762
763
/**
764
* Plural select rules for en locale
765
*
766
* @param {number} n The count of items.
767
* @param {number=} opt_precision Precision for number formatting, if not default.
768
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
769
* @private
770
*/
771
goog.i18n.pluralRules.enSelect_ = function(n, opt_precision) {
772
var i = n | 0;
773
var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
774
if (i == 1 && vf.v == 0) {
775
return goog.i18n.pluralRules.Keyword.ONE;
776
}
777
return goog.i18n.pluralRules.Keyword.OTHER;
778
};
779
780
/**
781
* Plural select rules for ak locale
782
*
783
* @param {number} n The count of items.
784
* @param {number=} opt_precision Precision for number formatting, if not default.
785
* @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
786
* @private
787
*/
788
goog.i18n.pluralRules.akSelect_ = function(n, opt_precision) {
789
if (n >= 0 && n <= 1) {
790
return goog.i18n.pluralRules.Keyword.ONE;
791
}
792
return goog.i18n.pluralRules.Keyword.OTHER;
793
};
794
795
/**
796
* Selected Plural rules by locale.
797
*/
798
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
799
if (goog.LOCALE == 'af') {
800
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
801
}
802
if (goog.LOCALE == 'am') {
803
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
804
}
805
if (goog.LOCALE == 'ar') {
806
goog.i18n.pluralRules.select = goog.i18n.pluralRules.arSelect_;
807
}
808
if (goog.LOCALE == 'ar_DZ' || goog.LOCALE == 'ar-DZ') {
809
goog.i18n.pluralRules.select = goog.i18n.pluralRules.arSelect_;
810
}
811
if (goog.LOCALE == 'az') {
812
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
813
}
814
if (goog.LOCALE == 'be') {
815
goog.i18n.pluralRules.select = goog.i18n.pluralRules.beSelect_;
816
}
817
if (goog.LOCALE == 'bg') {
818
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
819
}
820
if (goog.LOCALE == 'bn') {
821
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
822
}
823
if (goog.LOCALE == 'br') {
824
goog.i18n.pluralRules.select = goog.i18n.pluralRules.brSelect_;
825
}
826
if (goog.LOCALE == 'bs') {
827
goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
828
}
829
if (goog.LOCALE == 'ca') {
830
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
831
}
832
if (goog.LOCALE == 'chr') {
833
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
834
}
835
if (goog.LOCALE == 'cs') {
836
goog.i18n.pluralRules.select = goog.i18n.pluralRules.csSelect_;
837
}
838
if (goog.LOCALE == 'cy') {
839
goog.i18n.pluralRules.select = goog.i18n.pluralRules.cySelect_;
840
}
841
if (goog.LOCALE == 'da') {
842
goog.i18n.pluralRules.select = goog.i18n.pluralRules.daSelect_;
843
}
844
if (goog.LOCALE == 'de') {
845
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
846
}
847
if (goog.LOCALE == 'de_AT' || goog.LOCALE == 'de-AT') {
848
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
849
}
850
if (goog.LOCALE == 'de_CH' || goog.LOCALE == 'de-CH') {
851
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
852
}
853
if (goog.LOCALE == 'el') {
854
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
855
}
856
if (goog.LOCALE == 'en') {
857
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
858
}
859
if (goog.LOCALE == 'en_AU' || goog.LOCALE == 'en-AU') {
860
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
861
}
862
if (goog.LOCALE == 'en_CA' || goog.LOCALE == 'en-CA') {
863
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
864
}
865
if (goog.LOCALE == 'en_GB' || goog.LOCALE == 'en-GB') {
866
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
867
}
868
if (goog.LOCALE == 'en_IE' || goog.LOCALE == 'en-IE') {
869
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
870
}
871
if (goog.LOCALE == 'en_IN' || goog.LOCALE == 'en-IN') {
872
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
873
}
874
if (goog.LOCALE == 'en_SG' || goog.LOCALE == 'en-SG') {
875
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
876
}
877
if (goog.LOCALE == 'en_US' || goog.LOCALE == 'en-US') {
878
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
879
}
880
if (goog.LOCALE == 'en_ZA' || goog.LOCALE == 'en-ZA') {
881
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
882
}
883
if (goog.LOCALE == 'es') {
884
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
885
}
886
if (goog.LOCALE == 'es_419' || goog.LOCALE == 'es-419') {
887
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
888
}
889
if (goog.LOCALE == 'es_ES' || goog.LOCALE == 'es-ES') {
890
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
891
}
892
if (goog.LOCALE == 'es_MX' || goog.LOCALE == 'es-MX') {
893
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
894
}
895
if (goog.LOCALE == 'es_US' || goog.LOCALE == 'es-US') {
896
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
897
}
898
if (goog.LOCALE == 'et') {
899
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
900
}
901
if (goog.LOCALE == 'eu') {
902
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
903
}
904
if (goog.LOCALE == 'fa') {
905
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
906
}
907
if (goog.LOCALE == 'fi') {
908
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
909
}
910
if (goog.LOCALE == 'fil') {
911
goog.i18n.pluralRules.select = goog.i18n.pluralRules.filSelect_;
912
}
913
if (goog.LOCALE == 'fr') {
914
goog.i18n.pluralRules.select = goog.i18n.pluralRules.frSelect_;
915
}
916
if (goog.LOCALE == 'fr_CA' || goog.LOCALE == 'fr-CA') {
917
goog.i18n.pluralRules.select = goog.i18n.pluralRules.frSelect_;
918
}
919
if (goog.LOCALE == 'ga') {
920
goog.i18n.pluralRules.select = goog.i18n.pluralRules.gaSelect_;
921
}
922
if (goog.LOCALE == 'gl') {
923
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
924
}
925
if (goog.LOCALE == 'gsw') {
926
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
927
}
928
if (goog.LOCALE == 'gu') {
929
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
930
}
931
if (goog.LOCALE == 'haw') {
932
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
933
}
934
if (goog.LOCALE == 'he') {
935
goog.i18n.pluralRules.select = goog.i18n.pluralRules.heSelect_;
936
}
937
if (goog.LOCALE == 'hi') {
938
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
939
}
940
if (goog.LOCALE == 'hr') {
941
goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
942
}
943
if (goog.LOCALE == 'hu') {
944
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
945
}
946
if (goog.LOCALE == 'hy') {
947
goog.i18n.pluralRules.select = goog.i18n.pluralRules.frSelect_;
948
}
949
if (goog.LOCALE == 'id') {
950
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
951
}
952
if (goog.LOCALE == 'in') {
953
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
954
}
955
if (goog.LOCALE == 'is') {
956
goog.i18n.pluralRules.select = goog.i18n.pluralRules.isSelect_;
957
}
958
if (goog.LOCALE == 'it') {
959
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
960
}
961
if (goog.LOCALE == 'iw') {
962
goog.i18n.pluralRules.select = goog.i18n.pluralRules.heSelect_;
963
}
964
if (goog.LOCALE == 'ja') {
965
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
966
}
967
if (goog.LOCALE == 'ka') {
968
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
969
}
970
if (goog.LOCALE == 'kk') {
971
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
972
}
973
if (goog.LOCALE == 'km') {
974
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
975
}
976
if (goog.LOCALE == 'kn') {
977
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
978
}
979
if (goog.LOCALE == 'ko') {
980
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
981
}
982
if (goog.LOCALE == 'ky') {
983
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
984
}
985
if (goog.LOCALE == 'ln') {
986
goog.i18n.pluralRules.select = goog.i18n.pluralRules.akSelect_;
987
}
988
if (goog.LOCALE == 'lo') {
989
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
990
}
991
if (goog.LOCALE == 'lt') {
992
goog.i18n.pluralRules.select = goog.i18n.pluralRules.ltSelect_;
993
}
994
if (goog.LOCALE == 'lv') {
995
goog.i18n.pluralRules.select = goog.i18n.pluralRules.lvSelect_;
996
}
997
if (goog.LOCALE == 'mk') {
998
goog.i18n.pluralRules.select = goog.i18n.pluralRules.mkSelect_;
999
}
1000
if (goog.LOCALE == 'ml') {
1001
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1002
}
1003
if (goog.LOCALE == 'mn') {
1004
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1005
}
1006
if (goog.LOCALE == 'mo') {
1007
goog.i18n.pluralRules.select = goog.i18n.pluralRules.roSelect_;
1008
}
1009
if (goog.LOCALE == 'mr') {
1010
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
1011
}
1012
if (goog.LOCALE == 'ms') {
1013
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1014
}
1015
if (goog.LOCALE == 'mt') {
1016
goog.i18n.pluralRules.select = goog.i18n.pluralRules.mtSelect_;
1017
}
1018
if (goog.LOCALE == 'my') {
1019
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1020
}
1021
if (goog.LOCALE == 'nb') {
1022
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1023
}
1024
if (goog.LOCALE == 'ne') {
1025
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1026
}
1027
if (goog.LOCALE == 'nl') {
1028
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
1029
}
1030
if (goog.LOCALE == 'no') {
1031
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1032
}
1033
if (goog.LOCALE == 'no_NO' || goog.LOCALE == 'no-NO') {
1034
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1035
}
1036
if (goog.LOCALE == 'or') {
1037
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1038
}
1039
if (goog.LOCALE == 'pa') {
1040
goog.i18n.pluralRules.select = goog.i18n.pluralRules.akSelect_;
1041
}
1042
if (goog.LOCALE == 'pl') {
1043
goog.i18n.pluralRules.select = goog.i18n.pluralRules.plSelect_;
1044
}
1045
if (goog.LOCALE == 'pt') {
1046
goog.i18n.pluralRules.select = goog.i18n.pluralRules.ptSelect_;
1047
}
1048
if (goog.LOCALE == 'pt_BR' || goog.LOCALE == 'pt-BR') {
1049
goog.i18n.pluralRules.select = goog.i18n.pluralRules.ptSelect_;
1050
}
1051
if (goog.LOCALE == 'pt_PT' || goog.LOCALE == 'pt-PT') {
1052
goog.i18n.pluralRules.select = goog.i18n.pluralRules.ptSelect_;
1053
}
1054
if (goog.LOCALE == 'ro') {
1055
goog.i18n.pluralRules.select = goog.i18n.pluralRules.roSelect_;
1056
}
1057
if (goog.LOCALE == 'ru') {
1058
goog.i18n.pluralRules.select = goog.i18n.pluralRules.ruSelect_;
1059
}
1060
if (goog.LOCALE == 'sh') {
1061
goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
1062
}
1063
if (goog.LOCALE == 'si') {
1064
goog.i18n.pluralRules.select = goog.i18n.pluralRules.siSelect_;
1065
}
1066
if (goog.LOCALE == 'sk') {
1067
goog.i18n.pluralRules.select = goog.i18n.pluralRules.csSelect_;
1068
}
1069
if (goog.LOCALE == 'sl') {
1070
goog.i18n.pluralRules.select = goog.i18n.pluralRules.slSelect_;
1071
}
1072
if (goog.LOCALE == 'sq') {
1073
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1074
}
1075
if (goog.LOCALE == 'sr') {
1076
goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
1077
}
1078
if (goog.LOCALE == 'sr_Latn' || goog.LOCALE == 'sr-Latn') {
1079
goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
1080
}
1081
if (goog.LOCALE == 'sv') {
1082
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
1083
}
1084
if (goog.LOCALE == 'sw') {
1085
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
1086
}
1087
if (goog.LOCALE == 'ta') {
1088
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1089
}
1090
if (goog.LOCALE == 'te') {
1091
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1092
}
1093
if (goog.LOCALE == 'th') {
1094
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1095
}
1096
if (goog.LOCALE == 'tl') {
1097
goog.i18n.pluralRules.select = goog.i18n.pluralRules.filSelect_;
1098
}
1099
if (goog.LOCALE == 'tr') {
1100
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1101
}
1102
if (goog.LOCALE == 'uk') {
1103
goog.i18n.pluralRules.select = goog.i18n.pluralRules.ruSelect_;
1104
}
1105
if (goog.LOCALE == 'ur') {
1106
goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
1107
}
1108
if (goog.LOCALE == 'uz') {
1109
goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
1110
}
1111
if (goog.LOCALE == 'vi') {
1112
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1113
}
1114
if (goog.LOCALE == 'zh') {
1115
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1116
}
1117
if (goog.LOCALE == 'zh_CN' || goog.LOCALE == 'zh-CN') {
1118
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1119
}
1120
if (goog.LOCALE == 'zh_HK' || goog.LOCALE == 'zh-HK') {
1121
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1122
}
1123
if (goog.LOCALE == 'zh_TW' || goog.LOCALE == 'zh-TW') {
1124
goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
1125
}
1126
if (goog.LOCALE == 'zu') {
1127
goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
1128
}
1129
1130