{
  "documentGenerator": {
    "title": "文档生成",
    "templateManagement": "模板管理",
    "sealManagement": "签章管理",
    "documentList": "文档列表",
    
    "addTemplate": "新建模板",
    "editTemplate": "编辑模板",
    "copyTemplate": "复制模板",
    "previewTemplate": "预览模板",
    
    "templateName": "模板名称",
    "templateCode": "模板编码",
    "category": "分类",
    "formCode": "表单编码",
    "workflowCode": "流程编码",
    "bindingType": "绑定类型",
    "bindToWorkflow": "绑定到流程",
    "bindToForm": "绑定到表单",
    "workflowLinkedForm": "流程已关联表单",
    "pleaseSelectForm": "请选择关联表单",
    
    "basicInfo": "基本信息",
    "pageSettings": "页面设置",
    "autoGenerate": "自动生成",
    "watermark": "水印设置",
    "templateDesign": "模板设计",
    
    "pageSize": "页面大小",
    "pageSizeCustom": "自定义",
    "customPageWidth": "页面宽度",
    "customPageHeight": "页面高度",
    "pageOrientation": "页面方向",
    "pageMargin": "页边距",
    "top": "上",
    "right": "右",
    "bottom": "下",
    "left": "左",
    "showPageNumber": "显示页码",
    "pageNumberSettings": "页码设置",
    "pageNumberPosition": "页码位置",
    "pageNumberPositionFooter": "页脚",
    "pageNumberPositionHeader": "页眉",
    "pageNumberAlign": "对齐方式",
    "pageNumberFormat": "显示格式",
    "pageNumberFormatChinese": "第 1 页 / 共 10 页",
    "pageNumberFormatFraction": "1 / 10",
    "pageNumberFormatEnglish": "Page 1 of 10",
    "pageNumberFontSize": "字号",
    "pageNumberColor": "颜色",
    
    "enableAutoGenerate": "启用自动生成",
    "generateTrigger": "触发时机",
    
    "enableWatermark": "启用水印",
    "watermarkText": "水印文字",
    "watermarkOpacity": "透明度",
    "watermarkAngle": "角度",
    
    "elementLibrary": "元素库",
    "canvas": "画布",
    "properties": "属性",
    "dragElementHere": "点击左侧元素添加到画布",
    "selectElementToEdit": "选择元素以编辑属性",
    
    "basicProperties": "基本属性",
    "elementType": "元素类型",
    "content": "内容",
    "fieldName": "字段名",
    "fieldLabel": "标签",
    "format": "格式",
    "dataSource": "数据源",
    "columns": "列配置",
    "sealType": "签章类型",
    
    "position": "位置",
    "width": "宽度",
    "height": "高度",
    
    "style": "样式",
    "fontSize": "字号",
    "fontWeight": "字重",
    "textAlign": "对齐",
    "alignLeft": "左对齐",
    "alignCenter": "居中",
    "alignRight": "右对齐",
    "color": "颜色",
    
    "publish": "发布",
    "unpublish": "取消发布",
    "builtin": "内置",
    
    "confirmDelete": "确定要删除此模板吗？",
    "confirmUnpublish": "确定要取消发布此模板吗？",
    "builtinCannotDelete": "内置模板不能删除",
    "publishSuccess": "发布成功",
    "unpublishSuccess": "取消发布成功",
    
    "pleaseInputName": "请输入模板名称",
    "pleaseInputCode": "请输入模板编码",
    "codeFormatError": "编码必须以字母开头，只能包含字母、数字和下划线",
    "pleaseInputNameAndCode": "请输入模板名称和编码",
    "pleaseInputFormCode": "请输入关联表单编码",
    "pleaseInputWorkflowCode": "请输入关联流程编码",
    "pleaseSelectWorkflow": "请选择关联工作流（可选）",
    "pleaseInputWatermarkText": "请输入水印文字",
    
    "newCode": "新编码",
    "newName": "新名称",
    
    "previewFailed": "预览失败",
    
    "generateDocument": "生成文档",
    "regenerate": "重新生成",
    "downloadDocument": "下载文档",
    "documentName": "文档名称",
    "documentNo": "文档编号",
    "generateTime": "生成时间",
    "generator": "生成人",
    "downloadCount": "下载次数",
    
    "sealName": "签章名称",
    "sealImage": "签章图片",
    "uploadSeal": "上传签章",
    "sealOwner": "使用权限",
    "sealScope": "使用范围",
    
    "noDocuments": "暂无文档",
    "selectTemplate": "选择模板",
    "pleaseSelectTemplate": "请选择模板",
    "generate": "生成",
    "generateSuccess": "生成成功",
    "generateFailed": "生成失败",
    "regenerateSuccess": "重新生成成功",
    "regenerateFailed": "重新生成失败",
    "pageCount": "页数",
    "fileSize": "文件大小",
    "generateType": "生成方式",
    "auto": "自动",
    "manual": "手动",
    
    "elementText": "文本",
    "elementField": "字段",
    "elementTable": "表格",
    "elementImage": "图片",
    "selectImage": "选择图片",
    "elementSignature": "签名",
    "elementSeal": "签章",
    "elementQrcode": "二维码",
    "elementDivider": "分割线",
    
    "noDataSource": "（未设置数据源）",
    "signatureDefault": "签名",
    "fieldNamePlaceholder": "如: applicant_name",
    "fieldLabelPlaceholder": "如: 申请人：",
    "dataSourcePlaceholder": "如: expense_items",
    "columnFieldPlaceholder": "字段",
    "columnLabelPlaceholder": "标题",
    "columnWidthPlaceholder": "宽度",
    "signatureFieldPlaceholder": "签名字段名",
    
    "formatNone": "无",
    "formatDate": "日期",
    "formatDatetime": "日期时间",
    "formatMoney": "金额",
    "formatNumber": "数字",
    
    "sealCompany": "公司公章",
    "sealDepartment": "部门章",
    "sealPersonal": "个人章",
    "sealFinance": "财务章",
    "sealContract": "合同章",
    
    "selectedSeal": "已选签章",
    "selectSeal": "选择签章",
    "noSealSelected": "未选择签章",
    "noSealImage": "无图片",
    "noAvailableSeals": "暂无可用签章",
    "clearSeal": "清除签章",
    "sealLabel": "签章标签",
    "sealLabelPlaceholder": "请输入签章标签（如：盖章处）",
    "allTypes": "全部类型",
    "noSealsOfType": "该类型下暂无签章",
    
    "pleaseInputText": "请输入文本",
    "fieldPrefix": "字段：",
    "column": "列",
    "addColumn": "添加列",
    
    "notSet": "未设置",
    "notSetDataSource": "未设置数据源",
    
    "documents": "文档",

    "categoryLeave": "请假",
    "categoryExpense": "报销",
    "categoryPurchase": "采购",
    "categoryContract": "合同",
    "categoryCertificate": "证明",
    "categoryOther": "其他",

    "statusPublished": "已发布",
    "statusDraft": "草稿",

    "orientationPortrait": "纵向",
    "orientationLandscape": "横向",

    "triggerOnApprove": "审批通过时",
    "triggerOnSubmit": "提交时",
    "triggerOnComplete": "流程结束时",

    "deleteConfirmTitle": "删除确认",
    "deleteSuccess": "模板 {name} 已删除",
    "unpublishConfirmTitle": "取消发布确认",

    "copyTitle": "复制模板",
    "copyCodePlaceholder": "请输入新模板的编码",
    "copyCodeRule": "编码只能包含字母、数字、下划线和短横线",
    "copy": "复制",
    "copySuccess": "复制成功",
    "importExport": {
      "export": "导出",
      "import": "导入配置",
      "exportSuccess": "单据模板配置已导出",
      "exportFailed": "导出失败",
      "importTitle": "导入单据模板",
      "dragOrClick": "拖拽 JSON 文件到此处或点击上传",
      "onlyJson": "仅支持 .json 格式文件",
      "fileParseError": "文件解析失败，请确认文件格式正确",
      "checking": "正在检查...",
      "codeConflictTip": "模板编码已存在，请修改编码后再导入",
      "codeAvailable": "模板编码可用，可以导入",
      "newCodePlaceholder": "请输入新的模板编码",
      "importSuccess": "单据模板导入成功",
      "importFailed": "导入失败",
      "confirmImport": "确认导入",
      "reselect": "重新选择",
      "templateInfo": "模板信息",
      "appTip": "导入的模板将归属到当前应用，状态为草稿",
      "bindingTip": "请确认关联的表单/流程编码在目标环境中存在，否则生成单据时可能异常"
    },

    "design": "设计",
    "editInfo": "编辑信息",
    "createSuccess": "创建成功",
    "saveSuccess": "保存成功",
    "autoSave": {
      "saving": "保存中...",
      "saved": "已保存",
      "unsaved": "未保存"
    },

    "layoutElements": "布局容器",
    "headerElements": "表头区域",
    "infoElements": "信息区域",
    "tableElements": "表格区域",
    "contentElements": "文本内容",
    "approvalElements": "审批区域",
    "otherElements": "其他元素",
    "footerElements": "页脚区域",
    
    "rowContainer": "行容器",
    "columnCount": "列数",
    "columnWidths": "列宽设置",
    "columnGap": "列间距",
    "addRowColumn": "添加列",
    "removeRowColumn": "删除列",
    "dropElementHere": "拖拽元素到此处",

    "documentHeader": "文档页眉",
    "documentTitle": "文档标题",
    "documentInfo": "单据信息",
    "infoRow": "信息行",
    "infoTable": "信息表格",
    "smartTable": "智能表格",
    "smartText": "智能文本",
    "smartTextPlaceholder": "输入文本内容...",
    "smartTextItalic": "斜体",
    "smartTextUnderline": "下划线",
    "smartTextStrikethrough": "删除线",
    "smartTextUnorderedList": "无序列表",
    "smartTextOrderedList": "有序列表",
    "smartTextLineHeight": "行高",
    "smartTextHeading": "标题",
    "smartTextParagraph": "正文",
    "smartTextH1": "标题 1",
    "smartTextH2": "标题 2",
    "smartTextH3": "标题 3",
    "smartTextInsertTable": "插入表格",
    "smartTextRemoveTable": "移除表格",
    "smartTableRows": "行数",
    "smartTableCols": "列数",
    "smartTableAddRow": "添加行",
    "smartTableAddCol": "添加列",
    "smartTableDeleteRow": "删除行",
    "smartTableDeleteCol": "删除列",
    "smartTableMergeCells": "合并单元格",
    "smartTableSplitCell": "拆分单元格",
    "smartTableCellContent": "单元格内容",
    "smartTableSelectCells": "请先选中要操作的单元格",
    "smartTableInsertText": "输入文本或插入变量",
    "smartTableInsertRowAbove": "在上方插入行",
    "smartTableInsertRowBelow": "在下方插入行",
    "smartTableInsertColLeft": "在左侧插入列",
    "smartTableInsertColRight": "在右侧插入列",
    "smartTableClearContent": "清除内容",
    "smartTableBold": "加粗",
    "smartTableFontSize": "字号",
    "smartTableFontColor": "字体颜色",
    "smartTableBgColor": "背景颜色",
    "smartTableToggleBorder": "边框设置",
    "borderAll": "所有边框",
    "borderOuter": "外边框",
    "borderInner": "内边框",
    "borderHorizontal": "水平边框",
    "borderVertical": "垂直边框",
    "borderColorLabel": "边框颜色",
    "customColor": "自定义",
    "smartTableColumnWidths": "列宽设置",
    "labelField": "标签字段",
    "detailTable": "明细表格",
    "amountField": "金额字段",
    "paragraph": "段落文本",
    "richText": "富文本",
    "approvalArea": "审批区域",
    "barcode": "条形码",
    "spacer": "空白间距",
    "documentFooter": "文档页脚",

    "searchElements": "搜索元素",
    "elementTitle": "标题",
    "elementParagraph": "段落",

    "documentTemplate": "文档模板",
    "elements": "个元素",

    "viewJSON": "查看JSON",
    "jsonPreview": "JSON预览",
    "copyCode": "复制代码",
    "importConfig": "导入配置",
    "pasteJsonConfig": "请粘贴JSON配置",
    "importSuccess": "导入成功",
    "exportSuccess": "导出成功",
    "configFormatError": "配置格式错误",
    "copiedToClipboard": "已复制到剪贴板",
    "copyFailed": "复制失败",
    "pleaseEnterConfig": "请输入配置",
    "pleaseAddElements": "请先添加元素",
    "previewNotImplemented": "预览功能暂未实现",
    "pdfPreview": "PDF预览",
    "generatingPreview": "正在生成预览...",
    "noPreviewContent": "暂无预览内容",
    "saveBeforePreview": "请先保存模板后再预览",
    "viewHTML": "查看HTML",
    "htmlPreview": "HTML预览",
    "htmlPreviewFailed": "HTML预览失败",
    "clearCanvasConfirm": "确定要清空画布吗？此操作不可撤销。",
    "cleared": "已清空",
    "releaseToAdd": "释放以添加元素",

    "elementProperties": "元素属性",
    "templateSettings": "模板设置",

    "signatureZone": "签名区域",
    "sealZone": "签章区域",
    "qrcodeContent": "二维码内容",
    "qrcodeContentPlaceholder": "请输入二维码内容或字段名",
    "qrcodeType": "二维码类型",
    "qrcodeTypeText": "文本",
    "qrcodeTypeUrl": "网址链接",
    "qrcodeTypePhone": "电话号码",
    "qrcodeTypeEmail": "电子邮件",
    "signatureFieldName": "签名字段名",
    "dividerLine": "分割线",
    "sourceCode": "源码",
    "pagePreview": "页面",
    "fontFamily": "字体",
    "defaultFont": "默认字体",
    "lineHeight": "行高",
    "fontWeightNormal": "正常",
    "fontWeightBold": "粗体",
    "alignJustify": "两端对齐",
    "titlePlaceholder": "请输入标题",
    "contentPlaceholder": "请输入内容，支持使用 {{变量名}} 插入变量",
    "imageUrl": "图片地址",
    "imageUrlPlaceholder": "请输入图片URL或字段名",
    "imageLabelPlaceholder": "如：签名、审批人等",
    "labelPosition": "标签位置",
    "labelPositionTop": "上方",
    "labelPositionBottom": "下方",
    "labelPositionLeft": "左侧",
    "labelPositionRight": "右侧",
    "labelFontSize": "标签字体大小",
    "showUnderline": "显示下划线",
    "lineStyle": "线条样式",
    "lineSolid": "实线",
    "lineDashed": "虚线",
    "lineDotted": "点线",
    "lineWidth": "线条宽度",
    "lineColor": "线条颜色",
    "showPrintDate": "显示打印日期",
    "footerContentPlaceholder": "请输入页脚内容",
    "yes": "是",
    "no": "否",
    "fieldsConfig": "字段配置",
    "rowsConfig": "行配置",
    "field": "字段",
    "row": "行",
    "addField": "添加字段",
    "addRow": "添加行",
    "newField": "新字段",
    "label": "标签",
    "value": "值",
    "labelWidth": "标签宽度",
    "labelBgColor": "标签背景色",
    "labelColor": "标签字体颜色",
    "fieldFontSize": "字段字体大小",
    "fieldColor": "字段字体颜色",
    "valueFontSize": "值字体大小",
    "valueColor": "值字体颜色",
    "fontSettings": "字体设置",
    "fontColor": "字体颜色",
    "labelFontWeight": "标签加粗",
    "headerBgColor": "表头背景色",
    "headerFontSize": "表头字体大小",
    "headerColor": "表头字体颜色",
    "headerFontWeight": "表头加粗",
    "labelSettings": "标签设置",
    "contentFontSize": "内容字体大小",
    "contentColor": "内容字体颜色",
    "columnWidth": "列宽",
    "showIndex": "显示序号",
    "indexWidth": "序号宽度",
    "noBackground": "无背景色",
    "borderStyle": "边框样式",
    "borderNone": "无边框",
    "insertVariable": "插入变量",
    "searchVariable": "搜索变量...",
    "noVariables": "暂无变量",
    "otherVariables": "其他",
    "varApplicant": "申请人",
    "varDepartment": "部门",
    "varPosition": "职位",
    "varApplyDate": "申请日期",
    "varDocNo": "单据编号",
    "varCreateDate": "创建日期",
    "varPhone": "电话",
    "varEmail": "邮箱",
    "varTotalAmount": "合计金额",
    "varRemark": "备注",

    "placeholder": {
      "name": "搜索模板名称"
    },
    "groupFormFields": "表单字段",
    "groupCalculationFields": "计算字段",
    "groupSubTablePrefix": "子表: ",
    "subTableDataSourceSuffix": "（数据源）",
    "subTableFirstRowSuffix": "（首行）",
    "nameSuffix": "（名称）",
    "companyName": "公司名称",
    "headerType": "页眉类型",
    "noImage": "暂无图片",
    "positionMode": "定位模式",
    "positionInline": "文档流",
    "positionFloat": "悬浮"
  },
  "calculation": {
    "title": "计算配置",
    "enableCalculation": "启用计算配置",
    "enableCalculationHint": "开启后可在计算配置步骤中定义计算字段和聚合字段",
    "calculationFields": "计算字段",
    "aggregationFields": "聚合字段",
    "calculationField": "计算字段",
    "aggregationField": "聚合字段",
    "noCalculationFields": "暂无计算字段，点击添加按钮创建",
    "noAggregationFields": "暂无聚合字段，点击添加按钮创建",
    "fieldName": "字段名",
    "fieldLabel": "字段标签",
    "fieldNamePlaceholder": "如: total_amount",
    "fieldLabelPlaceholder": "如: 合计金额",
    "formula": "计算公式",
    "formulaPlaceholder": "如: quantity * unit_price * (1 - discount_rate)",
    "formulaHint": "支持运算符: +, -, *, /, %, ** | 函数: round, abs, numberToChinese | 可引用其他字段和聚合结果",
    "format": "格式化",
    "formatNumber": "数字",
    "formatMoney": "金额",
    "formatPercent": "百分比",
    "formatChinese": "中文大写",
    "decimalPlaces": "小数位数",
    "dataSource": "数据源",
    "selectSubTable": "请选择子表",
    "aggregateField": "聚合字段",
    "selectField": "请选择字段",
    "aggregateFunction": "聚合函数",
    "funcSum": "求和",
    "funcAvg": "平均值",
    "funcMax": "最大值",
    "funcMin": "最小值",
    "funcCount": "计数",
    "usageTitle": "使用说明",
    "usageHint1": "聚合字段用于对子表数据进行汇总计算（如订单明细的金额合计）",
    "usageHint2": "计算字段用于基于表单字段或聚合结果进行公式计算",
    "usageHint3": "计算结果可在单据模板中通过变量名引用（用双花括号包裹变量名）",
    "usageHint4": "中文大写格式会自动将数字转换为大写金额（如：壹仟贰佰叁拾肆元伍角陆分）",
    "positionMode": "定位模式",
    "positionInline": "文档流",
    "positionFloat": "悬浮",
    "floatX": "X 坐标",
    "floatY": "Y 坐标",
    "floatZIndex": "层级",
    "editorModeComponent": "组件模式",
    "editorModeWysiwyg": "文档模式",
    "wysiwygInsertImage": "插入图片",
    "wysiwygInsertSeal": "插入签章",
    "wysiwygPageCount": "共 {count} 页",
    "hideAttributePanel": "隐藏属性面板",
    "showAttributePanel": "显示属性面板"
  }
}
