Clone
# encoding: utf-8
zh-CN:
  # -- Models ---------------------------------------------------------------
  attributes:
    label: 标签
    slug: 嵌条
    parent_id: 上级
    content: 内容
    identifier: 标识符
  activerecord:
    models:
      cms/site: 站点
      cms/layout: 布局
      cms/page: 页面
      cms/snippet: 片段
      cms/file: 文件
    attributes:
      cms/site:
        identifier: 标识符
        hostname: 主机名
        path: 路径
        locale: 语言
        is_mirrored: 镜像
      cms/layout:
        identifier: 标识符
        label: 布局名称
        app_layout: 应用布局
        parent_id: 上级布局
        css: 样式
        js: Javascript
      cms/page:
        label: 布局名称
        layout_id: 布局
        slug: Slug
        target_page_id: 跳转至
        is_published: 发布
      cms/file:
        file: 文件
        description: 描述
      cms/snippet:
        identifier: 标识符
        
  # -- Controllers ----------------------------------------------------------
  cms:
    base:
      site_not_found: 没有该站点
      fixtures_enabled: CMS夹具已经启用,在此处的所有修改将被忽略。

    sites:
      created: 站点创建成功
      creation_failure: 站点创建失败
      updated: 站点更新成功
      update_failure: 站点更新失败
      deleted: 站点删除成功
      not_found: 站点不存在

    layouts:
      created: 布局创建成功
      creation_failure: 布局创建失败
      updated: 布局更新成功
      update_failure: 布局更新失败
      deleted: 布局删除成功
      not_found: 布局不存在

    pages:
      created: 页面创建成功
      creation_failure: 页面创建失败
      updated: 页面更新成功
      update_failure: 页面更新失败
      deleted: 页面删除成功
      not_found: 页面不存在
      layout_not_found: 没有布局,请先创建一个布局。

    snippets:
      created: 片段创建成功
      creation_failure: 片段创建失败
      updated: 片段更新成功
      update_failure: 片段更新失败
      deleted: 片段删除成功
      not_found: 片段不存在

    revisions:
      reverted: 内容恢复成功
      record_not_found: 记录不存在
      not_found: 修订版本不存在

    files:
      created: 文件上传成功
      creation_failure: 文件上传失败
      updated: 文件更新成功
      update_failure: 文件更新失败
      deleted: 文件删除成功
      not_found: 文件不存在

    content:
      site_not_found: 站点不存在
      layout_not_found: 布局不存在
      page_not_found: 页面不存在

  # -- Views ----------------------------------------------------------------
  cms_admin:
    base:
      sites: 站点
      layouts: 布局
      pages: 页面
      snippets: 片段
      files: 文件

    sites:
      index:
        title: 站点
        new_link: 创建站点
        select: 选择站点
        edit: 编辑
        delete: 删除
        are_you_sure: 确定删除该站点吗?
      new:
        title: 新站点
      edit:
        title: 编辑站点
      form:
        create: 创建站点
        update: 更新站点

    layouts:
      index:
        title: 布局
        new_link: 创建新布局
      index_branch:
        add_child_layout: 创建子布局
        edit: 编辑
        delete: 删除
        are_you_sure: 确定删除该布局吗?
      new:
        title: 新布局
      edit:
        title: 编辑布局
        revision: 修订版本
      form:
        select_parent_layout: 选择上级布局
        select_app_layout: 选择应用布局
        create: 创建布局
        update: 更新布局

    pages:
      index:
        title: 页面
        new_link: 创建新页面
      index_branch:
        toggle: 切换
        add_child_page: 创建子页面
        edit: 编辑
        delete: 删除
        are_you_sure: 确定删除该页面吗?
      new:
        title: 新页面
      edit:
        title: 编辑页面
        revision: 修订版本
      form:
        select_target_page: 没有跳转
        preview: 预览
        create: 创建页面
        update: 更新页面
      form_blocks:
        no_tags: |-
          布局中没有定义内容标签。<br/>
          编辑内容使其包含一个页面或者field标签。例如: <code>{{cms:page:content}}</code>

    snippets:
      index:
        title: 片段
        new_link: 创建新片段
        edit: 编辑
        delete: 删除
        are_you_sure: 确定删除该片段吗?
      new:
        title: 新片段
      edit:
        title: 编辑片段
        revision: 修订版本
      form:
        create: 创建片段
        update: 更新片段

    revisions:
      show:
        title: 修订版本属于
        revision: 修订版本
        full_path: 全路径
        slug: 嵌条
        update: 更新到该修订版本

    files:
      index:
        title: 文件
        new_link: 上传新文件
        edit: 编辑
        delete: 删除
        are_you_sure: 确定删除该文件吗?
        button: 上传文件
      new:
        title: 新文件
      edit:
        title: 编辑文件
      form:
        current_file: 当前文件
        create: 上传文件
        update: 更新文件
      page_form:
        are_you_sure: 确定删除该文件吗?
      file:
        are_you_sure: 确定删除该文件吗?

    categories:
      index:
        label: 分类
        edit: 编辑
        done: 完成
        all: 全部
        add: 创建
      show:
        are_you_sure: 确定删除该分类吗?
      edit:
        save: 保存
      form:
        label: 分类

    dialogs:
      image:
        insert: 插入图片
      link:
        create: 创建链接