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_ko-kr.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_ko-kr.js')
| -rw-r--r-- | src/ngLocale/angular-locale_ko-kr.js | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/src/ngLocale/angular-locale_ko-kr.js b/src/ngLocale/angular-locale_ko-kr.js index ce2ba3f4..91b39e41 100644 --- a/src/ngLocale/angular-locale_ko-kr.js +++ b/src/ngLocale/angular-locale_ko-kr.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": "\uc624\uc804", - "1": "\uc624\ud6c4" - }, - "DAY": { - "0": "\uc77c\uc694\uc77c", - "1": "\uc6d4\uc694\uc77c", - "2": "\ud654\uc694\uc77c", - "3": "\uc218\uc694\uc77c", - "4": "\ubaa9\uc694\uc77c", - "5": "\uae08\uc694\uc77c", - "6": "\ud1a0\uc694\uc77c" - }, - "MONTH": { - "0": "1\uc6d4", - "1": "2\uc6d4", - "2": "3\uc6d4", - "3": "4\uc6d4", - "4": "5\uc6d4", - "5": "6\uc6d4", - "6": "7\uc6d4", - "7": "8\uc6d4", - "8": "9\uc6d4", - "9": "10\uc6d4", - "10": "11\uc6d4", - "11": "12\uc6d4" - }, - "SHORTDAY": { - "0": "\uc77c", - "1": "\uc6d4", - "2": "\ud654", - "3": "\uc218", - "4": "\ubaa9", - "5": "\uae08", - "6": "\ud1a0" - }, - "SHORTMONTH": { - "0": "1\uc6d4", - "1": "2\uc6d4", - "2": "3\uc6d4", - "3": "4\uc6d4", - "4": "5\uc6d4", - "5": "6\uc6d4", - "6": "7\uc6d4", - "7": "8\uc6d4", - "8": "9\uc6d4", - "9": "10\uc6d4", - "10": "11\uc6d4", - "11": "12\uc6d4" - }, + "AMPMS": [ + "\uc624\uc804", + "\uc624\ud6c4" + ], + "DAY": [ + "\uc77c\uc694\uc77c", + "\uc6d4\uc694\uc77c", + "\ud654\uc694\uc77c", + "\uc218\uc694\uc77c", + "\ubaa9\uc694\uc77c", + "\uae08\uc694\uc77c", + "\ud1a0\uc694\uc77c" + ], + "MONTH": [ + "1\uc6d4", + "2\uc6d4", + "3\uc6d4", + "4\uc6d4", + "5\uc6d4", + "6\uc6d4", + "7\uc6d4", + "8\uc6d4", + "9\uc6d4", + "10\uc6d4", + "11\uc6d4", + "12\uc6d4" + ], + "SHORTDAY": [ + "\uc77c", + "\uc6d4", + "\ud654", + "\uc218", + "\ubaa9", + "\uae08", + "\ud1a0" + ], + "SHORTMONTH": [ + "1\uc6d4", + "2\uc6d4", + "3\uc6d4", + "4\uc6d4", + "5\uc6d4", + "6\uc6d4", + "7\uc6d4", + "8\uc6d4", + "9\uc6d4", + "10\uc6d4", + "11\uc6d4", + "12\uc6d4" + ], "fullDate": "y\ub144 M\uc6d4 d\uc77c EEEE", "longDate": "y\ub144 M\uc6d4 d\uc77c", "medium": "yyyy. M. d. a h:mm:ss", @@ -65,8 +65,8 @@ $provide.value("$locale", { "CURRENCY_SYM": "\u20a9", "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": "ko-kr", "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} |
