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 { 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")}>
|
||||
|
||||
@ -65,7 +65,7 @@ export default {
|
||||
: `${minutes} دقائق للقراءة`,
|
||||
},
|
||||
pageCount: {
|
||||
totalItems: ({ count }) => `${count} ملاحظات`,
|
||||
totalItems: ({ count }) => `${count} ملاحظة`,
|
||||
},
|
||||
},
|
||||
pages: {
|
||||
|
||||
@ -60,7 +60,7 @@ export default {
|
||||
readingTime: ({ minutes }) => `${minutes} min read`,
|
||||
},
|
||||
pageCount: {
|
||||
totalItems: ({ count }) => `${count}건의 페이지`,
|
||||
totalItems: ({ count }) => `${count} 건`,
|
||||
},
|
||||
},
|
||||
pages: {
|
||||
|
||||
@ -60,7 +60,7 @@ export default {
|
||||
readingTime: ({ minutes }) => `${minutes} min lesning`,
|
||||
},
|
||||
pageCount: {
|
||||
totalItems: ({ count }) => `${count} notater`,
|
||||
totalItems: ({ count }) => `${count} notat`,
|
||||
},
|
||||
},
|
||||
pages: {
|
||||
|
||||
@ -60,7 +60,7 @@ export default {
|
||||
readingTime: ({ minutes }) => `${minutes} dakika okuma süresi`,
|
||||
},
|
||||
pageCount: {
|
||||
totalItems: ({ count }) => `${count} notlar`,
|
||||
totalItems: ({ count }) => `${count} not`,
|
||||
},
|
||||
},
|
||||
pages: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user