-
-
Notifications
You must be signed in to change notification settings - Fork 944
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locale): add Serbian (Latin) language (#1801)
- Loading branch information
1 parent
241d11d
commit d2046e8
Showing
31 changed files
with
2,387 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
|
||
import { Faker } from '../faker'; | ||
import en from '../locales/en'; | ||
import sr_RS_latin from '../locales/sr_RS_latin'; | ||
|
||
export const faker = new Faker({ | ||
locale: [sr_RS_latin, en], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['06# ### ## ##', '06########', '+381 6# ### ####']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import formats from './formats'; | ||
|
||
const cell_phone = { | ||
formats, | ||
}; | ||
|
||
export default cell_phone; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { DateDefinitions } from '../../..'; | ||
import month from './month'; | ||
import weekday from './weekday'; | ||
|
||
const date: DateDefinitions = { | ||
month, | ||
weekday, | ||
}; | ||
|
||
export default date; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export default { | ||
wide: [ | ||
'januar', | ||
'februar', | ||
'mart', | ||
'april', | ||
'maj', | ||
'jun', | ||
'jul', | ||
'avgust', | ||
'septembar', | ||
'oktobar', | ||
'novembar', | ||
'decembar', | ||
], | ||
abbr: [ | ||
'jan', | ||
'feb', | ||
'mar', | ||
'apr', | ||
'maj', | ||
'jun', | ||
'jul', | ||
'avg', | ||
'sep', | ||
'okt', | ||
'nov', | ||
'dec', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default { | ||
wide: [ | ||
'nedelja', | ||
'ponedeljak', | ||
'utorak', | ||
'sreda', | ||
'četvrtak', | ||
'petak', | ||
'subota', | ||
], | ||
abbr: ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { LocaleDefinition } from '../..'; | ||
import cell_phone from './cell_phone'; | ||
import date from './date'; | ||
import internet from './internet'; | ||
import location from './location'; | ||
import person from './person'; | ||
import phone_number from './phone_number'; | ||
|
||
const sr_RS_latin: LocaleDefinition = { | ||
title: 'Serbian (Latin)', | ||
cell_phone, | ||
date, | ||
internet, | ||
location, | ||
person, | ||
phone_number, | ||
}; | ||
|
||
export default sr_RS_latin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['rs', 'com', 'co.rs', 'edu.rs', 'in.rs']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { InternetDefinitions } from '../../..'; | ||
import domain_suffix from './domain_suffix'; | ||
|
||
const internet: InternetDefinitions = { | ||
domain_suffix, | ||
}; | ||
|
||
export default internet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['#', '##', '###']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['{{location.city_name}}']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
export default [ | ||
'Beograd', | ||
'Bor', | ||
'Jagodina', | ||
'Kikinda', | ||
'Kraljevo', | ||
'Kruševac', | ||
'Leskovac', | ||
'Niš', | ||
'Novi Pazar', | ||
'Novi Sad', | ||
'Pančevo', | ||
'Paraćin', | ||
'Pirot', | ||
'Požarevac', | ||
'Prokuplje', | ||
'Smederevo', | ||
'Sombor', | ||
'Sopot', | ||
'Sremska Mitrovica', | ||
'Subotica', | ||
'Užice', | ||
'Vranje', | ||
'Vršac', | ||
'Zaječar', | ||
'Zrenjanjin', | ||
'Čačak', | ||
'Šabac', | ||
]; |
Oops, something went wrong.