Sha256: f98fa7c6e07a128fbc4cee7ed84b4ed7e5899934ae782adca2de8668856d851b

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 KB

Contents

en:
  activemodel:
    errors:
      messages:
        taken: 已占用

  mongoid:
    errors:
      messages:
        document_not_found:
          没有发现类是%{klass}id(s)是%{identifiers}的文档
        invalid_database:
          数据库应该是Mongo::DB,而不是%{name}.
        invalid_type:
          在类%{klass}中定义了字段,实际值是%{value}的%{other}.
        unsupported_version:
          MongoDB %{version} 版本已过期,请升级到 %{mongo_version}.
        validations:
          校验失败 - %{errors}.
        invalid_collection:
          不允许直接访问嵌入式的集合%{klass} , 请从文档的根访问集合.
        invalid_field:
          字段的名字不允许为 %{name}. 你不应该定义跟Mongoid内部属性或者方法相同的名字,详细请看Use Document#instance_methods.
        too_many_nested_attribute_records:
          被关联的%{association} 嵌入式属性不能超过 %{limit}.
        embedded_in_must_have_inverse_of:
          embedded_in的关联属性必须包含inverse_of.
        dependent_only_references_one_or_many:
          dependent => destroy|delete 选项只有在references_one或者references_many时候有效.
        association_cant_have_inverse_of:
          在当前的关联中,不允许定义inverse_of去,其只有在embedded_in或者references_many是数组的情况下使用

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mongoid-2.0.0.rc.5 lib/config/locales/zh-CN.yml
mongoid-2.0.0.rc.4 lib/config/locales/zh-CN.yml
mongoid-2.0.0.rc.3 lib/config/locales/zh-CN.yml
mongoid-2.0.0.rc.2 lib/config/locales/zh-CN.yml
mongoid-2.0.0.rc.1 lib/config/locales/zh-CN.yml
mongoid-2.0.0.beta.20 lib/config/locales/zh-CN.yml
mongoid-2.0.0.beta.19 lib/config/locales/zh-CN.yml