-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Croatian and Serbian locales (#2883)
* Added Croatian and Serbian locales. * Serbian locale: - used Cyrillic as the main alphabet, which matches Intl defaults - fixed P's in Latin
- Loading branch information
1 parent
b95f63c
commit 8a371d2
Showing
3 changed files
with
135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
const name = 'hr'; | ||
|
||
const localization = { | ||
today: 'Danas', | ||
clear: 'Poništi odabir', | ||
close: 'Zatvori', | ||
selectMonth: 'Odaberi mjesec', | ||
previousMonth: 'Prethodni mjesec', | ||
nextMonth: 'Sljedeći mjesec', | ||
selectYear: 'Odaberi godinu', | ||
previousYear: 'Prethodna godina', | ||
nextYear: 'Sljedeće godina', | ||
selectDecade: 'Odaberi desetljeće', | ||
previousDecade: 'Prethodno desetljeće', | ||
nextDecade: 'Sljedeće desetljeće', | ||
previousCentury: 'Prethodno stoljeće', | ||
nextCentury: 'Sljedeće stoljeće', | ||
pickHour: 'Odaberi vrijeme', | ||
incrementHour: 'Povećaj vrijeme', | ||
decrementHour: 'Smanji vrijeme', | ||
pickMinute: 'Odaberi minutu', | ||
incrementMinute: 'Povećaj minute', | ||
decrementMinute: 'Smanji minute', | ||
pickSecond: 'Odaberi sekundu', | ||
incrementSecond: 'Povećaj sekunde', | ||
decrementSecond: 'Smanji sekunde', | ||
toggleMeridiem: 'Razmijeni AM-PM', | ||
selectTime: 'Odaberi vrijeme', | ||
selectDate: 'Odaberi datum', | ||
dayViewHeaderFormat: { month: 'long', year: '2-digit' }, | ||
locale: 'hr', | ||
startOfTheWeek: 1, | ||
dateFormats: { | ||
LT: 'HH:mm', | ||
LTS: 'HH:mm:ss', | ||
L: 'dd/MM/yyyy', | ||
LL: 'd MMMM yyyy', | ||
LLL: 'd MMMM yyyy HH:mm', | ||
LLLL: 'dddd d MMMM yyyy HH:mm', | ||
}, | ||
ordinal: (n) => `${n}.`, | ||
format: 'L LT', | ||
}; | ||
|
||
export { localization, 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,45 @@ | ||
const name = 'sr-Latn'; | ||
|
||
const localization = { | ||
today: 'Danas', | ||
clear: 'Izbriši izbor', | ||
close: 'Zatvori', | ||
selectMonth: 'Izaberi mesec', | ||
previousMonth: 'Prethodni mesec', | ||
nextMonth: 'Sledeći mesec', | ||
selectYear: 'Izaberi godinu', | ||
previousYear: 'Prethodna godina', | ||
nextYear: 'Sledeća godina', | ||
selectDecade: 'Izaberi dekadu', | ||
previousDecade: 'Prethodna dekada', | ||
nextDecade: 'Sledeća dekada', | ||
previousCentury: 'Prethodni vek', | ||
nextCentury: 'Sledeći vek', | ||
pickHour: 'Izaberi vreme', | ||
incrementHour: 'Povećaj vreme', | ||
decrementHour: 'Smanji vreme', | ||
pickMinute: 'Izaberi minute', | ||
incrementMinute: 'Povećaj minute', | ||
decrementMinute: 'Smanji minute', | ||
pickSecond: 'Izaberi sekunde', | ||
incrementSecond: 'Povećaj sekunde', | ||
decrementSecond: 'Smanji sekunde', | ||
toggleMeridiem: 'Razmeni AM-PM', | ||
selectTime: 'Izaberi vreme', | ||
selectDate: 'Izaberi datum', | ||
dayViewHeaderFormat: { month: 'long', year: '2-digit' }, | ||
locale: 'sr-Latn', | ||
startOfTheWeek: 1, | ||
dateFormats: { | ||
LT: 'H:mm', | ||
LTS: 'H:mm:ss', | ||
L: 'D. M. YYYY.', | ||
LL: 'D. MMMM YYYY.', | ||
LLL: 'D. MMMM YYYY. H:mm', | ||
LLLL: 'dddd, D. MMMM YYYY. H:mm', | ||
}, | ||
ordinal: (n) => `${n}.`, | ||
format: 'L LT', | ||
}; | ||
|
||
export { localization, 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,45 @@ | ||
const name = 'sr'; | ||
|
||
const localization = { | ||
today: 'Данас', | ||
clear: 'Избриши избор', | ||
close: 'Затвори', | ||
selectMonth: 'Изабери месец', | ||
previousMonth: 'Претходни месец', | ||
nextMonth: 'Следећи месец', | ||
selectYear: 'Изабери годину', | ||
previousYear: 'Претходна година', | ||
nextYear: 'Следећа година', | ||
selectDecade: 'Изабери декаду', | ||
previousDecade: 'Претходна декада', | ||
nextDecade: 'Следећа декада', | ||
previousCentury: 'Претходни век', | ||
nextCentury: 'Следећи век', | ||
pickHour: 'Изабери време', | ||
incrementHour: 'Повећај време', | ||
decrementHour: 'Смањи време', | ||
pickMinute: 'Изабери минуте', | ||
incrementMinute: 'Повећај минуте', | ||
decrementMinute: 'Смањи минуте', | ||
pickSecond: 'Изабери секунде', | ||
incrementSecond: 'Повећај секунде', | ||
decrementSecond: 'Смањи секунде', | ||
toggleMeridiem: 'Размени AM-PM', | ||
selectTime: 'Изабери време', | ||
selectDate: 'Изабери датум', | ||
dayViewHeaderFormat: { month: 'long', year: '2-digit' }, | ||
locale: 'sr', | ||
startOfTheWeek: 1, | ||
dateFormats: { | ||
LT: 'H:mm', | ||
LTS: 'H:mm:ss', | ||
L: 'D. M. YYYY.', | ||
LL: 'D. MMMM YYYY.', | ||
LLL: 'D. MMMM YYYY. H:mm', | ||
LLLL: 'dddd, D. MMMM YYYY. H:mm', | ||
}, | ||
ordinal: (n) => `${n}.`, | ||
format: 'L LT', | ||
}; | ||
|
||
export { localization, name }; |