diff options
| author | Chirayu Krishnappa | 2013-03-18 15:54:18 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-04-04 09:00:36 -0700 |
| commit | e5b57bf01c3e71a7048ef07986628f8809281dbe (patch) | |
| tree | f8cc2f326aa586e657d33afe2f99470e4565f80a /src/ngLocale/angular-locale_zh-cn.js | |
| parent | 5ecd6d4e0ac261cad8cec4f6e299c191fed6c692 (diff) | |
| download | angular.js-e5b57bf01c3e71a7048ef07986628f8809281dbe.tar.bz2 | |
chore($ngLocale): generate ngLocale files from the Closure code (includes datetimesymbolsext.js)
Diffstat (limited to 'src/ngLocale/angular-locale_zh-cn.js')
| -rw-r--r-- | src/ngLocale/angular-locale_zh-cn.js | 96 |
1 files changed, 95 insertions, 1 deletions
diff --git a/src/ngLocale/angular-locale_zh-cn.js b/src/ngLocale/angular-locale_zh-cn.js index d918e107..a0144358 100644 --- a/src/ngLocale/angular-locale_zh-cn.js +++ b/src/ngLocale/angular-locale_zh-cn.js @@ -1,4 +1,98 @@ 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":{"MONTH":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"SHORTMONTH":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"DAY":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"SHORTDAY":["周日","周一","周二","周三","周四","周五","周六"],"AMPMS":["上午","下午"],"medium":"yyyy-M-d ah:mm:ss","short":"yy-M-d ah:mm","fullDate":"y年M月d日EEEE","longDate":"y年M月d日","mediumDate":"yyyy-M-d","shortDate":"yy-M-d","mediumTime":"ah:mm:ss","shortTime":"ah:mm"},"NUMBER_FORMATS":{"DECIMAL_SEP":".","GROUP_SEP":",","PATTERNS":[{"minInt":1,"minFrac":0,"macFrac":0,"posPre":"","posSuf":"","negPre":"-","negSuf":"","gSize":3,"lgSize":3,"maxFrac":3},{"minInt":1,"minFrac":2,"macFrac":0,"posPre":"\u00A4","posSuf":"","negPre":"(\u00A4","negSuf":")","gSize":3,"lgSize":3,"maxFrac":2}],"CURRENCY_SYM":"¥"},"pluralCat":function (n) { return PLURAL_CATEGORY.OTHER;},"id":"zh-cn"}); +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": { + "0": "上午", + "1": "下午" + }, + "DAY": { + "0": "星期日", + "1": "星期一", + "2": "星期二", + "3": "星期三", + "4": "星期四", + "5": "星期五", + "6": "星期六" + }, + "MONTH": { + "0": "1月", + "1": "2月", + "2": "3月", + "3": "4月", + "4": "5月", + "5": "6月", + "6": "7月", + "7": "8月", + "8": "9月", + "9": "10月", + "10": "11月", + "11": "12月" + }, + "SHORTDAY": { + "0": "周日", + "1": "周一", + "2": "周二", + "3": "周三", + "4": "周四", + "5": "周五", + "6": "周六" + }, + "SHORTMONTH": { + "0": "1月", + "1": "2月", + "2": "3月", + "3": "4月", + "4": "5月", + "5": "6月", + "6": "7月", + "7": "8月", + "8": "9月", + "9": "10月", + "10": "11月", + "11": "12月" + }, + "fullDate": "y年M月d日EEEE", + "longDate": "y年M月d日", + "medium": "yyyy-M-d ah:mm:ss", + "mediumDate": "yyyy-M-d", + "mediumTime": "ah:mm:ss", + "short": "yy-M-d ah:mm", + "shortDate": "yy-M-d", + "shortTime": "ah:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "¥", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": { + "0": { + "gSize": 3, + "lgSize": 3, + "macFrac": 0, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + "1": { + "gSize": 3, + "lgSize": 3, + "macFrac": 0, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "(\u00A4", + "negSuf": ")", + "posPre": "\u00A4", + "posSuf": "" + } + } + }, + "id": "zh-cn", + "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} +}); }]);
\ No newline at end of file |
