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", {
52 "Mori ghwa karandadu",
57 "Mori ghwa ikumi na imweri",
58 "Mori ghwa ikumi na iwi"
89 "Mori ghwa karandadu",
94 "Mori ghwa ikumi na imweri",
95 "Mori ghwa ikumi na iwi"
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;}