Merge branch 'page-count' of https://github.com/NONONOexe/quartz into page-count

This commit is contained in:
Keisuke ANDO 2025-06-01 10:19:44 +09:00
commit 1305a64ba6
5 changed files with 5 additions and 9 deletions

View File

@ -2,11 +2,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro
import { classNames } from "../util/lang"
import { i18n } from "../i18n"
const PageCount: QuartzComponent = ({
allFiles,
displayClass,
cfg,
}: QuartzComponentProps) => {
const PageCount: QuartzComponent = ({ allFiles, displayClass, cfg }: QuartzComponentProps) => {
const count = allFiles.length
return (
<div class={classNames(displayClass, "page-count")}>

View File

@ -65,7 +65,7 @@ export default {
: `${minutes} دقائق للقراءة`,
},
pageCount: {
totalItems: ({ count }) => `${count} ملاحظات`,
totalItems: ({ count }) => `${count} ملاحظة`,
},
},
pages: {

View File

@ -60,7 +60,7 @@ export default {
readingTime: ({ minutes }) => `${minutes} min read`,
},
pageCount: {
totalItems: ({ count }) => `${count}건의 페이지`,
totalItems: ({ count }) => `${count}`,
},
},
pages: {

View File

@ -60,7 +60,7 @@ export default {
readingTime: ({ minutes }) => `${minutes} min lesning`,
},
pageCount: {
totalItems: ({ count }) => `${count} notater`,
totalItems: ({ count }) => `${count} notat`,
},
},
pages: {

View File

@ -60,7 +60,7 @@ export default {
readingTime: ({ minutes }) => `${minutes} dakika okuma süresi`,
},
pageCount: {
totalItems: ({ count }) => `${count} notlar`,
totalItems: ({ count }) => `${count} not`,
},
},
pages: {