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", {
49 "Mwere wa gatat\u0169",
52 "Mwere wa gatandat\u0169",
53 "Mwere wa m\u0169gwanja",
56 "Mwere wa ik\u0169mi",
57 "Mwere wa ik\u0169mi na \u0169mwe",
86 "Mwere wa gatat\u0169",
89 "Mwere wa gatandat\u0169",
90 "Mwere wa m\u0169gwanja",
93 "Mwere wa ik\u0169mi",
94 "Mwere wa ik\u0169mi na \u0169mwe",
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;}