mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
Merge branch 'page-count' of https://github.com/NONONOexe/quartz into page-count
This commit is contained in:
commit
1305a64ba6
@ -2,11 +2,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro
|
|||||||
import { classNames } from "../util/lang"
|
import { classNames } from "../util/lang"
|
||||||
import { i18n } from "../i18n"
|
import { i18n } from "../i18n"
|
||||||
|
|
||||||
const PageCount: QuartzComponent = ({
|
const PageCount: QuartzComponent = ({ allFiles, displayClass, cfg }: QuartzComponentProps) => {
|
||||||
allFiles,
|
|
||||||
displayClass,
|
|
||||||
cfg,
|
|
||||||
}: QuartzComponentProps) => {
|
|
||||||
const count = allFiles.length
|
const count = allFiles.length
|
||||||
return (
|
return (
|
||||||
<div class={classNames(displayClass, "page-count")}>
|
<div class={classNames(displayClass, "page-count")}>
|
||||||
|
|||||||
@ -65,7 +65,7 @@ export default {
|
|||||||
: `${minutes} دقائق للقراءة`,
|
: `${minutes} دقائق للقراءة`,
|
||||||
},
|
},
|
||||||
pageCount: {
|
pageCount: {
|
||||||
totalItems: ({ count }) => `${count} ملاحظات`,
|
totalItems: ({ count }) => `${count} ملاحظة`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pages: {
|
pages: {
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export default {
|
|||||||
readingTime: ({ minutes }) => `${minutes} min read`,
|
readingTime: ({ minutes }) => `${minutes} min read`,
|
||||||
},
|
},
|
||||||
pageCount: {
|
pageCount: {
|
||||||
totalItems: ({ count }) => `${count}건의 페이지`,
|
totalItems: ({ count }) => `${count} 건`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pages: {
|
pages: {
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export default {
|
|||||||
readingTime: ({ minutes }) => `${minutes} min lesning`,
|
readingTime: ({ minutes }) => `${minutes} min lesning`,
|
||||||
},
|
},
|
||||||
pageCount: {
|
pageCount: {
|
||||||
totalItems: ({ count }) => `${count} notater`,
|
totalItems: ({ count }) => `${count} notat`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pages: {
|
pages: {
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export default {
|
|||||||
readingTime: ({ minutes }) => `${minutes} dakika okuma süresi`,
|
readingTime: ({ minutes }) => `${minutes} dakika okuma süresi`,
|
||||||
},
|
},
|
||||||
pageCount: {
|
pageCount: {
|
||||||
totalItems: ({ count }) => `${count} notlar`,
|
totalItems: ({ count }) => `${count} not`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pages: {
|
pages: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user