From 8c5c5f9130c65fcc48412a24b0a6c98b254f1934 Mon Sep 17 00:00:00 2001
From: makondratev <69584771+makondratev@users.noreply.github.com>
Date: Sun, 18 Feb 2024 18:54:37 +0000
Subject: [PATCH] feat(i18n): add Russian (#886)
---
quartz/i18n/locales/definition.ts | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/locales/definition.ts b/quartz/i18n/locales/definition.ts
index de607eb..1d5d3dd 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
@@ -38,6 +55,9 @@
tableOfContents: {
title: string
}
+ contentMeta: {
+ readingTime: (variables: { minutes: number }) => string
+ }
}
pages: {
rss: {
--
Gitblit v1.10.0