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_ja.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_ja.js')
| -rw-r--r-- | src/ngLocale/angular-locale_ja.js | 108 | 
1 files changed, 54 insertions, 54 deletions
| diff --git a/src/ngLocale/angular-locale_ja.js b/src/ngLocale/angular-locale_ja.js index bc92d625..eb39e847 100644 --- a/src/ngLocale/angular-locale_ja.js +++ b/src/ngLocale/angular-locale_ja.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": "\u5348\u524d", -      "1": "\u5348\u5f8c" -    }, -    "DAY": { -      "0": "\u65e5\u66dc\u65e5", -      "1": "\u6708\u66dc\u65e5", -      "2": "\u706b\u66dc\u65e5", -      "3": "\u6c34\u66dc\u65e5", -      "4": "\u6728\u66dc\u65e5", -      "5": "\u91d1\u66dc\u65e5", -      "6": "\u571f\u66dc\u65e5" -    }, -    "MONTH": { -      "0": "1\u6708", -      "1": "2\u6708", -      "2": "3\u6708", -      "3": "4\u6708", -      "4": "5\u6708", -      "5": "6\u6708", -      "6": "7\u6708", -      "7": "8\u6708", -      "8": "9\u6708", -      "9": "10\u6708", -      "10": "11\u6708", -      "11": "12\u6708" -    }, -    "SHORTDAY": { -      "0": "\u65e5", -      "1": "\u6708", -      "2": "\u706b", -      "3": "\u6c34", -      "4": "\u6728", -      "5": "\u91d1", -      "6": "\u571f" -    }, -    "SHORTMONTH": { -      "0": "1\u6708", -      "1": "2\u6708", -      "2": "3\u6708", -      "3": "4\u6708", -      "4": "5\u6708", -      "5": "6\u6708", -      "6": "7\u6708", -      "7": "8\u6708", -      "8": "9\u6708", -      "9": "10\u6708", -      "10": "11\u6708", -      "11": "12\u6708" -    }, +    "AMPMS": [ +      "\u5348\u524d", +      "\u5348\u5f8c" +    ], +    "DAY": [ +      "\u65e5\u66dc\u65e5", +      "\u6708\u66dc\u65e5", +      "\u706b\u66dc\u65e5", +      "\u6c34\u66dc\u65e5", +      "\u6728\u66dc\u65e5", +      "\u91d1\u66dc\u65e5", +      "\u571f\u66dc\u65e5" +    ], +    "MONTH": [ +      "1\u6708", +      "2\u6708", +      "3\u6708", +      "4\u6708", +      "5\u6708", +      "6\u6708", +      "7\u6708", +      "8\u6708", +      "9\u6708", +      "10\u6708", +      "11\u6708", +      "12\u6708" +    ], +    "SHORTDAY": [ +      "\u65e5", +      "\u6708", +      "\u706b", +      "\u6c34", +      "\u6728", +      "\u91d1", +      "\u571f" +    ], +    "SHORTMONTH": [ +      "1\u6708", +      "2\u6708", +      "3\u6708", +      "4\u6708", +      "5\u6708", +      "6\u6708", +      "7\u6708", +      "8\u6708", +      "9\u6708", +      "10\u6708", +      "11\u6708", +      "12\u6708" +    ],      "fullDate": "y\u5e74M\u6708d\u65e5EEEE",      "longDate": "y\u5e74M\u6708d\u65e5",      "medium": "yyyy/MM/dd H:mm:ss", @@ -65,8 +65,8 @@ $provide.value("$locale", {      "CURRENCY_SYM": "\u00a5",      "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": "ja",    "pluralCat": function (n) {  return PLURAL_CATEGORY.OTHER;} | 
