feat(i18n): added nb-NO (Norwegian) (#1795)
This commit is contained in:
parent
4901472aa8
commit
9b47279fe6
2 changed files with 86 additions and 0 deletions
|
@ -25,6 +25,7 @@ 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"
|
import fi from "./locales/fi-FI"
|
||||||
|
import no from "./locales/nb-NO"
|
||||||
|
|
||||||
export const TRANSLATIONS = {
|
export const TRANSLATIONS = {
|
||||||
"en-US": enUs,
|
"en-US": enUs,
|
||||||
|
@ -74,6 +75,7 @@ export const TRANSLATIONS = {
|
||||||
"th-TH": th,
|
"th-TH": th,
|
||||||
"lt-LT": lt,
|
"lt-LT": lt,
|
||||||
"fi-FI": fi,
|
"fi-FI": fi,
|
||||||
|
"nb-NO": no,
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export const defaultTranslation = "en-US"
|
export const defaultTranslation = "en-US"
|
||||||
|
|
84
quartz/i18n/locales/nb-NO.ts
Normal file
84
quartz/i18n/locales/nb-NO.ts
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
import { Translation } from "./definition"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
propertyDefaults: {
|
||||||
|
title: "Uten navn",
|
||||||
|
description: "Ingen beskrivelse angitt",
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
callout: {
|
||||||
|
note: "Notis",
|
||||||
|
abstract: "Abstrakt",
|
||||||
|
info: "Info",
|
||||||
|
todo: "Husk på",
|
||||||
|
tip: "Tips",
|
||||||
|
success: "Suksess",
|
||||||
|
question: "Spørsmål",
|
||||||
|
warning: "Advarsel",
|
||||||
|
failure: "Feil",
|
||||||
|
danger: "Farlig",
|
||||||
|
bug: "Bug",
|
||||||
|
example: "Eksempel",
|
||||||
|
quote: "Sitat",
|
||||||
|
},
|
||||||
|
backlinks: {
|
||||||
|
title: "Tilbakekoblinger",
|
||||||
|
noBacklinksFound: "Ingen tilbakekoblinger funnet",
|
||||||
|
},
|
||||||
|
themeToggle: {
|
||||||
|
lightMode: "Lys modus",
|
||||||
|
darkMode: "Mørk modus",
|
||||||
|
},
|
||||||
|
explorer: {
|
||||||
|
title: "Utforsker",
|
||||||
|
},
|
||||||
|
footer: {
|
||||||
|
createdWith: "Laget med",
|
||||||
|
},
|
||||||
|
graph: {
|
||||||
|
title: "Graf-visning",
|
||||||
|
},
|
||||||
|
recentNotes: {
|
||||||
|
title: "Nylige notater",
|
||||||
|
seeRemainingMore: ({ remaining }) => `Se ${remaining} til →`,
|
||||||
|
},
|
||||||
|
transcludes: {
|
||||||
|
transcludeOf: ({ targetSlug }) => `Transkludering of ${targetSlug}`,
|
||||||
|
linkToOriginal: "Lenke til original",
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
title: "Søk",
|
||||||
|
searchBarPlaceholder: "Søk etter noe",
|
||||||
|
},
|
||||||
|
tableOfContents: {
|
||||||
|
title: "Oversikt",
|
||||||
|
},
|
||||||
|
contentMeta: {
|
||||||
|
readingTime: ({ minutes }) => `${minutes} min lesning`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
pages: {
|
||||||
|
rss: {
|
||||||
|
recentNotes: "Nylige notat",
|
||||||
|
lastFewNotes: ({ count }) => `Siste ${count} notat`,
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
title: "Ikke funnet",
|
||||||
|
notFound: "Enten er denne siden privat eller så finnes den ikke.",
|
||||||
|
home: "Returner til hovedsiden",
|
||||||
|
},
|
||||||
|
folderContent: {
|
||||||
|
folder: "Mappe",
|
||||||
|
itemsUnderFolder: ({ count }) =>
|
||||||
|
count === 1 ? "1 gjenstand i denne mappen." : `${count} gjenstander i denne mappen.`,
|
||||||
|
},
|
||||||
|
tagContent: {
|
||||||
|
tag: "Tagg",
|
||||||
|
tagIndex: "Tagg Indeks",
|
||||||
|
itemsUnderTag: ({ count }) =>
|
||||||
|
count === 1 ? "1 gjenstand med denne taggen." : `${count} gjenstander med denne taggen.`,
|
||||||
|
showingFirst: ({ count }) => `Viser første ${count} tagger.`,
|
||||||
|
totalTags: ({ count }) => `Fant totalt ${count} tagger.`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
} as const satisfies Translation
|
Loading…
Add table
Reference in a new issue