diff options
| author | Lucas Galfasó | 2013-05-04 21:44:14 -0300 |
|---|---|---|
| committer | Brian Ford | 2013-08-12 16:23:38 -0700 |
| commit | 751c77f87b34389c5b85a23c71080d367c42d31b (patch) | |
| tree | 1e29a46da7d0275363a0c3528394134670c9fdd6 /src/ngLocale/angular-locale_ja.js | |
| parent | 634ac03c5efb7a35bb8107dfc686bf834e77f019 (diff) | |
| download | angular.js-751c77f87b34389c5b85a23c71080d367c42d31b.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;} |
