File tree 3 files changed +58
-0
lines changed
docs/app/components/content
3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ function getEmojiFlag(locale: string): string {
11
11
const languageToCountry: Record <string , string > = {
12
12
ar: ' sa' , // Arabic -> Saudi Arabia
13
13
bn: ' bd' , // Bengali -> Bangladesh
14
+ ca: ' es' , // Catalan -> Spain
14
15
cs: ' cz' , // Czech -> Czech Republic (note: modern country code is actually 'cz')
15
16
da: ' dk' , // Danish -> Denmark
16
17
el: ' gr' , // Greek -> Greece
Original file line number Diff line number Diff line change
1
+ import type { Messages } from '../types'
2
+ import { defineLocale } from '../composables/defineLocale'
3
+
4
+ export default defineLocale < Messages > ( {
5
+ name : 'Català' ,
6
+ code : 'ca' ,
7
+ messages : {
8
+ inputMenu : {
9
+ noMatch : 'No hi ha dades coincidents' ,
10
+ noData : 'Sense dades' ,
11
+ create : 'Crear "{label}"'
12
+ } ,
13
+ calendar : {
14
+ prevYear : 'Any anterior' ,
15
+ nextYear : 'Any següent' ,
16
+ prevMonth : 'Mes anterior' ,
17
+ nextMonth : 'Mes següent'
18
+ } ,
19
+ inputNumber : {
20
+ increment : 'Incrementar' ,
21
+ decrement : 'Decrementar'
22
+ } ,
23
+ commandPalette : {
24
+ placeholder : 'Escriu una ordre o cerca...' ,
25
+ noMatch : 'No hi ha dades coincidents' ,
26
+ noData : 'Sense dades' ,
27
+ close : 'Tancar'
28
+ } ,
29
+ selectMenu : {
30
+ noMatch : 'No hi ha dades coincidents' ,
31
+ noData : 'Sense dades' ,
32
+ create : 'Crear "{label}"' ,
33
+ search : 'Cerca...'
34
+ } ,
35
+ toast : {
36
+ close : 'Tancar'
37
+ } ,
38
+ carousel : {
39
+ prev : 'Anterior' ,
40
+ next : 'Següent' ,
41
+ goto : 'Anar a la diapositiva {slide}'
42
+ } ,
43
+ modal : {
44
+ close : 'Tancar'
45
+ } ,
46
+ slideover : {
47
+ close : 'Tancar'
48
+ } ,
49
+ alert : {
50
+ close : 'Tancar'
51
+ } ,
52
+ table : {
53
+ noData : 'Sense dades'
54
+ }
55
+ }
56
+ } )
Original file line number Diff line number Diff line change 1
1
export { default as ar } from './ar'
2
2
export { default as az } from './az'
3
3
export { default as bn } from './bn'
4
+ export { default as ca } from './ca'
4
5
export { default as cs } from './cs'
5
6
export { default as da } from './da'
6
7
export { default as de } from './de'
You can’t perform that action at this time.
0 commit comments