From 74606a1bd372ff61373b5a41f00edc9c7cb0e9f6 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Thu, 03 Jul 2025 19:40:29 +0000
Subject: [PATCH] fix(emoji): map multi-unicode emoji properly (#2037)
---
quartz/i18n/locales/definition.ts | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/locales/definition.ts b/quartz/i18n/locales/definition.ts
index de607eb..ee1649a 100644
--- a/quartz/i18n/locales/definition.ts
+++ b/quartz/i18n/locales/definition.ts
@@ -1,11 +1,28 @@
import { FullSlug } from "../../util/path"
+export interface CalloutTranslation {
+ note: string
+ abstract: string
+ info: string
+ todo: string
+ tip: string
+ success: string
+ question: string
+ warning: string
+ failure: string
+ danger: string
+ bug: string
+ example: string
+ quote: string
+}
+
export interface Translation {
propertyDefaults: {
title: string
description: string
}
components: {
+ callout: CalloutTranslation
backlinks: {
title: string
noBacklinksFound: string
@@ -14,6 +31,9 @@
lightMode: string
darkMode: string
}
+ readerMode: {
+ title: string
+ }
explorer: {
title: string
}
@@ -38,6 +58,9 @@
tableOfContents: {
title: string
}
+ contentMeta: {
+ readingTime: (variables: { minutes: number }) => string
+ }
}
pages: {
rss: {
@@ -47,6 +70,7 @@
error: {
title: string
notFound: string
+ home: string
}
folderContent: {
folder: string
--
Gitblit v1.10.0