db5e701810
* feat(i18n): support parsing callouts Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> * chore: move callout into components Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> * chore: update arabic translation Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> * fix: make sure to use correct items Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --------- Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
81 lines
2.1 KiB
TypeScript
81 lines
2.1 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",
|
|
},
|
|
},
|
|
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
|