(function(globals) { var django = globals.django || (globals.django = {}); django.pluralidx = function(count) { return (count == 1) ? 0 : 1; }; /* gettext library */ django.catalog = django.catalog || {}; var newcatalog = { "\u4e0a\u4e00\u9875": "\u4e0a\u4e00\u9875", "\u4e0a\u4f20\u7684\u7a3f\u4ef6\u9644\u4ef6": "\u4e0a\u4f20\u7684\u7a3f\u4ef6\u9644\u4ef6", "\u4e0b\u4e00\u9875": "\u4e0b\u4e00\u9875", "\u4e0b\u8f7d": "\u4e0b\u8f7d", "\u4efb\u52a1": "\u4efb\u52a1", "\u4efb\u52a1\u672a\u8d85\u65f6\uff0c\u662f\u5426\u4efb\u786e\u5b9a\u5173\u95ed": "\u4efb\u52a1\u672a\u8d85\u65f6\uff0c\u662f\u5426\u4efb\u786e\u5b9a\u5173\u95ed", "\u50ac\u5ba1": "\u50ac\u5ba1", "\u5173\u95ed": "\u5173\u95ed", "\u5173\u95ed\u4efb\u52a1\u5931\u8d25": "\u5173\u95ed\u4efb\u52a1\u5931\u8d25", "\u5206\u914d": "\u5206\u914d", "\u5206\u914d\u65f6\u95f4": "\u5206\u914d\u65f6\u95f4", "\u5206\u914d\u8d26\u6237": "\u5206\u914d\u8d26\u6237", "\u52a0\u8f7d\u4e2d": "\u52a0\u8f7d\u4e2d", "\u53d1\u9001\u65f6\u95f4": "\u53d1\u9001\u65f6\u95f4", "\u53d1\u9001\u90ae\u4ef6": "\u53d1\u9001\u90ae\u4ef6", "\u53d6\u6d88": "\u53d6\u6d88", "\u56de\u590d": "\u56de\u590d", "\u5904\u7406\u4e2d": "\u5904\u7406\u4e2d", "\u5904\u7406\u7ed3\u679c": "\u5904\u7406\u7ed3\u679c", "\u5931\u8d25": "\u5931\u8d25", "\u5b8c\u6210\u4e86": "\u5b8c\u6210\u4e86", "\u5ba1\u7a3f\u8d26\u6237": "\u5ba1\u7a3f\u8d26\u6237", "\u5bfc\u51faExcel": "\u5bfc\u51faExcel", "\u5df2\u5173\u95ed": "\u5df2\u5173\u95ed", "\u5df2\u5b8c\u6210": "\u5df2\u5b8c\u6210", "\u5df2\u62d2\u5ba1": "\u5df2\u62d2\u5ba1", "\u5ef6\u671f": "\u5ef6\u671f", "\u6210\u529f": "\u6210\u529f", "\u622a\u6b62\u65e5\u671f": "\u622a\u6b62\u65e5\u671f", "\u6253\u5370": "\u6253\u5370", "\u62d2\u7edd\u4e86\u672c\u6587\u7684\u8bc4\u5ba1\u4efb\u52a1": "\u62d2\u7edd\u4e86\u672c\u6587\u7684\u8bc4\u5ba1\u4efb\u52a1", "\u63a5\u53d7\u4e86\u672c\u6587\u7684\u8bc4\u5ba1\u4efb\u52a1": "\u63a5\u53d7\u4e86\u672c\u6587\u7684\u8bc4\u5ba1\u4efb\u52a1", "\u63d0\u4ea4": "\u63d0\u4ea4", "\u63d0\u4ea4\u4e86\u672c\u6587\u7684\u8bc4\u5ba1\u7ed3\u679c": "\u63d0\u4ea4\u4e86\u672c\u6587\u7684\u8bc4\u5ba1\u7ed3\u679c", "\u64cd\u4f5c": "\u64cd\u4f5c", "\u64cd\u4f5c\u5931\u8d25": "\u64cd\u4f5c\u5931\u8d25", "\u64cd\u4f5c\u6210\u529f": "\u64cd\u4f5c\u6210\u529f", "\u65e5\u5fd7": "\u65e5\u5fd7", "\u672a\u5904\u7406": "\u672a\u5904\u7406", "\u672b\u9875": "\u672b\u9875", "\u67e5\u770b": "\u67e5\u770b", "\u67e5\u770b\u8be6\u60c5": "\u67e5\u770b\u8be6\u60c5", "\u6807\u9898": "\u6807\u9898", "\u6b63\u6587": "\u6b63\u6587", "\u72b6\u6001": "\u72b6\u6001", "\u7533\u8bf7\u5ef6\u65f6\u5ba1\u7406": "\u7533\u8bf7\u5ef6\u65f6\u5ba1\u7406", "\u786e\u8ba4": "\u786e\u8ba4", "\u786e\u8ba4\u5173\u95ed": "\u786e\u8ba4\u5173\u95ed", "\u786e\u8ba4\u5220\u9664\u7a3f\u4ef6": "\u786e\u8ba4\u5220\u9664\u7a3f\u4ef6", "\u786e\u8ba4\u6062\u590d\u5df2\u5220\u9664\u7684\u7a3f\u4ef6": "\u786e\u8ba4\u6062\u590d\u5df2\u5220\u9664\u7684\u7a3f\u4ef6", "\u786e\u8ba4\u6062\u590d\u5df2\u7ed3\u675f\u91c7\u7f16\u7684\u7a3f\u4ef6": "\u786e\u8ba4\u6062\u590d\u5df2\u7ed3\u675f\u91c7\u7f16\u7684\u7a3f\u4ef6", "\u786e\u8ba4\u7ed3\u675f\u91c7\u7f16": "\u786e\u8ba4\u7ed3\u675f\u91c7\u7f16", "\u7ed9\u4f5c\u8005\u53d1\u9001\u4efb\u52a1": "\u7ed9\u4f5c\u8005\u53d1\u9001\u4efb\u52a1", "\u81f3": "\u81f3", "\u8ba2\u9605\u5931\u8d25": "\u8ba2\u9605\u5931\u8d25", "\u8ba2\u9605\u6210\u529f": "\u8ba2\u9605\u6210\u529f", "\u8bc4\u5206": "\u8bc4\u5206", "\u8d85\u65f6\u672a\u5ba1": "\u8d85\u65f6\u672a\u5ba1", "\u901a\u8baf\u90ae\u7bb1\uff1a": "Email: ", "\u90ae\u4ef6\u8ba2\u9605": "\u90ae\u4ef6\u8ba2\u9605", "\u90ae\u7bb1": "\u90ae\u7bb1", "\u9519\u8bef": "\u9519\u8bef", "\u9519\u8bef\u4fe1\u606f": "\u9519\u8bef\u4fe1\u606f", "\u9644\u4ef6": "\u9644\u4ef6", "\u9996\u9875": "\u9996\u9875", "\u9a8c\u8bc1\u7801": "\u9a8c\u8bc1\u7801" }; for (var key in newcatalog) { django.catalog[key] = newcatalog[key]; } if (!django.jsi18n_initialized) { django.gettext = function(msgid) { var value = django.catalog[msgid]; if (typeof(value) == 'undefined') { return msgid; } else { return (typeof(value) == 'string') ? value : value[0]; } }; django.ngettext = function(singular, plural, count) { var value = django.catalog[singular]; if (typeof(value) == 'undefined') { return (count == 1) ? singular : plural; } else { return value[django.pluralidx(count)]; } }; django.gettext_noop = function(msgid) { return msgid; }; django.pgettext = function(context, msgid) { var value = django.gettext(context + '\x04' + msgid); if (value.indexOf('\x04') != -1) { value = msgid; } return value; }; django.npgettext = function(context, singular, plural, count) { var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); if (value.indexOf('\x04') != -1) { value = django.ngettext(singular, plural, count); } return value; }; django.interpolate = function(fmt, obj, named) { if (named) { return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); } else { return fmt.replace(/%s/g, function(match){return String(obj.shift())}); } }; /* formatting library */ django.formats = { "DATETIME_FORMAT": "Y\u5e74n\u6708j\u65e5 H:i", "DATETIME_INPUT_FORMATS": [ "%Y/%m/%d %H:%M", "%Y-%m-%d %H:%M", "%Y\u5e74%n\u6708%j\u65e5 %H:%M", "%Y/%m/%d %H:%M:%S", "%Y-%m-%d %H:%M:%S", "%Y\u5e74%n\u6708%j\u65e5 %H:%M:%S", "%Y/%m/%d %H:%M:%S.%f", "%Y-%m-%d %H:%M:%S.%f", "%Y\u5e74%n\u6708%j\u65e5 %H:%n:%S.%f", "%Y-%m-%d" ], "DATE_FORMAT": "Y\u5e74n\u6708j\u65e5", "DATE_INPUT_FORMATS": [ "%Y/%m/%d", "%Y-%m-%d", "%Y\u5e74%n\u6708%j\u65e5" ], "DECIMAL_SEPARATOR": ".", "FIRST_DAY_OF_WEEK": "1", "MONTH_DAY_FORMAT": "m\u6708j\u65e5", "NUMBER_GROUPING": "4", "SHORT_DATETIME_FORMAT": "Y\u5e74n\u6708j\u65e5 H:i", "SHORT_DATE_FORMAT": "Y\u5e74n\u6708j\u65e5", "THOUSAND_SEPARATOR": "", "TIME_FORMAT": "H:i", "TIME_INPUT_FORMATS": [ "%H:%M", "%H:%M:%S", "%H:%M:%S.%f" ], "YEAR_MONTH_FORMAT": "Y\u5e74n\u6708" }; django.get_format = function(format_type) { var value = django.formats[format_type]; if (typeof(value) == 'undefined') { return format_type; } else { return value; } }; /* add to global namespace */ globals.pluralidx = django.pluralidx; globals.gettext = django.gettext; globals.ngettext = django.ngettext; globals.gettext_noop = django.gettext_noop; globals.pgettext = django.pgettext; globals.npgettext = django.npgettext; globals.interpolate = django.interpolate; globals.get_format = django.get_format; django.jsi18n_initialized = true; } }(this));