From e77a051144663ea08571e0bfb7aef6f463463f78 Mon Sep 17 00:00:00 2001
From: siaikin <abc1310054026@outlook.com>
Date: Tue, 09 Sep 2025 03:06:28 +0000
Subject: [PATCH] feat(analytics): add support for Vercel Web Analytics provider (#2119)
---
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