From 695c54c17b3299cd6170c45878b41cb46a577cd2 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Wed, 17 Apr 2013 22:13:49 +0100 Subject: fix(i18n): escape all chars above \u007f in locale files Modify the script that writes the locales so all characters above \u007f are escaped Includes the updated locale files after running the closureI18nExtractor. Closes #2417 --- src/ngLocale/angular-locale_zh-hk.js | 96 ++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'src/ngLocale/angular-locale_zh-hk.js') diff --git a/src/ngLocale/angular-locale_zh-hk.js b/src/ngLocale/angular-locale_zh-hk.js index d72c8744..2656c7c4 100644 --- a/src/ngLocale/angular-locale_zh-hk.js +++ b/src/ngLocale/angular-locale_zh-hk.js @@ -3,62 +3,62 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": { - "0": "上午", - "1": "下午" + "0": "\u4e0a\u5348", + "1": "\u4e0b\u5348" }, "DAY": { - "0": "星期日", - "1": "星期一", - "2": "星期二", - "3": "星期三", - "4": "星期四", - "5": "星期五", - "6": "星期六" + "0": "\u661f\u671f\u65e5", + "1": "\u661f\u671f\u4e00", + "2": "\u661f\u671f\u4e8c", + "3": "\u661f\u671f\u4e09", + "4": "\u661f\u671f\u56db", + "5": "\u661f\u671f\u4e94", + "6": "\u661f\u671f\u516d" }, "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月" + "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": "週日", - "1": "週一", - "2": "週二", - "3": "週三", - "4": "週四", - "5": "週五", - "6": "週六" + "0": "\u9031\u65e5", + "1": "\u9031\u4e00", + "2": "\u9031\u4e8c", + "3": "\u9031\u4e09", + "4": "\u9031\u56db", + "5": "\u9031\u4e94", + "6": "\u9031\u516d" }, "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月" + "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" }, - "fullDate": "y年M月d日EEEE", - "longDate": "y年M月d日", - "medium": "y年M月d日 ahh:mm:ss", - "mediumDate": "y年M月d日", + "fullDate": "y\u5e74M\u6708d\u65e5EEEE", + "longDate": "y\u5e74M\u6708d\u65e5", + "medium": "y\u5e74M\u6708d\u65e5 ahh:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ahh:mm:ss", - "short": "yy年M月d日 ah:mm", - "shortDate": "yy年M月d日", + "short": "yy\u5e74M\u6708d\u65e5 ah:mm", + "shortDate": "yy\u5e74M\u6708d\u65e5", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { @@ -85,9 +85,9 @@ $provide.value("$locale", { "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00A4", + "negPre": "(\u00a4", "negSuf": ")", - "posPre": "\u00A4", + "posPre": "\u00a4", "posSuf": "" } } -- cgit v1.2.3