Skip to content

Commit

Permalink
feat(locale): added Serbian locale (#96)
Browse files Browse the repository at this point in the history
* added Serbian translation

* feat(lang): Add Serbian language
  • Loading branch information
milos5593 authored May 10, 2023
1 parent c33bdf5 commit 8269e63
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![Nuxt Cookie Control](https://drive.google.com/a/broj42.com/uc?id=1FGQVyj2s0OT-gpTYxH_FuQhe6oU9iejW)


✅ Translated for: ar, az, bg, cs, da, de, en, es, fi, fr, hr, hu, it, ja, ko, lt, nl, no, oc, pt, pl, ru, sk, sv, tr and uk
✅ Translated for: ar, az, bg, cs, da, de, en, es, fi, fr, hr, hu, it, ja, ko, lt, nl, no, oc, pt, pl, rs, ru, sk, sv, tr and uk

✅ Vue 3 support

Expand Down
2 changes: 2 additions & 0 deletions src/runtime/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import no from './no'
import oc from './oc'
import pt from './pt'
import pl from './pl'
import rs from './rs'
import ru from './ru'
import sk from './sk'
import sv from './sv'
Expand Down Expand Up @@ -47,6 +48,7 @@ export const locales = [
oc,
pt,
pl,
rs,
ru,
sk,
sv,
Expand Down
19 changes: 19 additions & 0 deletions src/runtime/locale/rs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { LocaleStrings } from '../types'
export default {
accept: 'Dozvoli',
acceptAll: 'Dozvoli sve',
bannerDescription:
'Koristimo sopstvene kolačiće i kolačiće trećih strana kako bismo mogli ispravno prikazati ovu web stranicu i bolje razumeti kako se ova web stranica koristi, u cilju poboljšanja usluga koje nudimo. Odluka o dozvolama za korišćenje kolačića može se promeniti u bilo kom trenutku pomoću dugmeta za kolačiće koje će se pojaviti nakon što se izvrši izbor na ovom baneru.',
bannerTitle: 'Kolačići',
close: 'Zatvori',
cookiesFunctional: 'Funkcionalni kolačići',
cookiesNecessary: 'Obavezni kolačići',
cookiesOptional: 'Opcioni kolačići',
decline: 'Odbij',
declineAll: 'Odbij sve',
here: 'ovde',
iframeBlocked: 'Da biste ovo videli, omogućite funkcionalne kolačiće',
manageCookies: 'Saznajte više i prilagodite se',
save: 'Sačuvaj',
settingsUnsaved: 'Imate nesačuvana podešavanja',
} as LocaleStrings
1 change: 1 addition & 0 deletions src/runtime/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type Locale =
| 'oc'
| 'pt'
| 'pl'
| 'rs'
| 'ru'
| 'sk'
| 'sv'
Expand Down

0 comments on commit 8269e63

Please sign in to comment.