{
  "title": "Documents",
  "salesInvoice": "Sales invoice",
  "purchaseInvoice": "Purchase invoice",
  "invoiceTemplates": "Invoice templates",
  "templatePreview": "Template preview",
  "downloadPdf": "Download PDF",
  "useTemplate": "Use template",
  "activeTemplate": "Active template",
  "labels": {
    "invoice": "Invoice",
    "date": "Date",
    "status": "Status",
    "customer": "Customer",
    "vendor": "Vendor",
    "subtotal": "Subtotal",
    "total": "Total",
    "paid": "Paid",
    "balance": "Balance",
    "qty": "Qty",
    "unitPrice": "Unit price",
    "amount": "Amount"
  },
  "pdf": {
    "documentTitle": "Sales Invoice",
    "billTo": "Bill To",
    "date": "Date",
    "invoiceId": "Invoice ID",
    "status": "Status",
    "rowNumber": "#",
    "description": "Description",
    "qty": "Qty",
    "unitPrice": "Unit Price",
    "amount": "Amount",
    "subtotal": "Subtotal",
    "paid": "Paid",
    "balanceDue": "Balance Due",
    "total": "Total",
    "thankYou": "Thank you for your business!",
    "footerNote": "Generated by Custoray"
  },
  "entity": {
    "salesInvoice": "sales invoice",
    "purchaseInvoice": "purchase invoice"
  },
  "table": {
    "invoiceNumber": "Invoice #",
    "items": "Items",
    "totalAmount": "Total amount",
    "paidAmount": "Paid amount",
    "newSalesInvoice": "New Sales Invoice",
    "searchSales": "Search sales invoices...",
    "newPurchaseInvoice": "New Purchase Invoice",
    "searchPurchases": "Search purchase invoices..."
  },
  "sheet": {
    "createSales": "Create sales invoice",
    "editSales": "Edit sales invoice",
    "createPurchase": "Create purchase invoice",
    "editPurchase": "Edit purchase invoice",
    "addSalesHint": "Add customer, line items, and payment details. Saving is demo only.",
    "addPurchaseHint": "Add vendor, line items, and payment details. Saving is demo only.",
    "invoiceDetails": "Invoice details",
    "id": "ID {{id}}",
    "createInvoice": "Create invoice",
    "saveInvoice": "Save invoice"
  },
  "toasts": {
    "removedNamed": "Removed {{name}} (demo).",
    "duplicatedNamed": "Duplicated {{name}} (demo).",
    "removedSalesCount": "Removed {{count}} sales invoice(s) (demo).",
    "removedPurchaseCount": "Removed {{count}} purchase invoice(s) (demo).",
    "customerRequired": "Customer name is required.",
    "vendorRequired": "Vendor name is required.",
    "lineRequired": "Add at least one line item with a product name.",
    "salesCreated": "Sales invoice created (demo).",
    "salesSaved": "Sales invoice saved (demo).",
    "purchaseCreated": "Purchase invoice created (demo).",
    "purchaseSaved": "Purchase invoice saved (demo).",
    "pdfFailed": "Could not download invoice PDF.",
    "activeNow": "{{name}} is now the active invoice template.",
    "customRemoved": "Custom template removed."
  },
  "templatesPage": {
    "title": "Invoice templates",
    "intro": "Four built-in layouts are read-only. Use one as-is, or create a custom copy to edit colors, fields, and text. Custom templates appear in your library below.",
    "create": "Create template",
    "presetLayouts": "Preset layouts",
    "customSection": "Your custom templates",
    "emptyCustom": "No custom templates yet. Click Customize on a preset or Create template to build your own.",
    "myTemplate": "My {{name}} template",
    "defaultName": "My invoice template",
    "basedOn": "Based on {{name}}.",
    "customBasedOn": "Custom template based on {{name}}.",
    "notFound": "Template not found.",
    "backToTemplates": "Back to templates",
    "templates": "Templates",
    "portraitPreview": "Portrait A4 preview",
    "activeHint": "This is your active invoice template",
    "clickToSelect": "Click preview to select this template",
    "clickCard": "Click card to select",
    "selectAria": "Select {{name}} as invoice template",
    "activeAria": "{{name}} — active template",
    "customize": "Customize",
    "preview": "Preview",
    "custom": "Custom",
    "active": "Active"
  },
  "presets": {
    "classic": {
      "name": "Classic",
      "description": "Green accent with bold dark totals — the default Custoray look."
    },
    "minimal": {
      "name": "Minimal",
      "description": "Clean monochrome layout with subtle borders and lots of whitespace."
    },
    "modern": {
      "name": "Modern",
      "description": "Teal highlights and soft panels for a contemporary feel."
    },
    "professional": {
      "name": "Professional",
      "description": "Navy and gold tones suited for formal B2B invoices."
    }
  },
  "colors": {
    "accent": "Accent",
    "accentMuted": "Accent light",
    "headerBg": "Header background",
    "headerText": "Header text",
    "tableHeadBg": "Table header",
    "tableHeadText": "Table header text",
    "billToBg": "Bill-to panel",
    "billToBorder": "Borders",
    "grandTotalBg": "Total bar",
    "grandTotalText": "Total text"
  },
  "builder": {
    "editTitle": "Edit custom template",
    "createTitle": "Create custom template",
    "editHint": "Update your saved template. Built-in presets cannot be changed.",
    "createHint": "Built-in presets are read-only. Your changes are saved as a new custom template.",
    "tabFields": "Fields",
    "tabText": "Text",
    "tabCompany": "Company",
    "tabColors": "Colors",
    "fieldsHint": "Show or hide sections on the invoice. Data fills automatically from orders and company settings.",
    "resetText": "Reset all text & fields",
    "companyHint": "Leave blank to use values from Settings → Company. Overrides apply only to this template.",
    "openCompanySettings": "Open company settings",
    "companyName": "Company name",
    "tagline": "Tagline",
    "address": "Address",
    "phoneEmail": "Phone & email",
    "logo": "Logo",
    "uploadLogo": "Upload logo",
    "useCompanyLogo": "Use company logo",
    "baseLayout": "Base layout",
    "templateColors": "Template colors",
    "resetColors": "Reset colors",
    "templateName": "Template name",
    "namePlaceholder": "My branded invoice",
    "saveChanges": "Save changes",
    "saveCustom": "Save custom template",
    "livePreview": "Live preview (portrait A4)",
    "chooseImage": "Please choose an image file for the logo.",
    "logoUpdated": "Logo updated for this template.",
    "logoFailed": "Could not upload logo.",
    "resetBuilder": "Builder reset to defaults.",
    "resetColorsToast": "Colors reset to layout defaults.",
    "enterName": "Enter a name for your custom template.",
    "customUpdated": "Custom template updated.",
    "customSaved": "Custom template saved.",
    "groups": {
      "company": "Company",
      "invoice": "Invoice details",
      "customer": "Customer",
      "items": "Line items",
      "totals": "Totals",
      "footer": "Footer"
    },
    "labelFields": {
      "documentTitle": "Document title",
      "billToLabel": "Bill-to label",
      "dateLabel": "Date label",
      "invoiceIdLabel": "Invoice ID label",
      "statusLabel": "Status label",
      "rowNumberColumn": "Row # column",
      "descriptionColumn": "Description column",
      "qtyColumn": "Qty column",
      "rateColumn": "Unit price column",
      "amountColumn": "Amount column",
      "subtotalLabel": "Subtotal label",
      "paidLabel": "Paid label",
      "balanceLabel": "Balance due label",
      "totalLabel": "Total label",
      "thankYouMessage": "Thank-you message",
      "footerNote": "Footer note"
    }
  },
  "mergeFields": {
    "company_logo": "Company logo",
    "company_name": "Company name",
    "company_tagline": "Tagline",
    "company_address": "Address",
    "company_contact": "Phone & email",
    "document_title": "Document title",
    "invoice_number": "Invoice number",
    "invoice_date": "Invoice date",
    "invoice_id": "Internal ID",
    "invoice_status": "Status",
    "bill_to": "Bill to label",
    "customer_name": "Customer name",
    "customer_notes": "Customer notes",
    "line_items": "Line items table",
    "line_row_number": "Row # column",
    "line_description": "Description column",
    "line_qty": "Quantity column",
    "line_unit_price": "Unit price column",
    "line_amount": "Amount column",
    "subtotal": "Subtotal",
    "paid": "Paid amount",
    "balance_due": "Balance due",
    "total": "Grand total",
    "thank_you": "Thank you message",
    "footer": "Footer note"
  },
  "customizePanel": {
    "title": "Invoice text & colors",
    "hint": "PDF invoice styling only — does not follow app theme colors.",
    "labelsMessages": "Labels & messages",
    "resetText": "Reset text to defaults"
  }
}
