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_ko-kr.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_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;} | 
