123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128 |
- // Copyright 2012 The Closure Library Authors. All Rights Reserved.
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS-IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- /**
- * @fileoverview Plural rules.
- *
- * This file is autogenerated by script:
- * http://go/generate_pluralrules.py
- * File generated from CLDR ver. 31.0.1
- *
- * Before check in, this file could have been manually edited. This is to
- * incorporate changes before we could fix CLDR. All manual modification must be
- * documented in this section, and should be removed after those changes land to
- * CLDR.
- */
- // clang-format off
- goog.provide('goog.i18n.pluralRules');
- /**
- * Plural pattern keyword
- * @enum {string}
- */
- goog.i18n.pluralRules.Keyword = {
- ZERO: 'zero',
- ONE: 'one',
- TWO: 'two',
- FEW: 'few',
- MANY: 'many',
- OTHER: 'other'
- };
- /**
- * Default Plural select rule.
- * @param {number} n The count of items.
- * @param {number=} opt_precision optional, precision.
- * @return {goog.i18n.pluralRules.Keyword} Default value.
- * @private
- */
- goog.i18n.pluralRules.defaultSelect_ = function(n, opt_precision) {
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Returns the fractional part of a number (3.1416 => 1416)
- * @param {number} n The count of items.
- * @return {number} The fractional part.
- * @private
- */
- goog.i18n.pluralRules.decimals_ = function(n) {
- var str = n + '';
- var result = str.indexOf('.');
- return (result == -1) ? 0 : str.length - result - 1;
- };
- /**
- * Calculates v and f as per CLDR plural rules.
- * The short names for parameters / return match the CLDR syntax and UTS #35
- * (http://unicode.org/reports/tr35/tr35-numbers.html#Plural_rules_syntax)
- * @param {number} n The count of items.
- * @param {number=} opt_precision optional, precision.
- * @return {!{v:number, f:number}} The v and f.
- * @private
- */
- goog.i18n.pluralRules.get_vf_ = function(n, opt_precision) {
- var DEFAULT_DIGITS = 3;
- if (undefined === opt_precision) {
- var v = Math.min(goog.i18n.pluralRules.decimals_(n), DEFAULT_DIGITS);
- } else {
- var v = opt_precision;
- }
- var base = Math.pow(10, v);
- var f = ((n * base) | 0) % base;
- return {v: v, f: f};
- };
- /**
- * Calculates w and t as per CLDR plural rules.
- * The short names for parameters / return match the CLDR syntax and UTS #35
- * (http://unicode.org/reports/tr35/tr35-numbers.html#Plural_rules_syntax)
- * @param {number} v Calculated previously.
- * @param {number} f Calculated previously.
- * @return {!{w:number, t:number}} The w and t.
- * @private
- */
- goog.i18n.pluralRules.get_wt_ = function(v, f) {
- if (f === 0) {
- return {w: 0, t: 0};
- }
- while ((f % 10) === 0) {
- f /= 10;
- v--;
- }
- return {w: v, t: f};
- };
- /**
- * Plural select rules for fil locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.filSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- 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) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for br locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.brSelect_ = function(n, opt_precision) {
- if (n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- 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)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (n != 0 && n % 1000000 == 0) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for sr locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.srSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- 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)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for ro locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.roSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (i == 1 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for hi locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.hiSelect_ = function(n, opt_precision) {
- var i = n | 0;
- if (i == 0 || n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for fr locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.frSelect_ = function(n, opt_precision) {
- var i = n | 0;
- if (i == 0 || i == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for pt locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.ptSelect_ = function(n, opt_precision) {
- var i = n | 0;
- if (i >= 0 && i <= 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for cs locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.csSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (i == 1 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (i >= 2 && i <= 4 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (vf.v != 0) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for pl locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.plSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (i == 1 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- 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) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for shi locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.shiSelect_ = function(n, opt_precision) {
- var i = n | 0;
- if (i == 0 || n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n >= 2 && n <= 10) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for lv locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.lvSelect_ = function(n, opt_precision) {
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 || vf.v == 2 && vf.f % 100 >= 11 && vf.f % 100 <= 19) {
- return goog.i18n.pluralRules.Keyword.ZERO;
- }
- 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) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for iu locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.iuSelect_ = function(n, opt_precision) {
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for he locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.heSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (i == 1 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (i == 2 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for mt locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.mtSelect_ = function(n, opt_precision) {
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n == 0 || n % 100 >= 2 && n % 100 <= 10) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (n % 100 >= 11 && n % 100 <= 19) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for si locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.siSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if ((n == 0 || n == 1) || i == 0 && vf.f == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for cy locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.cySelect_ = function(n, opt_precision) {
- if (n == 0) {
- return goog.i18n.pluralRules.Keyword.ZERO;
- }
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (n == 3) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (n == 6) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for da locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.daSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- var wt = goog.i18n.pluralRules.get_wt_(vf.v, vf.f);
- if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for ru locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.ruSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- 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) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for gv locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.gvSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (vf.v == 0 && i % 10 == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (vf.v == 0 && i % 10 == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (vf.v == 0 && (i % 100 == 0 || i % 100 == 20 || i % 100 == 40 || i % 100 == 60 || i % 100 == 80)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (vf.v != 0) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for be locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.beSelect_ = function(n, opt_precision) {
- if (n % 10 == 1 && n % 100 != 11) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (n % 10 == 0 || n % 10 >= 5 && n % 10 <= 9 || n % 100 >= 11 && n % 100 <= 14) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for mk locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.mkSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (vf.v == 0 && i % 10 == 1 || vf.f % 10 == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for ga locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.gaSelect_ = function(n, opt_precision) {
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (n >= 3 && n <= 6) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (n >= 7 && n <= 10) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for es locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.esSelect_ = function(n, opt_precision) {
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for dsb locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.dsbSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (vf.v == 0 && i % 100 == 1 || vf.f % 100 == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (vf.v == 0 && i % 100 == 2 || vf.f % 100 == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.f % 100 >= 3 && vf.f % 100 <= 4) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for lag locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.lagSelect_ = function(n, opt_precision) {
- var i = n | 0;
- if (n == 0) {
- return goog.i18n.pluralRules.Keyword.ZERO;
- }
- if ((i == 0 || i == 1) && n != 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for is locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.isSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- var wt = goog.i18n.pluralRules.get_wt_(vf.v, vf.f);
- if (wt.t == 0 && i % 10 == 1 && i % 100 != 11 || wt.t != 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for ksh locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.kshSelect_ = function(n, opt_precision) {
- if (n == 0) {
- return goog.i18n.pluralRules.Keyword.ZERO;
- }
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for ar locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.arSelect_ = function(n, opt_precision) {
- if (n == 0) {
- return goog.i18n.pluralRules.Keyword.ZERO;
- }
- if (n == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (n % 100 >= 3 && n % 100 <= 10) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (n % 100 >= 11 && n % 100 <= 99) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for gd locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.gdSelect_ = function(n, opt_precision) {
- if (n == 1 || n == 11) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n == 2 || n == 12) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (n >= 3 && n <= 10 || n >= 13 && n <= 19) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for sl locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.slSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (vf.v == 0 && i % 100 == 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (vf.v == 0 && i % 100 == 2) {
- return goog.i18n.pluralRules.Keyword.TWO;
- }
- if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.v != 0) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for lt locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.ltSelect_ = function(n, opt_precision) {
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- if (n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) {
- return goog.i18n.pluralRules.Keyword.FEW;
- }
- if (vf.f != 0) {
- return goog.i18n.pluralRules.Keyword.MANY;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for tzm locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.tzmSelect_ = function(n, opt_precision) {
- if (n >= 0 && n <= 1 || n >= 11 && n <= 99) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for en locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.enSelect_ = function(n, opt_precision) {
- var i = n | 0;
- var vf = goog.i18n.pluralRules.get_vf_(n, opt_precision);
- if (i == 1 && vf.v == 0) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Plural select rules for ak locale
- *
- * @param {number} n The count of items.
- * @param {number=} opt_precision Precision for number formatting, if not default.
- * @return {goog.i18n.pluralRules.Keyword} Locale-specific plural value.
- * @private
- */
- goog.i18n.pluralRules.akSelect_ = function(n, opt_precision) {
- if (n >= 0 && n <= 1) {
- return goog.i18n.pluralRules.Keyword.ONE;
- }
- return goog.i18n.pluralRules.Keyword.OTHER;
- };
- /**
- * Selected Plural rules by locale.
- */
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- if (goog.LOCALE == 'af') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'am') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'ar') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.arSelect_;
- }
- if (goog.LOCALE == 'ar_DZ' || goog.LOCALE == 'ar-DZ') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.arSelect_;
- }
- if (goog.LOCALE == 'az') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'be') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.beSelect_;
- }
- if (goog.LOCALE == 'bg') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'bn') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'br') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.brSelect_;
- }
- if (goog.LOCALE == 'bs') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
- }
- if (goog.LOCALE == 'ca') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'chr') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'cs') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.csSelect_;
- }
- if (goog.LOCALE == 'cy') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.cySelect_;
- }
- if (goog.LOCALE == 'da') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.daSelect_;
- }
- if (goog.LOCALE == 'de') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'de_AT' || goog.LOCALE == 'de-AT') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'de_CH' || goog.LOCALE == 'de-CH') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'el') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'en') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_AU' || goog.LOCALE == 'en-AU') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_CA' || goog.LOCALE == 'en-CA') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_GB' || goog.LOCALE == 'en-GB') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_IE' || goog.LOCALE == 'en-IE') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_IN' || goog.LOCALE == 'en-IN') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_SG' || goog.LOCALE == 'en-SG') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_US' || goog.LOCALE == 'en-US') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'en_ZA' || goog.LOCALE == 'en-ZA') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'es') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'es_419' || goog.LOCALE == 'es-419') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'es_ES' || goog.LOCALE == 'es-ES') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'es_MX' || goog.LOCALE == 'es-MX') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'es_US' || goog.LOCALE == 'es-US') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'et') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'eu') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'fa') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'fi') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'fil') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.filSelect_;
- }
- if (goog.LOCALE == 'fr') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.frSelect_;
- }
- if (goog.LOCALE == 'fr_CA' || goog.LOCALE == 'fr-CA') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.frSelect_;
- }
- if (goog.LOCALE == 'ga') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.gaSelect_;
- }
- if (goog.LOCALE == 'gl') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'gsw') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'gu') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'haw') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'he') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.heSelect_;
- }
- if (goog.LOCALE == 'hi') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'hr') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
- }
- if (goog.LOCALE == 'hu') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'hy') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.frSelect_;
- }
- if (goog.LOCALE == 'id') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'in') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'is') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.isSelect_;
- }
- if (goog.LOCALE == 'it') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'iw') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.heSelect_;
- }
- if (goog.LOCALE == 'ja') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'ka') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'kk') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'km') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'kn') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'ko') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'ky') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'ln') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.akSelect_;
- }
- if (goog.LOCALE == 'lo') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'lt') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.ltSelect_;
- }
- if (goog.LOCALE == 'lv') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.lvSelect_;
- }
- if (goog.LOCALE == 'mk') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.mkSelect_;
- }
- if (goog.LOCALE == 'ml') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'mn') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'mo') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.roSelect_;
- }
- if (goog.LOCALE == 'mr') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
- if (goog.LOCALE == 'ms') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'mt') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.mtSelect_;
- }
- if (goog.LOCALE == 'my') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'nb') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'ne') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'nl') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'no') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'no_NO' || goog.LOCALE == 'no-NO') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'or') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'pa') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.akSelect_;
- }
- if (goog.LOCALE == 'pl') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.plSelect_;
- }
- if (goog.LOCALE == 'pt') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.ptSelect_;
- }
- if (goog.LOCALE == 'pt_BR' || goog.LOCALE == 'pt-BR') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.ptSelect_;
- }
- if (goog.LOCALE == 'pt_PT' || goog.LOCALE == 'pt-PT') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.ptSelect_;
- }
- if (goog.LOCALE == 'ro') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.roSelect_;
- }
- if (goog.LOCALE == 'ru') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.ruSelect_;
- }
- if (goog.LOCALE == 'sh') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
- }
- if (goog.LOCALE == 'si') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.siSelect_;
- }
- if (goog.LOCALE == 'sk') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.csSelect_;
- }
- if (goog.LOCALE == 'sl') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.slSelect_;
- }
- if (goog.LOCALE == 'sq') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'sr') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
- }
- if (goog.LOCALE == 'sr_Latn' || goog.LOCALE == 'sr-Latn') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.srSelect_;
- }
- if (goog.LOCALE == 'sv') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'sw') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'ta') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'te') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'th') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'tl') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.filSelect_;
- }
- if (goog.LOCALE == 'tr') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'uk') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.ruSelect_;
- }
- if (goog.LOCALE == 'ur') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.enSelect_;
- }
- if (goog.LOCALE == 'uz') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.esSelect_;
- }
- if (goog.LOCALE == 'vi') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'zh') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'zh_CN' || goog.LOCALE == 'zh-CN') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'zh_HK' || goog.LOCALE == 'zh-HK') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'zh_TW' || goog.LOCALE == 'zh-TW') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.defaultSelect_;
- }
- if (goog.LOCALE == 'zu') {
- goog.i18n.pluralRules.select = goog.i18n.pluralRules.hiSelect_;
- }
|