-
Notifications
You must be signed in to change notification settings - Fork 988
Closed
Labels
Description
Description
Hello,
I was looking for adding Català language to nuxt ui v3. However, i am not used to pull requests but also, the 'ca' code may be confusing with Canada one (and may be others?)
Can someone help me on that way so I will be able to use the locale in the UApp componente :) ?
Thank you very much !
import { defineLocale } from '../composables/defineLocale'
export default defineLocale({
name: 'Català',
code: 'ca',
messages: {
inputMenu: {
noMatch: 'No hi ha dades coincidents',
noData: 'Sense dades',
create: 'Crear "{label}"'
},
calendar: {
prevYear: 'Any anterior',
nextYear: 'Any següent',
prevMonth: 'Mes anterior',
nextMonth: 'Mes següent'
},
inputNumber: {
increment: 'Incrementar',
decrement: 'Decrementar'
},
commandPalette: {
placeholder: 'Escriu una ordre o cerca...',
noMatch: 'No hi ha dades coincidents',
noData: 'Sense dades',
close: 'Tancar'
},
selectMenu: {
noMatch: 'No hi ha dades coincidents',
noData: 'Sense dades',
create: 'Crear "{label}"',
search: 'Cerca...'
},
toast: {
close: 'Tancar'
},
carousel: {
prev: 'Anterior',
next: 'Següent',
goto: 'Anar a la diapositiva {slide}'
},
modal: {
close: 'Tancar'
},
slideover: {
close: 'Tancar'
},
alert: {
close: 'Tancar'
},
table: {
noData: 'Sense dades'
}
}
})
Additional context
No response