Skip to content

Commit

Permalink
fix(locale): update to latest angular locale
Browse files Browse the repository at this point in the history
This commit fixes the breaks introduced by uib-bootstrap depending on
the latest angular locales.  The locale's have been updated to have
STANDALONEMONTH in their properties.

This is a critical bug fix.
  • Loading branch information
Jonathan Niles authored and sfount committed Nov 27, 2016
1 parent 1877806 commit da0e77d
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"src"
],
"dependencies": {
"angular": "1.5.8",
"angular-animate": "1.5.8",
"angular-sanitize": "1.5.8",
"angular-messages": "1.5.8",
"angular": "1.5.9",
"angular-animate": "1.5.9",
"angular-sanitize": "1.5.9",
"angular-messages": "1.5.9",
"angular-bootstrap": "^2.0.0",
"angular-ui-router": "^0.2.18",
"angular-ui-grid": "^3.2.7",
Expand All @@ -38,9 +38,9 @@
"angular-ui-select": "^0.17.1"
},
"devDependencies": {
"angular-mocks": "^1.5.6"
"angular-mocks": "^1.5.9"
},
"resolutions": {
"angular": "1.5.8"
"angular": "1.5.9"
}
}
15 changes: 15 additions & 0 deletions client/src/i18n/locale/angular-locale_en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ $provide.value("$locale", {
"Nov",
"Dec"
],
"STANDALONEMONTH": [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"WEEKENDRANGE": [
5,
6
Expand Down Expand Up @@ -123,6 +137,7 @@ $provide.value("$locale", {
]
},
"id": "en-us",
"localeID": "en_US",
"pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
15 changes: 15 additions & 0 deletions client/src/i18n/locale/angular-locale_fr-be.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@ $provide.value("$locale", {
"nov.",
"d\u00e9c."
],
"STANDALONEMONTH": [
"janvier",
"f\u00e9vrier",
"mars",
"avril",
"mai",
"juin",
"juillet",
"ao\u00fbt",
"septembre",
"octobre",
"novembre",
"d\u00e9cembre"
],
"WEEKENDRANGE": [
5,
6
Expand Down Expand Up @@ -105,6 +119,7 @@ $provide.value("$locale", {
]
},
"id": "fr-be",
"localeID": "fr_BE",
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
15 changes: 15 additions & 0 deletions client/src/i18n/locale/angular-locale_fr-cd.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@ $provide.value("$locale", {
"nov.",
"d\u00e9c."
],
"STANDALONEMONTH": [
"janvier",
"f\u00e9vrier",
"mars",
"avril",
"mai",
"juin",
"juillet",
"ao\u00fbt",
"septembre",
"octobre",
"novembre",
"d\u00e9cembre"
],
"WEEKENDRANGE": [
5,
6
Expand Down Expand Up @@ -105,6 +119,7 @@ $provide.value("$locale", {
]
},
"id": "fr-cd",
"localeID": "fr_CD",
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
15 changes: 15 additions & 0 deletions client/src/i18n/locale/angular-locale_fr-fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@ $provide.value("$locale", {
"nov.",
"d\u00e9c."
],
"STANDALONEMONTH": [
"janvier",
"f\u00e9vrier",
"mars",
"avril",
"mai",
"juin",
"juillet",
"ao\u00fbt",
"septembre",
"octobre",
"novembre",
"d\u00e9cembre"
],
"WEEKENDRANGE": [
5,
6
Expand Down Expand Up @@ -105,6 +119,7 @@ $provide.value("$locale", {
]
},
"id": "fr-fr",
"localeID": "fr_FR",
"pluralCat": function(n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);
15 changes: 15 additions & 0 deletions client/src/i18n/locale/angular-locale_ln-cd.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@ $provide.value("$locale", {
"nvb",
"dsb"
],
"STANDALONEMONTH": [
"s\u00e1nz\u00e1 ya yambo",
"s\u00e1nz\u00e1 ya m\u00edbal\u00e9",
"s\u00e1nz\u00e1 ya m\u00eds\u00e1to",
"s\u00e1nz\u00e1 ya m\u00ednei",
"s\u00e1nz\u00e1 ya m\u00edt\u00e1no",
"s\u00e1nz\u00e1 ya mot\u00f3b\u00e1",
"s\u00e1nz\u00e1 ya nsambo",
"s\u00e1nz\u00e1 ya mwambe",
"s\u00e1nz\u00e1 ya libwa",
"s\u00e1nz\u00e1 ya z\u00f3mi",
"s\u00e1nz\u00e1 ya z\u00f3mi na m\u0254\u030ck\u0254\u0301",
"s\u00e1nz\u00e1 ya z\u00f3mi na m\u00edbal\u00e9"
],
"WEEKENDRANGE": [
5,
6
Expand Down Expand Up @@ -105,6 +119,7 @@ $provide.value("$locale", {
]
},
"id": "ln-cd",
"localeID": "ln_CD",
"pluralCat": function(n, opt_precision) { if (n >= 0 && n <= 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}
});
}]);

0 comments on commit da0e77d

Please sign in to comment.