mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
- Replace English fallbacks with proper translations in all 30 locale files (ar-SA, ca-ES, cs-CZ, de-DE, es-ES, fa-IR, fi-FI, fr-FR, he-IL, hu-HU, id-ID, it-IT, ja-JP, kk-KZ, ko-KR, lt-LT, nb-NO, nl-NL, pl-PL, pt-BR, ro-RO, ru-RU, th-TH, tr-TR, uk-UA, vi-VN, zh-CN, zh-TW) - Word order adapted per language for loadMoreTemplate token placement (de, hu, kk, ko, tr: count/remaining before unit words; ja: counter suffix pattern; he: reversed token order for natural Hebrew flow) - RTL languages (ar-SA, fa-IR, he-IL) translated with correct directionality - Fix Prettier formatting on RecentChanges.tsx and recentChanges.ts (CI fix) - Note: machine-generated translations — native speaker corrections welcome
98 lines
2.6 KiB
TypeScript
98 lines
2.6 KiB
TypeScript
import { Translation } from "./definition"
|
|
|
|
export default {
|
|
propertyDefaults: {
|
|
title: "Sin título",
|
|
description: "Sin descripción",
|
|
},
|
|
components: {
|
|
callout: {
|
|
note: "Nota",
|
|
abstract: "Resumen",
|
|
info: "Información",
|
|
todo: "Por hacer",
|
|
tip: "Consejo",
|
|
success: "Éxito",
|
|
question: "Pregunta",
|
|
warning: "Advertencia",
|
|
failure: "Fallo",
|
|
danger: "Peligro",
|
|
bug: "Error",
|
|
example: "Ejemplo",
|
|
quote: "Cita",
|
|
},
|
|
backlinks: {
|
|
title: "Retroenlaces",
|
|
noBacklinksFound: "No se han encontrado retroenlaces",
|
|
},
|
|
themeToggle: {
|
|
lightMode: "Modo claro",
|
|
darkMode: "Modo oscuro",
|
|
},
|
|
readerMode: {
|
|
title: "Modo lector",
|
|
},
|
|
explorer: {
|
|
title: "Explorador",
|
|
},
|
|
footer: {
|
|
createdWith: "Creado con",
|
|
},
|
|
graph: {
|
|
title: "Vista Gráfica",
|
|
},
|
|
recentNotes: {
|
|
title: "Notas Recientes",
|
|
seeRemainingMore: ({ remaining }) => `Vea ${remaining} más →`,
|
|
},
|
|
recentChanges: {
|
|
title: "Cambios recientes",
|
|
filterAll: "Todos",
|
|
filterNew: "Nuevos",
|
|
filterUpdated: "Actualizados",
|
|
loadMoreTemplate: "Cargar {count} más · {remaining} restantes",
|
|
noChanges: "No se encontraron cambios recientes.",
|
|
badgeNew: "Nuevo",
|
|
badgeUpdated: "Editado",
|
|
},
|
|
transcludes: {
|
|
transcludeOf: ({ targetSlug }) => `Transcluido de ${targetSlug}`,
|
|
linkToOriginal: "Enlace al original",
|
|
},
|
|
search: {
|
|
title: "Buscar",
|
|
searchBarPlaceholder: "Busca algo",
|
|
},
|
|
tableOfContents: {
|
|
title: "Tabla de Contenidos",
|
|
},
|
|
contentMeta: {
|
|
readingTime: ({ minutes }) => `Se lee en ${minutes} min`,
|
|
},
|
|
},
|
|
pages: {
|
|
rss: {
|
|
recentNotes: "Notas recientes",
|
|
lastFewNotes: ({ count }) => `Últimas ${count} notas`,
|
|
},
|
|
error: {
|
|
title: "No se ha encontrado.",
|
|
notFound: "Esta página es privada o no existe.",
|
|
home: "Regresa a la página principal",
|
|
},
|
|
folderContent: {
|
|
folder: "Carpeta",
|
|
itemsUnderFolder: ({ count }) =>
|
|
count === 1 ? "1 artículo en esta carpeta." : `${count} artículos en esta carpeta.`,
|
|
},
|
|
tagContent: {
|
|
tag: "Etiqueta",
|
|
tagIndex: "Índice de Etiquetas",
|
|
itemsUnderTag: ({ count }) =>
|
|
count === 1 ? "1 artículo con esta etiqueta." : `${count} artículos con esta etiqueta.`,
|
|
showingFirst: ({ count }) => `Mostrando las primeras ${count} etiquetas.`,
|
|
totalTags: ({ count }) => `Se han encontrado ${count} etiquetas en total.`,
|
|
},
|
|
},
|
|
} as const satisfies Translation
|