fix: add space and missing dot for listing pages (#907)

This commit is contained in:
Eiko Wagenknecht 2024-02-20 15:45:10 +01:00 committed by GitHub
parent fc5fa48bf1
commit 3b266ee7d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 19 additions and 16 deletions

View File

@ -66,9 +66,12 @@ function TagContent(props: QuartzComponentProps) {
<p> <p>
{i18n(cfg.locale).pages.tagContent.itemsUnderTag({ count: pages.length })} {i18n(cfg.locale).pages.tagContent.itemsUnderTag({ count: pages.length })}
{pages.length > numPages && ( {pages.length > numPages && (
<span> <>
{i18n(cfg.locale).pages.tagContent.showingFirst({ count: numPages })} {" "}
</span> <span>
{i18n(cfg.locale).pages.tagContent.showingFirst({ count: numPages })}
</span>
</>
)} )}
</p> </p>
<PageList limit={numPages} {...listProps} /> <PageList limit={numPages} {...listProps} />

View File

@ -69,13 +69,13 @@ export default {
folderContent: { folderContent: {
folder: "Ordner", folder: "Ordner",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "1 Datei in diesem Ordner" : `${count} Dateien in diesem Ordner.`, count === 1 ? "1 Datei in diesem Ordner." : `${count} Dateien in diesem Ordner.`,
}, },
tagContent: { tagContent: {
tag: "Tag", tag: "Tag",
tagIndex: "Tag-Übersicht", tagIndex: "Tag-Übersicht",
itemsUnderTag: ({ count }) => itemsUnderTag: ({ count }) =>
count === 1 ? "1 Datei mit diesem Tag" : `${count} Dateien mit diesem Tag.`, count === 1 ? "1 Datei mit diesem Tag." : `${count} Dateien mit diesem Tag.`,
showingFirst: ({ count }) => `Die ersten ${count} Tags werden angezeigt.`, showingFirst: ({ count }) => `Die ersten ${count} Tags werden angezeigt.`,
totalTags: ({ count }) => `${count} Tags insgesamt.`, totalTags: ({ count }) => `${count} Tags insgesamt.`,
}, },

View File

@ -69,13 +69,13 @@ export default {
folderContent: { folderContent: {
folder: "Folder", folder: "Folder",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "1 item under this folder" : `${count} items under this folder.`, count === 1 ? "1 item under this folder." : `${count} items under this folder.`,
}, },
tagContent: { tagContent: {
tag: "Tag", tag: "Tag",
tagIndex: "Tag Index", tagIndex: "Tag Index",
itemsUnderTag: ({ count }) => itemsUnderTag: ({ count }) =>
count === 1 ? "1 item with this tag" : `${count} items with this tag.`, count === 1 ? "1 item with this tag." : `${count} items with this tag.`,
showingFirst: ({ count }) => `Showing first ${count} tags.`, showingFirst: ({ count }) => `Showing first ${count} tags.`,
totalTags: ({ count }) => `Found ${count} total tags.`, totalTags: ({ count }) => `Found ${count} total tags.`,
}, },

View File

@ -69,13 +69,13 @@ export default {
folderContent: { folderContent: {
folder: "Carpeta", folder: "Carpeta",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "1 artículo en esta carpeta" : `${count} artículos en esta carpeta.`, count === 1 ? "1 artículo en esta carpeta." : `${count} artículos en esta carpeta.`,
}, },
tagContent: { tagContent: {
tag: "Etiqueta", tag: "Etiqueta",
tagIndex: "Índice de Etiquetas", tagIndex: "Índice de Etiquetas",
itemsUnderTag: ({ count }) => itemsUnderTag: ({ count }) =>
count === 1 ? "1 artículo con esta etiqueta" : `${count} artículos con esta etiqueta.`, count === 1 ? "1 artículo con esta etiqueta." : `${count} artículos con esta etiqueta.`,
showingFirst: ({ count }) => `Mostrando las primeras ${count} etiquetas.`, showingFirst: ({ count }) => `Mostrando las primeras ${count} etiquetas.`,
totalTags: ({ count }) => `Se encontraron ${count} etiquetas en total.`, totalTags: ({ count }) => `Se encontraron ${count} etiquetas en total.`,
}, },

View File

@ -69,13 +69,13 @@ export default {
folderContent: { folderContent: {
folder: "Dossier", folder: "Dossier",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "1 élément sous ce dossier" : `${count} éléments sous ce dossier.`, count === 1 ? "1 élément sous ce dossier." : `${count} éléments sous ce dossier.`,
}, },
tagContent: { tagContent: {
tag: "Étiquette", tag: "Étiquette",
tagIndex: "Index des étiquettes", tagIndex: "Index des étiquettes",
itemsUnderTag: ({ count }) => itemsUnderTag: ({ count }) =>
count === 1 ? "1 élément avec cette étiquette" : `${count} éléments avec cette étiquette.`, count === 1 ? "1 élément avec cette étiquette." : `${count} éléments avec cette étiquette.`,
showingFirst: ({ count }) => `Affichage des premières ${count} étiquettes.`, showingFirst: ({ count }) => `Affichage des premières ${count} étiquettes.`,
totalTags: ({ count }) => `Trouvé ${count} étiquettes au total.`, totalTags: ({ count }) => `Trouvé ${count} étiquettes au total.`,
}, },

View File

@ -69,13 +69,13 @@ export default {
folderContent: { folderContent: {
folder: "Cartella", folder: "Cartella",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "1 oggetto in questa cartella" : `${count} oggetti in questa cartella.`, count === 1 ? "1 oggetto in questa cartella." : `${count} oggetti in questa cartella.`,
}, },
tagContent: { tagContent: {
tag: "Etichetta", tag: "Etichetta",
tagIndex: "Indice etichette", tagIndex: "Indice etichette",
itemsUnderTag: ({ count }) => itemsUnderTag: ({ count }) =>
count === 1 ? "1 oggetto con questa etichetta" : `${count} oggetti con questa etichetta.`, count === 1 ? "1 oggetto con questa etichetta." : `${count} oggetti con questa etichetta.`,
showingFirst: ({ count }) => `Prime ${count} etichette.`, showingFirst: ({ count }) => `Prime ${count} etichette.`,
totalTags: ({ count }) => `Trovate ${count} etichette totali.`, totalTags: ({ count }) => `Trovate ${count} etichette totali.`,
}, },

View File

@ -70,7 +70,7 @@ export default {
folderContent: { folderContent: {
folder: "Map", folder: "Map",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "1 item in deze map" : `${count} items in deze map.`, count === 1 ? "1 item in deze map." : `${count} items in deze map.`,
}, },
tagContent: { tagContent: {
tag: "Label", tag: "Label",

View File

@ -69,13 +69,13 @@ export default {
folderContent: { folderContent: {
folder: "Папка", folder: "Папка",
itemsUnderFolder: ({ count }) => itemsUnderFolder: ({ count }) =>
count === 1 ? "У цій папці 1 елемент" : `Елементів у цій папці: ${count}.`, count === 1 ? "У цій папці 1 елемент." : `Елементів у цій папці: ${count}.`,
}, },
tagContent: { tagContent: {
tag: "Тег", tag: "Тег",
tagIndex: "Індекс тегу", tagIndex: "Індекс тегу",
itemsUnderTag: ({ count }) => itemsUnderTag: ({ count }) =>
count === 1 ? "1 елемент з цим тегом" : `Елементів з цим тегом: ${count}.`, count === 1 ? "1 елемент з цим тегом." : `Елементів з цим тегом: ${count}.`,
showingFirst: ({ count }) => `Показ перших ${count} тегів.`, showingFirst: ({ count }) => `Показ перших ${count} тегів.`,
totalTags: ({ count }) => `Всього знайдено тегів: ${count}.`, totalTags: ({ count }) => `Всього знайдено тегів: ${count}.`,
}, },