Revert "fix(common): `locales/global/*.js` are not ES5 compliant (#36342)" (#37074)

This reverts commit 078b0be4dc.

The original commit was a work around for a bug in CLI. That bug was fixed in the CLI, as a result this change is no longer needed and is being reverted.

PR Close #37074
This commit is contained in:
Misko Hevery 2020-05-12 11:10:01 -07:00
parent 681741cd13
commit cb6ddfc215
543 changed files with 812 additions and 815 deletions

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['agq'] = [
'agq',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === Math.floor(n) && n >= 0 && n <= 1) return 1;
return 5;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n));
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return 1;
return 5;
}

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -14,7 +14,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n));
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return 1;
return 5;
}

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['az-cyrl'] = [
'az-Cyrl',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['bas'] = [
'bas',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n % 10 === 1 && !(n % 100 === 11)) return 1;
if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 &&

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['bm'] = [
'bm',

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n));
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n));
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return 1;
return 5;
}

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['bo-in'] = [
'bo-IN',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['bo'] = [
'bo',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91)) return 1;
if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92)) return 2;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['bs-cyrl'] = [
'bs-Cyrl',

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))
return 1;

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))
return 1;

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['ccp-in'] = [
'ccp-IN',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['ccp'] = [
'ccp',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['ceb'] = [
'ceb',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3;
if (!(v === 0)) return 4;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['cu'] = [
'cu',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 0) return 0;
if (n === 1) return 1;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)),
let i = Math.floor(Math.abs(n)),
t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0;
if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1;
return 5;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)),
let i = Math.floor(Math.abs(n)),
t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0;
if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['dav'] = [
'dav',

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['dje'] = [
'dje',

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
if (v === 0 && i % 100 === 1 || f % 100 === 1) return 1;
if (v === 0 && i % 100 === 2 || f % 100 === 2) return 2;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['dua'] = [
'dua',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['dyo'] = [
'dyo',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['dz'] = [
'dz',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) { return 5; }
global.ng.common.locales['ebu'] = [
'ebu',

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,7 +13,7 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
if (n === 1) return 1;
return 5;

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -14,9 +14,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

View File

@ -13,9 +13,9 @@
global.ng = global.ng || {};
global.ng.common = global.ng.common || {};
global.ng.common.locales = global.ng.common.locales || {};
var u = undefined;
const u = undefined;
function plural(n) {
var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return 1;
return 5;
}

Some files were not shown because too many files have changed in this diff Show More