mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 13:17:57 +01:00
feat(locale): add Norwegian Bokmål language (#3095)
This commit is contained in:
@@ -16,6 +16,7 @@ function getEmojiFlag(locale: string): string {
|
|||||||
en: 'gb',
|
en: 'gb',
|
||||||
ja: 'jp',
|
ja: 'jp',
|
||||||
ko: 'kr',
|
ko: 'kr',
|
||||||
|
nb: 'no',
|
||||||
sv: 'se',
|
sv: 'se',
|
||||||
uk: 'ua',
|
uk: 'ua',
|
||||||
vi: 'vn',
|
vi: 'vn',
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ export { default as id } from './id'
|
|||||||
export { default as it } from './it'
|
export { default as it } from './it'
|
||||||
export { default as ja } from './ja'
|
export { default as ja } from './ja'
|
||||||
export { default as ko } from './ko'
|
export { default as ko } from './ko'
|
||||||
|
export { default as nb_no } from './nb_no'
|
||||||
export { default as nl } from './nl'
|
export { default as nl } from './nl'
|
||||||
export { default as pl } from './pl'
|
export { default as pl } from './pl'
|
||||||
export { default as pt } from './pt'
|
export { default as pt } from './pt'
|
||||||
|
|||||||
55
src/runtime/locale/nb_no.ts
Normal file
55
src/runtime/locale/nb_no.ts
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
import { defineLocale } from '../composables/defineLocale'
|
||||||
|
|
||||||
|
export default defineLocale({
|
||||||
|
name: 'Norsk Bokmål',
|
||||||
|
code: 'nb-NO',
|
||||||
|
messages: {
|
||||||
|
inputMenu: {
|
||||||
|
noMatch: 'Ingen samsvarende data',
|
||||||
|
noData: 'Ingen data',
|
||||||
|
create: 'Opprett "{label}"'
|
||||||
|
},
|
||||||
|
calendar: {
|
||||||
|
prevYear: 'Forrige år',
|
||||||
|
nextYear: 'Neste år',
|
||||||
|
prevMonth: 'Forrige måned',
|
||||||
|
nextMonth: 'Neste måned'
|
||||||
|
},
|
||||||
|
inputNumber: {
|
||||||
|
increment: 'Øk',
|
||||||
|
decrement: 'Reduser'
|
||||||
|
},
|
||||||
|
commandPalette: {
|
||||||
|
placeholder: 'Skriv inn en kommando eller søk...',
|
||||||
|
noMatch: 'Ingen samsvarende data',
|
||||||
|
noData: 'Ingen data',
|
||||||
|
close: 'Lukk'
|
||||||
|
},
|
||||||
|
selectMenu: {
|
||||||
|
noMatch: 'Ingen samsvarende data',
|
||||||
|
noData: 'Ingen data',
|
||||||
|
create: 'Opprett "{label}"',
|
||||||
|
search: 'Søk...'
|
||||||
|
},
|
||||||
|
toast: {
|
||||||
|
close: 'Lukk'
|
||||||
|
},
|
||||||
|
carousel: {
|
||||||
|
prev: 'Forrige',
|
||||||
|
next: 'Neste',
|
||||||
|
goto: 'Gå til lysbilde {slide}'
|
||||||
|
},
|
||||||
|
modal: {
|
||||||
|
close: 'Lukk'
|
||||||
|
},
|
||||||
|
slideover: {
|
||||||
|
close: 'Lukk'
|
||||||
|
},
|
||||||
|
alert: {
|
||||||
|
close: 'Lukk'
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
noData: 'Ingen data'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user