diff --git a/src/components/MermaidToExcalidraw.tsx b/src/components/MermaidToExcalidraw.tsx index 53e26f7f9..09b153b5c 100644 --- a/src/components/MermaidToExcalidraw.tsx +++ b/src/components/MermaidToExcalidraw.tsx @@ -17,6 +17,8 @@ import "./MermaidToExcalidraw.scss"; import { MermaidToExcalidrawResult } from "@excalidraw/mermaid-to-excalidraw/dist/interfaces"; import { MermaidOptions } from "@excalidraw/mermaid-to-excalidraw"; +import { t } from "../i18n"; +import Trans from "./Trans"; const LOCAL_STORAGE_KEY_MERMAID_TO_EXCALIDRAW = "mermaid-to-excalidraw"; const MERMAID_EXAMPLE = @@ -197,17 +199,18 @@ const MermaidToExcalidraw = ({ title={ <>
- Mermaid to Excalidraw + {t("mermaid.title")}
- Currently only{" "} - - flowcharts - {" "} - are supported. The other types will be rendered as image in - Excalidraw.