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_fr-gf.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_fr-gf.js')
| -rw-r--r-- | src/ngLocale/angular-locale_fr-gf.js | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/src/ngLocale/angular-locale_fr-gf.js b/src/ngLocale/angular-locale_fr-gf.js index 933bba7d..249ff7c9 100644 --- a/src/ngLocale/angular-locale_fr-gf.js +++ b/src/ngLocale/angular-locale_fr-gf.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": "dimanche", - "1": "lundi", - "2": "mardi", - "3": "mercredi", - "4": "jeudi", - "5": "vendredi", - "6": "samedi" - }, - "MONTH": { - "0": "janvier", - "1": "f\u00e9vrier", - "2": "mars", - "3": "avril", - "4": "mai", - "5": "juin", - "6": "juillet", - "7": "ao\u00fbt", - "8": "septembre", - "9": "octobre", - "10": "novembre", - "11": "d\u00e9cembre" - }, - "SHORTDAY": { - "0": "dim.", - "1": "lun.", - "2": "mar.", - "3": "mer.", - "4": "jeu.", - "5": "ven.", - "6": "sam." - }, - "SHORTMONTH": { - "0": "janv.", - "1": "f\u00e9vr.", - "2": "mars", - "3": "avr.", - "4": "mai", - "5": "juin", - "6": "juil.", - "7": "ao\u00fbt", - "8": "sept.", - "9": "oct.", - "10": "nov.", - "11": "d\u00e9c." - }, + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "dimanche", + "lundi", + "mardi", + "mercredi", + "jeudi", + "vendredi", + "samedi" + ], + "MONTH": [ + "janvier", + "f\u00e9vrier", + "mars", + "avril", + "mai", + "juin", + "juillet", + "ao\u00fbt", + "septembre", + "octobre", + "novembre", + "d\u00e9cembre" + ], + "SHORTDAY": [ + "dim.", + "lun.", + "mar.", + "mer.", + "jeu.", + "ven.", + "sam." + ], + "SHORTMONTH": [ + "janv.", + "f\u00e9vr.", + "mars", + "avr.", + "mai", + "juin", + "juil.", + "ao\u00fbt", + "sept.", + "oct.", + "nov.", + "d\u00e9c." + ], "fullDate": "EEEE d MMMM y", "longDate": "d MMMM y", "medium": "d MMM y HH:mm:ss", @@ -65,8 +65,8 @@ $provide.value("$locale", { "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", - "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": "", "posSuf": "\u00a0\u00a4" } - } + ] }, "id": "fr-gf", "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} |
