diff options
| author | Lucas Galfasó | 2013-05-04 21:44:14 -0300 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-07-03 22:51:31 +0100 |
| commit | b3d7a038d774d823ef861b76fb8bfa22e60a3df5 (patch) | |
| tree | 87b10327d7ddb16ce636d04c81fafddb5b23219a /src/ngLocale/angular-locale_te.js | |
| parent | ef5bc6c7c3336a64bae64fe9739cb1789907c906 (diff) | |
| download | angular.js-b3d7a038d774d823ef861b76fb8bfa22e60a3df5.tar.bz2 | |
fix(i18n): Do not transform arrays into objects
Do not trasnform arrays into objects when generating the locale objects
Add unit test for this check
Diffstat (limited to 'src/ngLocale/angular-locale_te.js')
| -rw-r--r-- | src/ngLocale/angular-locale_te.js | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/src/ngLocale/angular-locale_te.js b/src/ngLocale/angular-locale_te.js index 8d2cba07..eaf45c45 100644 --- a/src/ngLocale/angular-locale_te.js +++ b/src/ngLocale/angular-locale_te.js @@ -2,56 +2,56 @@ angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { - "AMPMS": { - "0": "am", - "1": "pm" - }, - "DAY": { - "0": "\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02", - "1": "\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02", - "2": "\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02", - "3": "\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02", - "4": "\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02", - "5": "\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02", - "6": "\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02" - }, - "MONTH": { - "0": "\u0c1c\u0c28\u0c35\u0c30\u0c3f", - "1": "\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f", - "2": "\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f", - "3": "\u0c0e\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d", - "4": "\u0c2e\u0c47", - "5": "\u0c1c\u0c42\u0c28\u0c4d", - "6": "\u0c1c\u0c42\u0c32\u0c48", - "7": "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", - "8": "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", - "9": "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", - "10": "\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d", - "11": "\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d" - }, - "SHORTDAY": { - "0": "\u0c06\u0c26\u0c3f", - "1": "\u0c38\u0c4b\u0c2e", - "2": "\u0c2e\u0c02\u0c17\u0c33", - "3": "\u0c2c\u0c41\u0c27", - "4": "\u0c17\u0c41\u0c30\u0c41", - "5": "\u0c36\u0c41\u0c15\u0c4d\u0c30", - "6": "\u0c36\u0c28\u0c3f" - }, - "SHORTMONTH": { - "0": "\u0c1c\u0c28", - "1": "\u0c2b\u0c3f\u0c2c\u0c4d\u0c30", - "2": "\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f", - "3": "\u0c0f\u0c2a\u0c4d\u0c30\u0c3f", - "4": "\u0c2e\u0c47", - "5": "\u0c1c\u0c42\u0c28\u0c4d", - "6": "\u0c1c\u0c42\u0c32\u0c48", - "7": "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", - "8": "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", - "9": "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", - "10": "\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d", - "11": "\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d" - }, + "AMPMS": [ + "am", + "pm" + ], + "DAY": [ + "\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02", + "\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02", + "\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02", + "\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02", + "\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02", + "\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02", + "\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02" + ], + "MONTH": [ + "\u0c1c\u0c28\u0c35\u0c30\u0c3f", + "\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f", + "\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f", + "\u0c0e\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d", + "\u0c2e\u0c47", + "\u0c1c\u0c42\u0c28\u0c4d", + "\u0c1c\u0c42\u0c32\u0c48", + "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", + "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", + "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", + "\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d", + "\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d" + ], + "SHORTDAY": [ + "\u0c06\u0c26\u0c3f", + "\u0c38\u0c4b\u0c2e", + "\u0c2e\u0c02\u0c17\u0c33", + "\u0c2c\u0c41\u0c27", + "\u0c17\u0c41\u0c30\u0c41", + "\u0c36\u0c41\u0c15\u0c4d\u0c30", + "\u0c36\u0c28\u0c3f" + ], + "SHORTMONTH": [ + "\u0c1c\u0c28", + "\u0c2b\u0c3f\u0c2c\u0c4d\u0c30", + "\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f", + "\u0c0f\u0c2a\u0c4d\u0c30\u0c3f", + "\u0c2e\u0c47", + "\u0c1c\u0c42\u0c28\u0c4d", + "\u0c1c\u0c42\u0c32\u0c48", + "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", + "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", + "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", + "\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d", + "\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d" + ], "fullDate": "EEEE d MMMM y", "longDate": "d MMMM y", "medium": "d MMM y h:mm:ss a", @@ -65,8 +65,8 @@ $provide.value("$locale", { "CURRENCY_SYM": "\u20b9", "DECIMAL_SEP": ".", "GROUP_SEP": ",", - "PATTERNS": { - "0": { + "PATTERNS": [ + { "gSize": 3, "lgSize": 3, "macFrac": 0, @@ -78,7 +78,7 @@ $provide.value("$locale", { "posPre": "", "posSuf": "" }, - "1": { + { "gSize": 3, "lgSize": 3, "macFrac": 0, @@ -90,7 +90,7 @@ $provide.value("$locale", { "posPre": "\u00a4", "posSuf": "" } - } + ] }, "id": "te", "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} |
