feat(i18n): add Finnish translations for i18n (#1782)
This commit is contained in:
parent
5794405974
commit
1a02642469
2 changed files with 86 additions and 0 deletions
|
@ -24,6 +24,7 @@ import cs from "./locales/cs-CZ"
|
||||||
import tr from "./locales/tr-TR"
|
import tr from "./locales/tr-TR"
|
||||||
import th from "./locales/th-TH"
|
import th from "./locales/th-TH"
|
||||||
import lt from "./locales/lt-LT"
|
import lt from "./locales/lt-LT"
|
||||||
|
import fi from "./locales/fi-FI"
|
||||||
|
|
||||||
export const TRANSLATIONS = {
|
export const TRANSLATIONS = {
|
||||||
"en-US": enUs,
|
"en-US": enUs,
|
||||||
|
@ -72,6 +73,7 @@ export const TRANSLATIONS = {
|
||||||
"tr-TR": tr,
|
"tr-TR": tr,
|
||||||
"th-TH": th,
|
"th-TH": th,
|
||||||
"lt-LT": lt,
|
"lt-LT": lt,
|
||||||
|
"fi-FI": fi,
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export const defaultTranslation = "en-US"
|
export const defaultTranslation = "en-US"
|
||||||
|
|
84
quartz/i18n/locales/fi-FI.ts
Normal file
84
quartz/i18n/locales/fi-FI.ts
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
import { Translation } from "./definition"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
propertyDefaults: {
|
||||||
|
title: "Nimetön",
|
||||||
|
description: "Ei kuvausta saatavilla",
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
callout: {
|
||||||
|
note: "Merkintä",
|
||||||
|
abstract: "Tiivistelmä",
|
||||||
|
info: "Info",
|
||||||
|
todo: "Tehtävälista",
|
||||||
|
tip: "Vinkki",
|
||||||
|
success: "Onnistuminen",
|
||||||
|
question: "Kysymys",
|
||||||
|
warning: "Varoitus",
|
||||||
|
failure: "Epäonnistuminen",
|
||||||
|
danger: "Vaara",
|
||||||
|
bug: "Virhe",
|
||||||
|
example: "Esimerkki",
|
||||||
|
quote: "Lainaus",
|
||||||
|
},
|
||||||
|
backlinks: {
|
||||||
|
title: "Takalinkit",
|
||||||
|
noBacklinksFound: "Takalinkkejä ei löytynyt",
|
||||||
|
},
|
||||||
|
themeToggle: {
|
||||||
|
lightMode: "Vaalea tila",
|
||||||
|
darkMode: "Tumma tila",
|
||||||
|
},
|
||||||
|
explorer: {
|
||||||
|
title: "Selain",
|
||||||
|
},
|
||||||
|
footer: {
|
||||||
|
createdWith: "Luotu käyttäen",
|
||||||
|
},
|
||||||
|
graph: {
|
||||||
|
title: "Verkkonäkymä",
|
||||||
|
},
|
||||||
|
recentNotes: {
|
||||||
|
title: "Viimeisimmät muistiinpanot",
|
||||||
|
seeRemainingMore: ({ remaining }) => `Näytä ${remaining} lisää →`,
|
||||||
|
},
|
||||||
|
transcludes: {
|
||||||
|
transcludeOf: ({ targetSlug }) => `Upote kohteesta ${targetSlug}`,
|
||||||
|
linkToOriginal: "Linkki alkuperäiseen",
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
title: "Haku",
|
||||||
|
searchBarPlaceholder: "Hae jotain",
|
||||||
|
},
|
||||||
|
tableOfContents: {
|
||||||
|
title: "Sisällysluettelo",
|
||||||
|
},
|
||||||
|
contentMeta: {
|
||||||
|
readingTime: ({ minutes }) => `${minutes} min lukuaika`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
pages: {
|
||||||
|
rss: {
|
||||||
|
recentNotes: "Viimeisimmät muistiinpanot",
|
||||||
|
lastFewNotes: ({ count }) => `Viimeiset ${count} muistiinpanoa`,
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
title: "Ei löytynyt",
|
||||||
|
notFound: "Tämä sivu on joko yksityinen tai sitä ei ole olemassa.",
|
||||||
|
home: "Palaa etusivulle",
|
||||||
|
},
|
||||||
|
folderContent: {
|
||||||
|
folder: "Kansio",
|
||||||
|
itemsUnderFolder: ({ count }) =>
|
||||||
|
count === 1 ? "1 kohde tässä kansiossa." : `${count} kohdetta tässä kansiossa.`,
|
||||||
|
},
|
||||||
|
tagContent: {
|
||||||
|
tag: "Tunniste",
|
||||||
|
tagIndex: "Tunnisteluettelo",
|
||||||
|
itemsUnderTag: ({ count }) =>
|
||||||
|
count === 1 ? "1 kohde tällä tunnisteella." : `${count} kohdetta tällä tunnisteella.`,
|
||||||
|
showingFirst: ({ count }) => `Näytetään ensimmäiset ${count} tunnistetta.`,
|
||||||
|
totalTags: ({ count }) => `Löytyi yhteensä ${count} tunnistetta.`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
} as const satisfies Translation
|
Loading…
Add table
Reference in a new issue