mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-27 05:46:22 +00:00
3518ca9e2a
* feat(i18n): localize the min read string fixes #825 * chore: format
83 lines
2.2 KiB
TypeScript
83 lines
2.2 KiB
TypeScript
import { Translation } from "./definition"
|
|
|
|
export default {
|
|
propertyDefaults: {
|
|
title: "Sans titre",
|
|
description: "Aucune description fournie",
|
|
},
|
|
components: {
|
|
callout: {
|
|
note: "Note",
|
|
abstract: "Résumé",
|
|
info: "Info",
|
|
todo: "À faire",
|
|
tip: "Conseil",
|
|
success: "Succès",
|
|
question: "Question",
|
|
warning: "Avertissement",
|
|
failure: "Échec",
|
|
danger: "Danger",
|
|
bug: "Bogue",
|
|
example: "Exemple",
|
|
quote: "Citation",
|
|
},
|
|
backlinks: {
|
|
title: "Liens retour",
|
|
noBacklinksFound: "Aucun lien retour trouvé",
|
|
},
|
|
themeToggle: {
|
|
lightMode: "Mode clair",
|
|
darkMode: "Mode sombre",
|
|
},
|
|
explorer: {
|
|
title: "Explorateur",
|
|
},
|
|
footer: {
|
|
createdWith: "Créé avec",
|
|
},
|
|
graph: {
|
|
title: "Vue Graphique",
|
|
},
|
|
recentNotes: {
|
|
title: "Notes Récentes",
|
|
seeRemainingMore: ({ remaining }) => `Voir ${remaining} de plus →`,
|
|
},
|
|
transcludes: {
|
|
transcludeOf: ({ targetSlug }) => `Transclusion de ${targetSlug}`,
|
|
linkToOriginal: "Lien vers l'original",
|
|
},
|
|
search: {
|
|
title: "Recherche",
|
|
searchBarPlaceholder: "Rechercher quelque chose",
|
|
},
|
|
tableOfContents: {
|
|
title: "Table des Matières",
|
|
},
|
|
contentMeta: {
|
|
readingTime: ({ minutes }) => `${minutes} min read`,
|
|
},
|
|
},
|
|
pages: {
|
|
rss: {
|
|
recentNotes: "Notes récentes",
|
|
lastFewNotes: ({ count }) => `Les dernières ${count} notes`,
|
|
},
|
|
error: {
|
|
title: "Pas trouvé",
|
|
notFound: "Cette page est soit privée, soit elle n'existe pas.",
|
|
},
|
|
folderContent: {
|
|
folder: "Dossier",
|
|
itemsUnderFolder: ({ count }) =>
|
|
count === 1 ? "1 élément sous ce dossier" : `${count} éléments sous ce dossier.`,
|
|
},
|
|
tagContent: {
|
|
tag: "Étiquette",
|
|
tagIndex: "Index des étiquettes",
|
|
itemsUnderTag: ({ count }) =>
|
|
count === 1 ? "1 élément avec cette étiquette" : `${count} éléments avec cette étiquette.`,
|
|
showingFirst: ({ count }) => `Affichage des premières ${count} étiquettes.`,
|
|
totalTags: ({ count }) => `Trouvé ${count} étiquettes au total.`,
|
|
},
|
|
},
|
|
} as const satisfies Translation
|