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 "Mweri wo thanu na mocha",
57 "Mweri wo kumi na moja",
58 "Mweri wo kumi na yel\u2019li"
89 "Mweri wo thanu na mocha",
94 "Mweri wo kumi na moja",
95 "Mweri wo kumi na yel\u2019li"
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": "MTn",
132 "negPre": "-\u00a4\u00a0",
134 "posPre": "\u00a4\u00a0",
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;}