2 angular.module("ngLocale", [], ["$provide", function($provide) {
3 var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
4 function getDecimals(n) {
6 var i = n.indexOf('.');
7 return (i == -1) ? 0 : n.length - i - 1;
10 function getVF(n, opt_precision) {
11 var v = opt_precision;
13 if (undefined === v) {
14 v = Math.min(getDecimals(n), 3);
17 var base = Math.pow(10, v);
18 var f = ((n * base) | 0) % base;
22 $provide.value("$locale", {
30 "Wa kwamb\u0129l\u0129lya",
39 "\u0128tina wa Yes\u0169"
49 "Mwai wa katat\u0169",
52 "Mwai wa thanthat\u0169",
57 "Mwai wa \u0129kumi na \u0129mwe",
58 "Mwai wa \u0129kumi na il\u0129"
86 "Mwai wa katat\u0169",
89 "Mwai wa thanthat\u0169",
94 "Mwai wa \u0129kumi na \u0129mwe",
95 "Mwai wa \u0129kumi na il\u0129"
101 "fullDate": "EEEE, d MMMM y",
102 "longDate": "d MMMM y",
103 "medium": "d MMM y h:mm:ss a",
104 "mediumDate": "d MMM y",
105 "mediumTime": "h:mm:ss a",
106 "short": "dd/MM/y h:mm a",
107 "shortDate": "dd/MM/y",
108 "shortTime": "h:mm a"
111 "CURRENCY_SYM": "Ksh",
141 "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;}