Skip to content

Commit 0ecb859

Browse files
authored
feat(i18n): update Italian translations for coherency (#2189)
Update Italian translation for better plurals and idioms consistency
1 parent 2fdc812 commit 0ecb859

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

quartz/i18n/locales/it-IT.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
components: {
99
callout: {
1010
note: "Nota",
11-
abstract: "Astratto",
11+
abstract: "Abstract",
1212
info: "Info",
1313
todo: "Da fare",
1414
tip: "Consiglio",
@@ -17,7 +17,7 @@ export default {
1717
warning: "Attenzione",
1818
failure: "Errore",
1919
danger: "Pericolo",
20-
bug: "Bug",
20+
bug: "Problema",
2121
example: "Esempio",
2222
quote: "Citazione",
2323
},
@@ -43,27 +43,28 @@ export default {
4343
},
4444
recentNotes: {
4545
title: "Note recenti",
46-
seeRemainingMore: ({ remaining }) => `Vedi ${remaining} altro →`,
46+
seeRemainingMore: ({ remaining }) =>
47+
remaining === 1 ? "Vedi 1 altra →" : `Vedi altre ${remaining} →`,
4748
},
4849
transcludes: {
49-
transcludeOf: ({ targetSlug }) => `Transclusione di ${targetSlug}`,
50+
transcludeOf: ({ targetSlug }) => `Inclusione di ${targetSlug}`,
5051
linkToOriginal: "Link all'originale",
5152
},
5253
search: {
5354
title: "Cerca",
5455
searchBarPlaceholder: "Cerca qualcosa",
5556
},
5657
tableOfContents: {
57-
title: "Tabella dei contenuti",
58+
title: "Indice",
5859
},
5960
contentMeta: {
60-
readingTime: ({ minutes }) => `${minutes} minuti`,
61+
readingTime: ({ minutes }) => (minutes === 1 ? "1 minuto" : `${minutes} minuti`),
6162
},
6263
},
6364
pages: {
6465
rss: {
6566
recentNotes: "Note recenti",
66-
lastFewNotes: ({ count }) => `Ultime ${count} note`,
67+
lastFewNotes: ({ count }) => (count === 1 ? "Ultima nota" : `Ultime ${count} note`),
6768
},
6869
error: {
6970
title: "Non trovato",
@@ -80,8 +81,9 @@ export default {
8081
tagIndex: "Indice etichette",
8182
itemsUnderTag: ({ count }) =>
8283
count === 1 ? "1 oggetto con questa etichetta." : `${count} oggetti con questa etichetta.`,
83-
showingFirst: ({ count }) => `Prime ${count} etichette.`,
84-
totalTags: ({ count }) => `Trovate ${count} etichette totali.`,
84+
showingFirst: ({ count }) => (count === 1 ? "Prima etichetta." : `Prime ${count} etichette.`),
85+
totalTags: ({ count }) =>
86+
count === 1 ? "Trovata 1 etichetta in totale." : `Trovate ${count} etichette totali.`,
8587
},
8688
},
8789
} as const satisfies Translation

0 commit comments

Comments
 (0)