From bec726b666ca0051bb14eb62926c57fe2d98a70e Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 06 Feb 2024 00:40:39 +0000
Subject: [PATCH] fix(i18n): forgot a string

---
 quartz/components/renderPage.tsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/quartz/components/renderPage.tsx b/quartz/components/renderPage.tsx
index fa8305d..1ed05a7 100644
--- a/quartz/components/renderPage.tsx
+++ b/quartz/components/renderPage.tsx
@@ -104,7 +104,9 @@
                 type: "element",
                 tagName: "a",
                 properties: { href: inner.properties?.href, class: ["internal"] },
-                children: [{ type: "text", value: `Link to original` }],
+                children: [
+                  { type: "text", value: i18n(cfg.locale).components.transcludes.linkToOriginal },
+                ],
               },
             ]
           }

--
Gitblit v1.10.0