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_vi.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_vi.js')
| -rw-r--r-- | src/ngLocale/angular-locale_vi.js | 108 | 
1 files changed, 54 insertions, 54 deletions
| diff --git a/src/ngLocale/angular-locale_vi.js b/src/ngLocale/angular-locale_vi.js index 9da823dc..4e1108a2 100644 --- a/src/ngLocale/angular-locale_vi.js +++ b/src/ngLocale/angular-locale_vi.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": "SA", -      "1": "CH" -    }, -    "DAY": { -      "0": "Ch\u1ee7 nh\u1eadt", -      "1": "Th\u1ee9 hai", -      "2": "Th\u1ee9 ba", -      "3": "Th\u1ee9 t\u01b0", -      "4": "Th\u1ee9 n\u0103m", -      "5": "Th\u1ee9 s\u00e1u", -      "6": "Th\u1ee9 b\u1ea3y" -    }, -    "MONTH": { -      "0": "th\u00e1ng m\u1ed9t", -      "1": "th\u00e1ng hai", -      "2": "th\u00e1ng ba", -      "3": "th\u00e1ng t\u01b0", -      "4": "th\u00e1ng n\u0103m", -      "5": "th\u00e1ng s\u00e1u", -      "6": "th\u00e1ng b\u1ea3y", -      "7": "th\u00e1ng t\u00e1m", -      "8": "th\u00e1ng ch\u00edn", -      "9": "th\u00e1ng m\u01b0\u1eddi", -      "10": "th\u00e1ng m\u01b0\u1eddi m\u1ed9t", -      "11": "th\u00e1ng m\u01b0\u1eddi hai" -    }, -    "SHORTDAY": { -      "0": "CN", -      "1": "Th 2", -      "2": "Th 3", -      "3": "Th 4", -      "4": "Th 5", -      "5": "Th 6", -      "6": "Th 7" -    }, -    "SHORTMONTH": { -      "0": "thg 1", -      "1": "thg 2", -      "2": "thg 3", -      "3": "thg 4", -      "4": "thg 5", -      "5": "thg 6", -      "6": "thg 7", -      "7": "thg 8", -      "8": "thg 9", -      "9": "thg 10", -      "10": "thg 11", -      "11": "thg 12" -    }, +    "AMPMS": [ +      "SA", +      "CH" +    ], +    "DAY": [ +      "Ch\u1ee7 nh\u1eadt", +      "Th\u1ee9 hai", +      "Th\u1ee9 ba", +      "Th\u1ee9 t\u01b0", +      "Th\u1ee9 n\u0103m", +      "Th\u1ee9 s\u00e1u", +      "Th\u1ee9 b\u1ea3y" +    ], +    "MONTH": [ +      "th\u00e1ng m\u1ed9t", +      "th\u00e1ng hai", +      "th\u00e1ng ba", +      "th\u00e1ng t\u01b0", +      "th\u00e1ng n\u0103m", +      "th\u00e1ng s\u00e1u", +      "th\u00e1ng b\u1ea3y", +      "th\u00e1ng t\u00e1m", +      "th\u00e1ng ch\u00edn", +      "th\u00e1ng m\u01b0\u1eddi", +      "th\u00e1ng m\u01b0\u1eddi m\u1ed9t", +      "th\u00e1ng m\u01b0\u1eddi hai" +    ], +    "SHORTDAY": [ +      "CN", +      "Th 2", +      "Th 3", +      "Th 4", +      "Th 5", +      "Th 6", +      "Th 7" +    ], +    "SHORTMONTH": [ +      "thg 1", +      "thg 2", +      "thg 3", +      "thg 4", +      "thg 5", +      "thg 6", +      "thg 7", +      "thg 8", +      "thg 9", +      "thg 10", +      "thg 11", +      "thg 12" +    ],      "fullDate": "EEEE, 'ng\u00e0y' dd MMMM 'n\u0103m' y",      "longDate": "'Ng\u00e0y' dd 'th\u00e1ng' M 'n\u0103m' y",      "medium": "dd-MM-yyyy HH:mm:ss", @@ -65,8 +65,8 @@ $provide.value("$locale", {      "CURRENCY_SYM": "\u20ab",      "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": "",          "posSuf": "\u00a0\u00a4"        } -    } +    ]    },    "id": "vi",    "pluralCat": function (n) {  return PLURAL_CATEGORY.OTHER;} | 
