Skip to content

Commit b84d67b

Browse files
authored
feat(locale): add Croatian language (#5293)
1 parent 807cfb0 commit b84d67b

File tree

2 files changed

+132
-0
lines changed

2 files changed

+132
-0
lines changed

src/runtime/locale/hr.ts

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
import type { Messages } from '../types'
2+
import { defineLocale } from '../composables/defineLocale'
3+
4+
export default defineLocale<Messages>({
5+
name: 'Hrvatski',
6+
code: 'hr',
7+
messages: {
8+
alert: {
9+
close: 'Zatvori'
10+
},
11+
authForm: {
12+
hidePassword: 'Sakrij lozinku',
13+
showPassword: 'Prikaži lozinku',
14+
submit: 'Nastavi'
15+
},
16+
banner: {
17+
close: 'Zatvori'
18+
},
19+
calendar: {
20+
nextMonth: 'Sljedeći mjesec',
21+
nextYear: 'Sljedeća godina',
22+
prevMonth: 'Prethodni mjesec',
23+
prevYear: 'Prethodna godina'
24+
},
25+
carousel: {
26+
dots: 'Odaberite slajd za prikaz',
27+
goto: 'Idi na slajd {slide}',
28+
next: 'Sljedeći',
29+
prev: 'Prethodni'
30+
},
31+
chatPrompt: {
32+
placeholder: 'Upišite svoju poruku ovdje…'
33+
},
34+
chatPromptSubmit: {
35+
label: 'Pošalji upit'
36+
},
37+
colorMode: {
38+
dark: 'Tamno',
39+
light: 'Svijetlo',
40+
switchToDark: 'Prebaci na tamni način rada',
41+
switchToLight: 'Prebaci na svijetli način rada',
42+
system: 'Sustav'
43+
},
44+
commandPalette: {
45+
back: 'Natrag',
46+
close: 'Zatvori',
47+
noData: 'Nema podataka',
48+
noMatch: 'Nema odgovarajućih podataka',
49+
placeholder: 'Upišite naredbu ili pretraživanje…'
50+
},
51+
contentSearch: {
52+
links: 'Poveznice',
53+
theme: 'Tema'
54+
},
55+
contentSearchButton: {
56+
label: 'Pretraživanje…'
57+
},
58+
contentToc: {
59+
title: 'Na ovoj stranici'
60+
},
61+
dashboardSearch: {
62+
theme: 'Tema'
63+
},
64+
dashboardSearchButton: {
65+
label: 'Pretraživanje…'
66+
},
67+
dashboardSidebarCollapse: {
68+
collapse: 'Smanji bočnu traku',
69+
expand: 'Proširi bočnu traku'
70+
},
71+
dashboardSidebarToggle: {
72+
close: 'Zatvori bočnu traku',
73+
open: 'Otvori bočnu traku'
74+
},
75+
error: {
76+
clear: 'Natrag na početnu'
77+
},
78+
fileUpload: {
79+
removeFile: 'Ukloni {filename}'
80+
},
81+
header: {
82+
close: 'Zatvori izbornik',
83+
open: 'Otvori izbornik'
84+
},
85+
inputMenu: {
86+
create: 'Stvori "{label}"',
87+
noData: 'Nema podataka',
88+
noMatch: 'Nema odgovarajućih podataka'
89+
},
90+
inputNumber: {
91+
decrement: 'Smanji',
92+
increment: 'Povećaj'
93+
},
94+
modal: {
95+
close: 'Zatvori'
96+
},
97+
pricingTable: {
98+
caption: 'Usporedba cjenovnih planova'
99+
},
100+
prose: {
101+
codeCollapse: {
102+
closeText: 'Smanji',
103+
name: 'kod',
104+
openText: 'Proširi'
105+
},
106+
collapsible: {
107+
closeText: 'Sakrij',
108+
name: 'svojstva',
109+
openText: 'Prikaži'
110+
},
111+
pre: {
112+
copy: 'Kopiraj kod u međuspremnik'
113+
}
114+
},
115+
selectMenu: {
116+
create: 'Stvori "{label}"',
117+
noData: 'Nema podataka',
118+
noMatch: 'Nema odgovarajućih podataka',
119+
search: 'Pretraživanje…'
120+
},
121+
slideover: {
122+
close: 'Zatvori'
123+
},
124+
table: {
125+
noData: 'Nema podataka'
126+
},
127+
toast: {
128+
close: 'Zatvori'
129+
}
130+
}
131+
})

src/runtime/locale/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export { default as fi } from './fi'
1717
export { default as fr } from './fr'
1818
export { default as he } from './he'
1919
export { default as hi } from './hi'
20+
export { default as hr } from './hr'
2021
export { default as hu } from './hu'
2122
export { default as hy } from './hy'
2223
export { default as id } from './id'

0 commit comments

Comments
 (0)