feat(i18n): add i18n support for Markdown alert (#1269)

* docs: add blockquote with custom alert title

* feat: add alert types to i18n and update blockquote rendering

* fix: wrong translation key

* feat: add alert title translation for all supported languages

Done by AI
This commit is contained in:
Jimmy
2026-02-18 20:07:59 +01:00
committed by GitHub
parent 470295171e
commit 3a0d70ebbd
35 changed files with 254 additions and 18 deletions
+7
View File
@@ -22,6 +22,13 @@ darkMode = "ธีมมืด"
one = "น่าจะใช้เวลา {{ .Count }} นาทีในการอ่าน"
other = "น่าจะใช้เวลา {{ .Count }} นาทีในการอ่าน"
[article.alert]
note = "หมายเหตุ"
tip = "เคล็ดลับ"
important = "สำคัญ"
warning = "คำเตือน"
caution = "ระวัง"
[notFound]
title = "ไม่พบหัวข้อ"
subtitle = "ไม่พบหน้านี้ในระบบ"