{
  "app": {
    "name": "Zamena Masla GP",
    "tagline": "Auto parts inventory"
  },
  "nav": {
    "dashboard": "Dashboard",
    "parts": "Parts",
    "new_sale": "New sale",
    "movements": "Movements",
    "suppliers": "Suppliers",
    "admin": "Admin",
    "new_part": "New part",
    "new_movement": "Record movement"
  },
  "lang": {
    "switch_to_tg": "Тоҷикӣ",
    "switch_to_en": "English",
    "switch_aria": "Switch language"
  },
  "common": {
    "save": "Save",
    "cancel": "Cancel",
    "delete": "Delete",
    "search": "Search",
    "clear": "Clear",
    "actions": "Actions",
    "back": "Back",
    "yes": "Yes",
    "no": "No",
    "loading": "Loading…",
    "none": "—",
    "edit": "Edit",
    "add": "Add",
    "submit": "Submit",
    "created": "Created",
    "updated": "Updated",
    "value": "Value",
    "total": "Total",
    "currency_short": "TJS",
    "missing_translation": "(missing translation)"
  },
  "dashboard": {
    "title": "Dashboard",
    "total_skus": "Total parts",
    "low_stock": "At or below reorder level",
    "inventory_value": "Inventory value (at cost)",
    "low_stock_list": "Low stock",
    "recent_movements": "Recent movements"
  },
  "parts": {
    "title": "Parts",
    "new": "New part",
    "edit": "Edit part",
    "sku": "SKU",
    "name": "Name",
    "name_en": "Name (English)",
    "name_tg": "Name (Tajik)",
    "description": "Description",
    "description_en": "Description (English)",
    "description_tg": "Description (Tajik)",
    "category": "Category",
    "unit": "Unit",
    "cost_price": "Cost price",
    "sale_price": "Sale price",
    "quantity_on_hand": "On hand",
    "reorder_level": "Reorder level",
    "location": "Location",
    "barcode": "Barcode",
    "active": "Active",
    "search_placeholder": "Search by name or barcode…",
    "no_results": "No parts match your search.",
    "all": "All",
    "recent_movements": "Recent movements",
    "initial_quantity": "Initial quantity",
    "delete_confirm": "Deactivate part \"{name}\"? It will be hidden from lists, but movements and counts will be kept.",
    "errors": {
      "sku_required": "SKU is required.",
      "name_required": "At least one name (English or Tajik) is required.",
      "sku_taken": "That SKU is already used."
    }
  },
  "movements": {
    "title": "Stock movements",
    "new": "Record movement",
    "type": "Type",
    "type_in": "In (receive)",
    "type_out": "Out (sale / use)",
    "type_adjust": "Adjust (set on-hand)",
    "part": "Part",
    "quantity": "Quantity",
    "unit_price": "Unit price",
    "supplier": "Supplier",
    "reference": "Reference",
    "notes": "Notes",
    "created_at": "When",
    "no_movements": "No movements recorded yet.",
    "errors": {
      "part_required": "Pick a part.",
      "quantity_required": "Quantity must be a positive whole number.",
      "not_enough_stock": "Not enough stock on hand."
    }
  },
  "admin": {
    "title": "Admin",
    "tabs": {
      "backups": "Backups",
      "reports": "Reports",
      "categories": "Categories"
    },
    "login": {
      "title": "Admin sign-in",
      "intro": "Enter the admin password to continue.",
      "password": "Password",
      "submit": "Sign in",
      "wrong_password": "Wrong password. Try again."
    },
    "backups_heading": "Backups & Restore",
    "warning_title": "Important: copy backups to a USB stick regularly!",
    "warning_body": "Backups are kept on this computer only. If the hard drive fails, all of your data and all backups will be lost. At least once a week, plug in a USB stick and click the Download button next to a recent backup, then save the file onto the stick.",
    "backup_now": "Back up now",
    "auto_note": "A backup is taken automatically every 5 minutes when there are changes.",
    "list_title": "Available backups",
    "no_backups": "No backups yet.",
    "created_at": "When",
    "size": "Size",
    "download": "Download",
    "restore": "Restore",
    "restore_confirm": "Restore the database from this backup? The current data will be replaced (a safety backup of the current data will be made first).",
    "prune_note": "Backups from the last 7 days are kept in full. Older backups are thinned to one per day automatically.",
    "flash": {
      "backup_taken": "Backup created.",
      "backup_failed": "Backup failed. See the server logs.",
      "restored": "Database restored.",
      "restore_failed": "Restore failed. See the server logs."
    }
  },
  "reports": {
    "sales_heading": "Sales",
    "inventory_heading": "Inventory",
    "today": "Today",
    "last_7_days": "Last 7 days",
    "this_month": "This month",
    "all_time": "All time",
    "invoices": "invoices",
    "active_skus": "Active parts",
    "units_on_hand": "Units on hand",
    "cost_value": "Value (at cost)",
    "low_stock": "Low stock",
    "out_of_stock": "Out of stock",
    "top_parts": "Top selling parts",
    "units_sold": "Units sold",
    "revenue": "Revenue",
    "sale": "Sale",
    "cog": "COG",
    "profit": "Profit",
    "recent_sales": "Recent sales",
    "saved_at": "Saved",
    "lines": "Lines",
    "view": "View",
    "no_sales_yet": "No sales recorded yet."
  },
  "invoices": {
    "title": "New sale",
    "saved_title": "Invoice",
    "add_part": "Add a part",
    "add_custom": "Add custom line",
    "custom_label": "Description",
    "custom_placeholder": "e.g. Labor, delivery, discount",
    "item": "Item",
    "no_inventory_impact": "Custom line — no inventory change",
    "lines": "Lines on this invoice",
    "no_lines": "No lines yet — add a part or a custom line to get started.",
    "line_total": "Line total",
    "running_total": "Running total",
    "save": "Save Invoice",
    "cancel": "Cancel invoice",
    "cancel_confirm": "Permanently discard this draft? All added lines will be lost.",
    "saved_total": "Total",
    "saved_thanks": "Scan the QR code below to pay.",
    "qr_alt": "Payment QR code",
    "new_another": "Start a new sale",
    "errors": {
      "part_required": "Pick a part.",
      "quantity_required": "Quantity must be a positive whole number.",
      "label_required": "Description is required for custom lines.",
      "not_enough_stock": "One or more lines exceed available stock. Adjust quantities and try again.",
      "empty": "Add at least one line before saving.",
      "save_failed": "Could not save the invoice. Please try again.",
      "add_failed": "Could not add this line.",
      "update_failed": "Could not update this line.",
      "line_missing": "Line not found."
    }
  },
  "categories": {
    "title": "Categories",
    "intro": "Deleting a category does not delete its parts; they become uncategorized.",
    "sort": "Sort",
    "sort_order": "Sort order",
    "part_count": "Parts",
    "add": "Add a category",
    "add_button": "Add category",
    "delete_confirm": "Delete \"{name}\"?",
    "delete_confirm_with_parts": "Delete \"{name}\"? {count} part(s) will become uncategorized (not deleted).",
    "errors": {
      "name_required": "At least one name (English or Tajik) is required.",
      "sort_invalid": "Sort order must be a number.",
      "id_missing": "Missing category id."
    }
  },
  "suppliers": {
    "title": "Suppliers",
    "name": "Name",
    "phone": "Phone",
    "address": "Address",
    "notes": "Notes",
    "add": "Add supplier",
    "no_suppliers": "No suppliers yet.",
    "delete_confirm": "Delete this supplier?",
    "errors": {
      "name_required": "Supplier name is required."
    }
  }
}
