{
  "documentGenerator": {
    "title": "Document Generator",
    "templateManagement": "Template Management",
    "sealManagement": "Seal Management",
    "documentList": "Document List",
    
    "addTemplate": "Add Template",
    "editTemplate": "Edit Template",
    "copyTemplate": "Copy Template",
    "previewTemplate": "Preview Template",
    
    "templateName": "Template Name",
    "templateCode": "Template Code",
    "category": "Category",
    "formCode": "Form Code",
    "workflowCode": "Workflow Code",
    "bindingType": "Binding Type",
    "bindToWorkflow": "Bind to Workflow",
    "bindToForm": "Bind to Form",
    "workflowLinkedForm": "Workflow linked form",
    
    "basicInfo": "Basic Info",
    "pageSettings": "Page Settings",
    "autoGenerate": "Auto Generate",
    "watermark": "Watermark",
    "templateDesign": "Template Design",
    
    "pageSize": "Page Size",
    "pageSizeCustom": "Custom",
    "customPageWidth": "Page Width",
    "customPageHeight": "Page Height",
    "pageOrientation": "Orientation",
    "pageMargin": "Page Margin",
    "top": "Top",
    "right": "Right",
    "bottom": "Bottom",
    "left": "Left",
    "showPageNumber": "Show Page Number",
    "pageNumberSettings": "Page Number",
    "pageNumberPosition": "Position",
    "pageNumberPositionFooter": "Footer",
    "pageNumberPositionHeader": "Header",
    "pageNumberAlign": "Alignment",
    "pageNumberFormat": "Format",
    "pageNumberFormatChinese": "第 1 页 / 共 10 页",
    "pageNumberFormatFraction": "1 / 10",
    "pageNumberFormatEnglish": "Page 1 of 10",
    "pageNumberFontSize": "Font Size",
    "pageNumberColor": "Color",
    
    "enableAutoGenerate": "Enable Auto Generate",
    "generateTrigger": "Trigger",
    
    "enableWatermark": "Enable Watermark",
    "watermarkText": "Watermark Text",
    "watermarkOpacity": "Opacity",
    "watermarkAngle": "Angle",
    
    "elementLibrary": "Element Library",
    "canvas": "Canvas",
    "properties": "Properties",
    "dragElementHere": "Click elements on the left to add to canvas",
    "selectElementToEdit": "Select an element to edit properties",
    
    "basicProperties": "Basic Properties",
    "elementType": "Element Type",
    "content": "Content",
    "fieldName": "Field Name",
    "fieldLabel": "Label",
    "format": "Format",
    "dataSource": "Data Source",
    "columns": "Columns",
    "sealType": "Seal Type",
    
    "position": "Position",
    "width": "Width",
    "height": "Height",
    
    "style": "Style",
    "fontSize": "Font Size",
    "fontWeight": "Font Weight",
    "textAlign": "Text Align",
    "alignLeft": "Left",
    "alignCenter": "Center",
    "alignRight": "Right",
    "color": "Color",
    
    "publish": "Publish",
    "unpublish": "Unpublish",
    "builtin": "Built-in",
    
    "confirmDelete": "Are you sure to delete this template?",
    "confirmUnpublish": "Are you sure to unpublish this template?",
    "builtinCannotDelete": "Built-in templates cannot be deleted",
    "publishSuccess": "Published successfully",
    "unpublishSuccess": "Unpublished successfully",
    
    "pleaseInputName": "Please input template name",
    "pleaseInputCode": "Please input template code",
    "codeFormatError": "Code must start with a letter and contain only letters, numbers and underscores",
    "pleaseInputNameAndCode": "Please input template name and code",
    "pleaseInputFormCode": "Please input form code",
    "pleaseInputWorkflowCode": "Please input workflow code",
    "pleaseSelectWorkflow": "Please select workflow (optional)",
    "pleaseSelectForm": "Please select form",
    "pleaseInputWatermarkText": "Please input watermark text",
    
    "newCode": "New Code",
    "newName": "New Name",
    
    "previewFailed": "Preview failed",
    
    "generateDocument": "Generate Document",
    "regenerate": "Regenerate",
    "downloadDocument": "Download Document",
    "documentName": "Document Name",
    "documentNo": "Document No.",
    "generateTime": "Generate Time",
    "generator": "Generator",
    "downloadCount": "Download Count",
    
    "sealName": "Seal Name",
    "sealImage": "Seal Image",
    "uploadSeal": "Upload Seal",
    "sealOwner": "Owner",
    "sealScope": "Scope",
    
    "noDocuments": "No documents",
    "selectTemplate": "Select Template",
    "pleaseSelectTemplate": "Please select a template",
    "generate": "Generate",
    "generateSuccess": "Generated successfully",
    "generateFailed": "Generate failed",
    "regenerateSuccess": "Regenerated successfully",
    "regenerateFailed": "Regenerate failed",
    "pageCount": "Pages",
    "fileSize": "File Size",
    "generateType": "Type",
    "auto": "Auto",
    "manual": "Manual",
    
    "elementText": "Text",
    "elementField": "Field",
    "elementTable": "Table",
    "elementImage": "Image",
    "selectImage": "Select Image",
    "elementSignature": "Signature",
    "elementSeal": "Seal",
    "elementQrcode": "QR Code",
    "elementDivider": "Divider",
    
    "noDataSource": "(No data source)",
    "signatureDefault": "Signature",
    "fieldNamePlaceholder": "e.g. applicant_name",
    "fieldLabelPlaceholder": "e.g. Applicant:",
    "dataSourcePlaceholder": "e.g. expense_items",
    "columnFieldPlaceholder": "Field",
    "columnLabelPlaceholder": "Title",
    "columnWidthPlaceholder": "Width",
    "signatureFieldPlaceholder": "Signature field name",
    
    "formatNone": "None",
    "formatDate": "Date",
    "formatDatetime": "Datetime",
    "formatMoney": "Money",
    "formatNumber": "Number",
    
    "sealCompany": "Company Seal",
    "sealDepartment": "Department Seal",
    "sealPersonal": "Personal Seal",
    "sealFinance": "Finance Seal",
    "sealContract": "Contract Seal",
    
    "selectedSeal": "Selected Seal",
    "selectSeal": "Select Seal",
    "noSealSelected": "No seal selected",
    "noSealImage": "No image",
    "noAvailableSeals": "No available seals",
    "clearSeal": "Clear Seal",
    "sealLabel": "Seal Label",
    "sealLabelPlaceholder": "Enter seal label (e.g., Seal Here)",
    "allTypes": "All Types",
    "noSealsOfType": "No seals of this type",
    
    "pleaseInputText": "Please input text",
    "fieldPrefix": "Field: ",
    "column": "Column",
    "addColumn": "Add Column",
    
    "fontNormal": "Normal",
    "fontBold": "Bold",
    "alignLeft": "Left",
    "alignCenter": "Center",
    "alignRight": "Right",
    
    "notSet": "Not set",
    "notSetDataSource": "Data source not set",
    
    "documents": "Documents",

    "categoryLeave": "Leave",
    "categoryExpense": "Expense",
    "categoryPurchase": "Purchase",
    "categoryContract": "Contract",
    "categoryCertificate": "Certificate",
    "categoryOther": "Other",

    "statusPublished": "Published",
    "statusDraft": "Draft",

    "orientationPortrait": "Portrait",
    "orientationLandscape": "Landscape",

    "triggerOnApprove": "On Approval",
    "triggerOnSubmit": "On Submit",
    "triggerOnComplete": "On Complete",

    "deleteConfirmTitle": "Delete Confirmation",
    "deleteSuccess": "Template {name} deleted",
    "unpublishConfirmTitle": "Unpublish Confirmation",

    "copyTitle": "Copy Template",
    "copyCodePlaceholder": "Enter the new template code",
    "copyCodeRule": "Code can only contain letters, numbers, underscores and hyphens",
    "copy": "Copy",
    "copySuccess": "Copied successfully",
    "importExport": {
      "export": "Export Config",
      "import": "Import Config",
      "exportSuccess": "Template config exported",
      "exportFailed": "Export failed",
      "importTitle": "Import Document Template",
      "dragOrClick": "Drag JSON file here or click to upload",
      "onlyJson": "Only .json files are supported",
      "fileParseError": "Failed to parse file. Please check the format",
      "checking": "Checking...",
      "codeConflictTip": "Template code already exists. Enter a new code to import",
      "codeAvailable": "Template code is available",
      "newCodePlaceholder": "Enter a new template code",
      "importSuccess": "Template imported successfully",
      "importFailed": "Import failed",
      "confirmImport": "Confirm Import",
      "reselect": "Reselect",
      "templateInfo": "Template Info",
      "appTip": "Imported template belongs to the current app (draft status)",
      "bindingTip": "Ensure linked form/workflow codes exist in the target environment"
    },

    "design": "Design",
    "editInfo": "Edit Info",
    "createSuccess": "Created successfully",
    "saveSuccess": "Saved successfully",
    "autoSave": {
      "saving": "Saving...",
      "saved": "Saved",
      "unsaved": "Unsaved"
    },

    "layoutElements": "Layout",
    "headerElements": "Header Area",
    "infoElements": "Info Area",
    "tableElements": "Table Area",
    "contentElements": "Content",
    "approvalElements": "Approval Area",
    "otherElements": "Other Elements",
    "footerElements": "Footer Area",
    
    "rowContainer": "Row Container",
    "columnCount": "Column Count",
    "columnWidths": "Column Widths",
    "columnGap": "Column Gap",
    "addRowColumn": "Add Column",
    "removeRowColumn": "Remove Column",
    "dropElementHere": "Drop element here",

    "documentHeader": "Document Header",
    "documentTitle": "Document Title",
    "documentInfo": "Document Info",
    "infoRow": "Info Row",
    "infoTable": "Info Table",
    "smartTable": "Smart Table",
    "smartText": "Smart Text",
    "smartTextPlaceholder": "Type text here...",
    "smartTextItalic": "Italic",
    "smartTextUnderline": "Underline",
    "smartTextStrikethrough": "Strikethrough",
    "smartTextUnorderedList": "Unordered List",
    "smartTextOrderedList": "Ordered List",
    "smartTextLineHeight": "Line Height",
    "smartTextHeading": "Heading",
    "smartTextParagraph": "Paragraph",
    "smartTextH1": "Heading 1",
    "smartTextH2": "Heading 2",
    "smartTextH3": "Heading 3",
    "smartTextInsertTable": "Insert Table",
    "smartTextRemoveTable": "Remove Table",
    "smartTableRows": "Rows",
    "smartTableCols": "Columns",
    "smartTableAddRow": "Add Row",
    "smartTableAddCol": "Add Column",
    "smartTableDeleteRow": "Delete Row",
    "smartTableDeleteCol": "Delete Column",
    "smartTableMergeCells": "Merge Cells",
    "smartTableSplitCell": "Split Cell",
    "smartTableCellContent": "Cell Content",
    "smartTableSelectCells": "Please select cells first",
    "smartTableInsertText": "Enter text or insert variable",
    "smartTableInsertRowAbove": "Insert Row Above",
    "smartTableInsertRowBelow": "Insert Row Below",
    "smartTableInsertColLeft": "Insert Column Left",
    "smartTableInsertColRight": "Insert Column Right",
    "smartTableClearContent": "Clear Content",
    "smartTableBold": "Bold",
    "smartTableFontSize": "Font Size",
    "smartTableFontColor": "Font Color",
    "smartTableBgColor": "Background Color",
    "smartTableToggleBorder": "Border Settings",
    "borderAll": "All Borders",
    "borderOuter": "Outer Border",
    "borderInner": "Inner Border",
    "borderHorizontal": "Horizontal Border",
    "borderVertical": "Vertical Border",
    "borderColorLabel": "Border Color",
    "customColor": "Custom",
    "smartTableColumnWidths": "Column Widths",
    "labelField": "Label Field",
    "detailTable": "Detail Table",
    "amountField": "Amount Field",
    "paragraph": "Paragraph",
    "richText": "Rich Text",
    "approvalArea": "Approval Area",
    "barcode": "Barcode",
    "spacer": "Spacer",
    "documentFooter": "Document Footer",

    "searchElements": "Search elements",
    "elementTitle": "Title",
    "elementParagraph": "Paragraph",

    "documentTemplate": "Document Template",
    "elements": "elements",

    "viewJSON": "View JSON",
    "jsonPreview": "JSON Preview",
    "copyCode": "Copy Code",
    "importConfig": "Import Config",
    "pasteJsonConfig": "Paste JSON configuration",
    "importSuccess": "Imported successfully",
    "exportSuccess": "Exported successfully",
    "configFormatError": "Configuration format error",
    "copiedToClipboard": "Copied to clipboard",
    "copyFailed": "Copy failed",
    "pleaseEnterConfig": "Please enter configuration",
    "pleaseAddElements": "Please add elements first",
    "previewNotImplemented": "Preview not implemented yet",
    "pdfPreview": "PDF Preview",
    "generatingPreview": "Generating preview...",
    "noPreviewContent": "No preview content",
    "saveBeforePreview": "Please save the template before preview",
    "viewHTML": "View HTML",
    "htmlPreview": "HTML Preview",
    "htmlPreviewFailed": "HTML preview failed",
    "clearCanvasConfirm": "Are you sure to clear the canvas? This action cannot be undone.",
    "cleared": "Cleared",
    "releaseToAdd": "Release to add element",

    "elementProperties": "Element Properties",
    "templateSettings": "Template Settings",

    "signatureZone": "Signature Zone",
    "sealZone": "Seal Zone",
    "qrcodeContent": "QR Code Content",
    "qrcodeContentPlaceholder": "Enter QR code content or field name",
    "qrcodeType": "QR Code Type",
    "qrcodeTypeText": "Text",
    "qrcodeTypeUrl": "URL Link",
    "qrcodeTypePhone": "Phone Number",
    "qrcodeTypeEmail": "Email",
    "signatureFieldName": "Signature field name",
    "dividerLine": "Divider Line",
    "sourceCode": "Source",
    "pagePreview": "Preview",
    "fontFamily": "Font Family",
    "defaultFont": "Default Font",
    "lineHeight": "Line Height",
    "fontWeightNormal": "Normal",
    "fontWeightBold": "Bold",
    "alignJustify": "Justify",
    "titlePlaceholder": "Enter title",
    "contentPlaceholder": "Enter content, use {{variable}} to insert variables",
    "imageUrl": "Image URL",
    "imageUrlPlaceholder": "Enter image URL or field name",
    "imageLabelPlaceholder": "e.g. Signature, Approver",
    "labelPosition": "Label Position",
    "labelPositionTop": "Top",
    "labelPositionBottom": "Bottom",
    "labelPositionLeft": "Left",
    "labelPositionRight": "Right",
    "labelFontSize": "Label Font Size",
    "showUnderline": "Show Underline",
    "lineStyle": "Line Style",
    "lineSolid": "Solid",
    "lineDashed": "Dashed",
    "lineDotted": "Dotted",
    "lineWidth": "Line Width",
    "lineColor": "Line Color",
    "showPrintDate": "Show Print Date",
    "footerContentPlaceholder": "Enter footer content",
    "yes": "Yes",
    "no": "No",
    "fieldsConfig": "Fields Configuration",
    "rowsConfig": "Rows Configuration",
    "field": "Field",
    "row": "Row",
    "addField": "Add Field",
    "addRow": "Add Row",
    "newField": "New Field",
    "label": "Label",
    "value": "Value",
    "labelWidth": "Label Width",
    "labelBgColor": "Label Background",
    "labelColor": "Label Font Color",
    "fieldFontSize": "Field Font Size",
    "fieldColor": "Field Font Color",
    "valueFontSize": "Value Font Size",
    "valueColor": "Value Font Color",
    "fontSettings": "Font Settings",
    "fontColor": "Font Color",
    "labelFontWeight": "Label Bold",
    "headerBgColor": "Header Background",
    "headerFontSize": "Header Font Size",
    "headerColor": "Header Font Color",
    "headerFontWeight": "Header Bold",
    "labelSettings": "Label Settings",
    "contentFontSize": "Content Font Size",
    "contentColor": "Content Font Color",
    "columnWidth": "Width",
    "showIndex": "Show Index",
    "indexWidth": "Index Width",
    "noBackground": "No Background",
    "borderStyle": "Border Style",
    "borderNone": "No Border",
    "insertVariable": "Insert Variable",
    "searchVariable": "Search variables...",
    "noVariables": "No variables",
    "otherVariables": "Other",
    "varApplicant": "Applicant",
    "varDepartment": "Department",
    "varPosition": "Position",
    "varApplyDate": "Apply Date",
    "varDocNo": "Document No",
    "varCreateDate": "Create Date",
    "varPhone": "Phone",
    "varEmail": "Email",
    "varTotalAmount": "Total Amount",
    "varRemark": "Remark",

    "placeholder": {
      "name": "Search template name"
    },
    "groupFormFields": "Form Fields",
    "groupCalculationFields": "Calculation Fields",
    "groupSubTablePrefix": "Sub Table: ",
    "subTableDataSourceSuffix": " (Data Source)",
    "subTableFirstRowSuffix": " (First Row)",
    "nameSuffix": " (Name)",
    "companyName": "Company Name",
    "headerType": "Header Type",
    "noImage": "No Image",
    "positionMode": "Position Mode",
    "positionInline": "Inline",
    "positionFloat": "Float"
  },
  "calculation": {
    "title": "Calculation Config",
    "enableCalculation": "Enable Calculation",
    "enableCalculationHint": "Enable to define calculation and aggregation fields in the calculation config step",
    "calculationFields": "Calculation Fields",
    "aggregationFields": "Aggregation Fields",
    "calculationField": "Calculation Field",
    "aggregationField": "Aggregation Field",
    "noCalculationFields": "No calculation fields, click add button to create",
    "noAggregationFields": "No aggregation fields, click add button to create",
    "fieldName": "Field Name",
    "fieldLabel": "Field Label",
    "fieldNamePlaceholder": "e.g. total_amount",
    "fieldLabelPlaceholder": "e.g. Total Amount",
    "formula": "Formula",
    "formulaPlaceholder": "e.g. quantity * unit_price * (1 - discount_rate)",
    "formulaHint": "Operators: +, -, *, /, %, ** | Functions: round, abs, numberToChinese | Can reference other fields and aggregation results",
    "format": "Format",
    "formatNumber": "Number",
    "formatMoney": "Money",
    "formatPercent": "Percent",
    "formatChinese": "Chinese Amount",
    "decimalPlaces": "Decimal Places",
    "dataSource": "Data Source",
    "selectSubTable": "Select sub table",
    "aggregateField": "Aggregate Field",
    "selectField": "Select field",
    "aggregateFunction": "Aggregate Function",
    "funcSum": "Sum",
    "funcAvg": "Average",
    "funcMax": "Maximum",
    "funcMin": "Minimum",
    "funcCount": "Count",
    "usageTitle": "Usage Guide",
    "usageHint1": "Aggregation fields are used to summarize sub-table data (e.g. total amount of order items)",
    "usageHint2": "Calculation fields are used for formula calculations based on form fields or aggregation results",
    "usageHint3": "Calculation results can be referenced in document templates by variable name (wrap with double curly braces)",
    "usageHint4": "Chinese format will automatically convert numbers to Chinese amount format",
    "positionMode": "Position Mode",
    "positionInline": "Inline",
    "positionFloat": "Float",
    "floatX": "X",
    "floatY": "Y",
    "floatZIndex": "Z-Index",
    "editorModeComponent": "Component",
    "editorModeWysiwyg": "Document",
    "wysiwygInsertImage": "Insert Image",
    "wysiwygInsertSeal": "Insert Seal",
    "wysiwygPageCount": "{count} pages",
    "hideAttributePanel": "Hide Properties",
    "showAttributePanel": "Show Properties"
  }
}
