{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "documents-content",
  "title": "Documents content",
  "description": "The words the documents blocks show on their own: generic defaults an app overrides from one place without editing block source.",
  "registryDependencies": [
    "@registrystack/lib-content"
  ],
  "files": [
    {
      "path": "documents/documents-content.tsx",
      "content": "import { useContentArea } from \"@/blocks/lib/content\";\n\n/**\n * The words the documents blocks show on their own: generic defaults an app\n * replaces with its own content through `ContentProvider`. Wording\n * shared by every role when reading evidence.\n */\nexport interface DocumentsContent {\n  view: string;\n  close: string;\n  previewHeading: string;\n  loading: string;\n  rendering: string;\n  unavailable: string;\n  retry: string;\n  page: string;\n  previous: string;\n  next: string;\n  zoomIn: string;\n  zoomOut: string;\n  fit: string;\n  rotate: string;\n  image: string;\n  text: string;\n  noText: string;\n  textUnavailable: string;\n  textHint: string;\n  selected: string;\n  selectedReplacement: string;\n  download: string;\n  /** The status line once a page has drawn: `{position}` is the page line, `{zoom}` the zoom as a percentage. */\n  previewStatus: string;\n}\n\nexport const documentsContent: DocumentsContent = {\n  view: \"View {document}\",\n  close: \"Close document\",\n  previewHeading: \"Document preview\",\n  loading: \"Opening document…\",\n  rendering: \"Rendering page…\",\n  unavailable:\n    \"This preview could not be opened. Download the document to read it, or refresh the request if the document has changed.\",\n  retry: \"Try preview again\",\n  page: \"Page {page} of {count}\",\n  previous: \"Previous document page\",\n  next: \"Next document page\",\n  zoomIn: \"Zoom in\",\n  zoomOut: \"Zoom out\",\n  fit: \"Fit width\",\n  rotate: \"Rotate clockwise\",\n  image: \"{document}, page {page}\",\n  text: \"Read page text\",\n  noText:\n    \"There is no selectable text on this page. It may be a scan or photograph.\",\n  textUnavailable:\n    \"Page text could not be read. The original document is available to download.\",\n  textHint:\n    \"Text from this page, in document order. Check the image for its layout.\",\n  selected:\n    \"Selected: {name} ({type}, {size}). Choose Add document to save it.\",\n  selectedReplacement:\n    \"Selected: {name} ({type}, {size}). Choose Replace document to save it.\",\n  download: \"Download {document}\",\n  previewStatus: \"{position}, {zoom}\",\n};\n\nexport function useDocumentsContent(): DocumentsContent {\n  return useContentArea(\"documents\", documentsContent);\n}\n",
      "type": "registry:block",
      "target": "@components/documents/documents-content.tsx"
    }
  ],
  "type": "registry:block"
}