cronstrue 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/cronstrue-i18n.js +196 -1
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/i18n/allLocales.d.ts +1 -0
- package/dist/i18n/locales/sr.d.ts +55 -0
- package/locales/sr.js +288 -0
- package/locales/sr.min.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -177,23 +177,23 @@ cronstrue.toString("*/5 * * * *", { locale: "es" }); // => Cada 5 minutos
|
|
|
177
177
|
The following locales can be passed in for the `locale` option. Thank you to the author (shown below) of each translation!
|
|
178
178
|
|
|
179
179
|
- en - English ([Brady Holt](https://github.com/bradymholt))
|
|
180
|
-
- af - Afrikaans (Michael van Niekerk(https://github.com/mvniekerk))
|
|
180
|
+
- af - Afrikaans ([Michael van Niekerk](https://github.com/mvniekerk))
|
|
181
181
|
- ar - Arabic ([Mohamed Nehad Shalabi](https://github.com/mohamednehad450))
|
|
182
182
|
- be - Belarusian ([Kirill Mikulich](https://github.com/KirillMikulich))
|
|
183
183
|
- bg - Bulgarian ([kamenf](https://github.com/kamenf))
|
|
184
184
|
- ca - Catalan ([Francisco Javier Barrena](https://github.com/fjbarrena))
|
|
185
|
-
- hr - Croatian ([Rok Šekoranja](https://github.com/Rookxc))
|
|
186
185
|
- cs - Czech ([hanbar](https://github.com/hanbar))
|
|
187
|
-
- es - Spanish ([Ivan Santos](https://github.com/ivansg))
|
|
188
186
|
- da - Danish ([Rasmus Melchior Jacobsen](https://github.com/rmja))
|
|
189
187
|
- de - German ([Michael Schuler](https://github.com/mschuler))
|
|
188
|
+
- es - Spanish ([Ivan Santos](https://github.com/ivansg))
|
|
189
|
+
- fa - Farsi ([A. Bahrami](https://github.com/alirezakoo))
|
|
190
190
|
- fi - Finnish ([Mikael Rosenberg](https://github.com/MR77FI))
|
|
191
191
|
- fr - French ([Arnaud TAMAILLON](https://github.com/Greybird))
|
|
192
|
-
- fa - Farsi ([A. Bahrami](https://github.com/alirezakoo))
|
|
193
192
|
- he - Hebrew ([Ilan Firsov](https://github.com/IlanF))
|
|
193
|
+
- hr - Croatian ([Rok Šekoranja](https://github.com/Rookxc))
|
|
194
194
|
- hu - Hungarian ([Orcsity Norbert](https://github.com/Northber), Szabó Dániel)
|
|
195
|
-
- it - Italian ([rinaldihno](https://github.com/rinaldihno))
|
|
196
195
|
- id - Indonesia ([Hasan Basri](https://github.com/hasanbasri1993))
|
|
196
|
+
- it - Italian ([rinaldihno](https://github.com/rinaldihno))
|
|
197
197
|
- ja - Japanese ([Alin Sarivan](https://github.com/asarivan))
|
|
198
198
|
- ko - Korean ([Ion Mincu](https://github.com/ionmincu))
|
|
199
199
|
- my - Malay (Malaysia) ([Ikhwan Abdullah](https://github.com/leychay))
|
|
@@ -208,6 +208,7 @@ The following locales can be passed in for the `locale` option. Thank you to th
|
|
|
208
208
|
- sl - Slovenian ([Jani Bevk](https://github.com/jenzy))
|
|
209
209
|
- sw - Swahili ([Leylow Lujuo](https://github.com/leyluj))
|
|
210
210
|
- sv - Swedish ([roobin](https://github.com/roobin))
|
|
211
|
+
- sr - Serbian ([Miloš Paunović](https://github.com/MilosPaunovic))
|
|
211
212
|
- th - Thai ([Teerapat Prommarak](https://github.com/xeusteerapat))
|
|
212
213
|
- tr - Turkish ([Mustafa SADEDİL](https://github.com/sadedil))
|
|
213
214
|
- uk - Ukrainian ([Taras](https://github.com/tbudurovych))
|
package/dist/cronstrue-i18n.js
CHANGED
|
@@ -769,7 +769,7 @@ exports.ExpressionDescriptor = ExpressionDescriptor;
|
|
|
769
769
|
|
|
770
770
|
|
|
771
771
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
772
|
-
exports.hr = exports.bg = exports.my = exports.vi = exports.ar = exports.th = exports.af = exports.hu = exports.be = exports.ca = exports.fa = exports.sw = exports.sl = exports.fi = exports.sk = exports.cs = exports.he = exports.ja = exports.zh_TW = exports.zh_CN = exports.uk = exports.tr = exports.ru = exports.ro = exports.pt_PT = exports.pt_BR = exports.pl = exports.sv = exports.nb = exports.nl = exports.ko = exports.id = exports.it = exports.fr = exports.es = exports.de = exports.da = exports.en = void 0;
|
|
772
|
+
exports.sr = exports.hr = exports.bg = exports.my = exports.vi = exports.ar = exports.th = exports.af = exports.hu = exports.be = exports.ca = exports.fa = exports.sw = exports.sl = exports.fi = exports.sk = exports.cs = exports.he = exports.ja = exports.zh_TW = exports.zh_CN = exports.uk = exports.tr = exports.ru = exports.ro = exports.pt_PT = exports.pt_BR = exports.pl = exports.sv = exports.nb = exports.nl = exports.ko = exports.id = exports.it = exports.fr = exports.es = exports.de = exports.da = exports.en = void 0;
|
|
773
773
|
var en_1 = __webpack_require__(486);
|
|
774
774
|
Object.defineProperty(exports, "en", ({ enumerable: true, get: function () { return en_1.en; } }));
|
|
775
775
|
var da_1 = __webpack_require__(506);
|
|
@@ -846,6 +846,8 @@ var bg_1 = __webpack_require__(622);
|
|
|
846
846
|
Object.defineProperty(exports, "bg", ({ enumerable: true, get: function () { return bg_1.bg; } }));
|
|
847
847
|
var hr_1 = __webpack_require__(131);
|
|
848
848
|
Object.defineProperty(exports, "hr", ({ enumerable: true, get: function () { return hr_1.hr; } }));
|
|
849
|
+
var sr_1 = __webpack_require__(716);
|
|
850
|
+
Object.defineProperty(exports, "sr", ({ enumerable: true, get: function () { return sr_1.sr; } }));
|
|
849
851
|
|
|
850
852
|
|
|
851
853
|
/***/ }),
|
|
@@ -6504,6 +6506,199 @@ var sl = (function () {
|
|
|
6504
6506
|
exports.sl = sl;
|
|
6505
6507
|
|
|
6506
6508
|
|
|
6509
|
+
/***/ }),
|
|
6510
|
+
|
|
6511
|
+
/***/ 716:
|
|
6512
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
6513
|
+
|
|
6514
|
+
|
|
6515
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6516
|
+
exports.sr = void 0;
|
|
6517
|
+
var sr = (function () {
|
|
6518
|
+
function sr() {
|
|
6519
|
+
}
|
|
6520
|
+
sr.prototype.use24HourTimeFormatByDefault = function () {
|
|
6521
|
+
return true;
|
|
6522
|
+
};
|
|
6523
|
+
sr.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
6524
|
+
return "Došlo je do greške pri generisanju izraza. Proverite sintaksu cron izraza.";
|
|
6525
|
+
};
|
|
6526
|
+
sr.prototype.at = function () {
|
|
6527
|
+
return "U";
|
|
6528
|
+
};
|
|
6529
|
+
sr.prototype.atSpace = function () {
|
|
6530
|
+
return "U ";
|
|
6531
|
+
};
|
|
6532
|
+
sr.prototype.atX0 = function () {
|
|
6533
|
+
return "u %s";
|
|
6534
|
+
};
|
|
6535
|
+
sr.prototype.atX0MinutesPastTheHour = function () {
|
|
6536
|
+
return "u %s minuta posle punog sata";
|
|
6537
|
+
};
|
|
6538
|
+
sr.prototype.atX0SecondsPastTheMinute = function () {
|
|
6539
|
+
return "u %s sekundi posle pune minute";
|
|
6540
|
+
};
|
|
6541
|
+
sr.prototype.betweenX0AndX1 = function () {
|
|
6542
|
+
return "između %s i %s";
|
|
6543
|
+
};
|
|
6544
|
+
sr.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
6545
|
+
return ", između %s. i %s. dana u mesecu";
|
|
6546
|
+
};
|
|
6547
|
+
sr.prototype.commaEveryDay = function () {
|
|
6548
|
+
return ", svaki dan";
|
|
6549
|
+
};
|
|
6550
|
+
sr.prototype.commaEveryX0Days = function () {
|
|
6551
|
+
return ", svakih %s dana";
|
|
6552
|
+
};
|
|
6553
|
+
sr.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
6554
|
+
return ", svakih %s dana u nedelji";
|
|
6555
|
+
};
|
|
6556
|
+
sr.prototype.commaEveryX0Months = function () {
|
|
6557
|
+
return ", svakih %s meseci";
|
|
6558
|
+
};
|
|
6559
|
+
sr.prototype.commaEveryX0Years = function () {
|
|
6560
|
+
return ", svakih %s godina";
|
|
6561
|
+
};
|
|
6562
|
+
sr.prototype.commaOnDayX0OfTheMonth = function () {
|
|
6563
|
+
return ", %s. dan u mesecu";
|
|
6564
|
+
};
|
|
6565
|
+
sr.prototype.commaOnlyInX0 = function () {
|
|
6566
|
+
return ", samo u %s";
|
|
6567
|
+
};
|
|
6568
|
+
sr.prototype.commaOnlyOnX0 = function () {
|
|
6569
|
+
return ", samo %s";
|
|
6570
|
+
};
|
|
6571
|
+
sr.prototype.commaAndOnX0 = function () {
|
|
6572
|
+
return ", i %s";
|
|
6573
|
+
};
|
|
6574
|
+
sr.prototype.commaOnThe = function () {
|
|
6575
|
+
return ", ";
|
|
6576
|
+
};
|
|
6577
|
+
sr.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
6578
|
+
return ", poslednjeg dana u mesecu";
|
|
6579
|
+
};
|
|
6580
|
+
sr.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
6581
|
+
return ", poslednjeg radnog dana u mesecu";
|
|
6582
|
+
};
|
|
6583
|
+
sr.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
6584
|
+
return ", %s dana pre kraja meseca";
|
|
6585
|
+
};
|
|
6586
|
+
sr.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
6587
|
+
return ", poslednji %s u mesecu";
|
|
6588
|
+
};
|
|
6589
|
+
sr.prototype.commaOnTheX0OfTheMonth = function () {
|
|
6590
|
+
return ", %s u mesecu";
|
|
6591
|
+
};
|
|
6592
|
+
sr.prototype.commaX0ThroughX1 = function () {
|
|
6593
|
+
return ", od %s do %s";
|
|
6594
|
+
};
|
|
6595
|
+
sr.prototype.commaAndX0ThroughX1 = function () {
|
|
6596
|
+
return ", i od %s do %s";
|
|
6597
|
+
};
|
|
6598
|
+
sr.prototype.everyHour = function () {
|
|
6599
|
+
return "svaki sat";
|
|
6600
|
+
};
|
|
6601
|
+
sr.prototype.everyMinute = function () {
|
|
6602
|
+
return "svakog minuta";
|
|
6603
|
+
};
|
|
6604
|
+
sr.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
6605
|
+
return "Svakog minuta između %s i %s";
|
|
6606
|
+
};
|
|
6607
|
+
sr.prototype.everySecond = function () {
|
|
6608
|
+
return "svake sekunde";
|
|
6609
|
+
};
|
|
6610
|
+
sr.prototype.everyX0Hours = function () {
|
|
6611
|
+
return "svakih %s sati";
|
|
6612
|
+
};
|
|
6613
|
+
sr.prototype.everyX0Minutes = function () {
|
|
6614
|
+
return "svakih %s minuta";
|
|
6615
|
+
};
|
|
6616
|
+
sr.prototype.everyX0Seconds = function () {
|
|
6617
|
+
return "svakih %s sekundi";
|
|
6618
|
+
};
|
|
6619
|
+
sr.prototype.fifth = function () {
|
|
6620
|
+
return "peti";
|
|
6621
|
+
};
|
|
6622
|
+
sr.prototype.first = function () {
|
|
6623
|
+
return "prvi";
|
|
6624
|
+
};
|
|
6625
|
+
sr.prototype.firstWeekday = function () {
|
|
6626
|
+
return "prvi radni dan";
|
|
6627
|
+
};
|
|
6628
|
+
sr.prototype.fourth = function () {
|
|
6629
|
+
return "četvrti";
|
|
6630
|
+
};
|
|
6631
|
+
sr.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
6632
|
+
return "minute od %s do %s posle punog sata";
|
|
6633
|
+
};
|
|
6634
|
+
sr.prototype.second = function () {
|
|
6635
|
+
return "drugi";
|
|
6636
|
+
};
|
|
6637
|
+
sr.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
6638
|
+
return "sekunde od %s do %s posle pune minute";
|
|
6639
|
+
};
|
|
6640
|
+
sr.prototype.spaceAnd = function () {
|
|
6641
|
+
return " i";
|
|
6642
|
+
};
|
|
6643
|
+
sr.prototype.spaceX0OfTheMonth = function () {
|
|
6644
|
+
return " %s u mesecu";
|
|
6645
|
+
};
|
|
6646
|
+
sr.prototype.lastDay = function () {
|
|
6647
|
+
return "poslednji dan";
|
|
6648
|
+
};
|
|
6649
|
+
sr.prototype.third = function () {
|
|
6650
|
+
return "treći";
|
|
6651
|
+
};
|
|
6652
|
+
sr.prototype.weekdayNearestDayX0 = function () {
|
|
6653
|
+
return "radni dan najbliži %s. danu";
|
|
6654
|
+
};
|
|
6655
|
+
sr.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
6656
|
+
return null;
|
|
6657
|
+
};
|
|
6658
|
+
sr.prototype.commaYearX0ThroughYearX1 = function () {
|
|
6659
|
+
return null;
|
|
6660
|
+
};
|
|
6661
|
+
sr.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
6662
|
+
return null;
|
|
6663
|
+
};
|
|
6664
|
+
sr.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
6665
|
+
return null;
|
|
6666
|
+
};
|
|
6667
|
+
sr.prototype.commaStartingX0 = function () {
|
|
6668
|
+
return ", počevši od %s";
|
|
6669
|
+
};
|
|
6670
|
+
sr.prototype.daysOfTheWeek = function () {
|
|
6671
|
+
return [
|
|
6672
|
+
"Nedelja",
|
|
6673
|
+
"Ponedeljak",
|
|
6674
|
+
"Utorak",
|
|
6675
|
+
"Sreda",
|
|
6676
|
+
"Četvrtak",
|
|
6677
|
+
"Petak",
|
|
6678
|
+
"Subota",
|
|
6679
|
+
];
|
|
6680
|
+
};
|
|
6681
|
+
sr.prototype.monthsOfTheYear = function () {
|
|
6682
|
+
return [
|
|
6683
|
+
"januar",
|
|
6684
|
+
"februar",
|
|
6685
|
+
"mart",
|
|
6686
|
+
"april",
|
|
6687
|
+
"maj",
|
|
6688
|
+
"jun",
|
|
6689
|
+
"jul",
|
|
6690
|
+
"avgust",
|
|
6691
|
+
"septembar",
|
|
6692
|
+
"oktobar",
|
|
6693
|
+
"novembar",
|
|
6694
|
+
"decembar",
|
|
6695
|
+
];
|
|
6696
|
+
};
|
|
6697
|
+
return sr;
|
|
6698
|
+
}());
|
|
6699
|
+
exports.sr = sr;
|
|
6700
|
+
|
|
6701
|
+
|
|
6507
6702
|
/***/ }),
|
|
6508
6703
|
|
|
6509
6704
|
/***/ 544:
|