Sha256: 4978553abae10ee28bb03a5c7f54a72a70a8802ef3f4340aaf4f4b9b1e954b1e

Contents?: true

Size: 1.41 KB

Versions: 8

Compression:

Stored size: 1.41 KB

Contents

// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};

// Define then the messages
window.ParsleyConfig.i18n.zh_cn = $.extend(window.ParsleyConfig.i18n.zh_cn || {}, {
  defaultMessage: "不正确的值",
  type: {
    email:        "请输入一个有效的电子邮箱地址",
    url:          "请输入一个有效的链接",
    number:       "请输入正确的数字",
    integer:      "请输入正确的整数",
    digits:       "请输入正确的号码",
    alphanum:     "请输入字母或数字"
  },
  notblank:       "请输入值",
  required:       "必填项",
  pattern:        "格式不正确",
  min:            "输入值请大于或等于 %s",
  max:            "输入值请小于或等于 %s",
  range:          "输入值应该在 %s 到 %s 之间",
  minlength:      "请输入至少 %s 个字符",
  maxlength:      "请输入至多 %s 个字符",
  length:         "字符长度应该在 %s 到 %s 之间",
  mincheck:       "请至少选择 %s 个选项",
  maxcheck:       "请选择不超过 %s 个选项",
  check:          "请选择 %s 到 %s 个选项",
  equalto:        "输入值不同"
});

// If file is loaded after Parsley main file, auto-load locale
if ('undefined' !== typeof window.ParsleyValidator)
  window.ParsleyValidator.addCatalog('zh_cn', window.ParsleyConfig.i18n.zh_cn, true);

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
parsley-rails-2.0.7.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.6.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.5.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.4.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.3.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.2.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.0.1 vendor/assets/javascripts/parsley.i18n.zh_cn.js
parsley-rails-2.0.0.0 vendor/assets/javascripts/parsley.i18n.zh_cn.js