cronstrue 2.9.0 → 2.10.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 +2 -1
- package/dist/cronstrue-i18n.js +188 -1
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/i18n/allLocales.d.ts +1 -0
- package/dist/i18n/locales/af.d.ts +55 -0
- package/locales/af.js +290 -0
- package/locales/af.min.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ This library was ported from the original C# implementation called [cron-express
|
|
|
9
9
|
- Supports all cron expression special characters including * / , - ? L W, #
|
|
10
10
|
- Supports 5, 6 (w/ seconds or year), or 7 (w/ seconds and year) part cron expressions
|
|
11
11
|
- Supports [Quartz Job Scheduler](http://www.quartz-scheduler.org/) cron expressions
|
|
12
|
-
- i18n support with
|
|
12
|
+
- i18n support with 29 languages
|
|
13
13
|
|
|
14
14
|
## Demo
|
|
15
15
|
|
|
@@ -186,6 +186,7 @@ No, cRonstrue does not support this. This library simply describes a cron expre
|
|
|
186
186
|
- zh_TW - Chinese (Traditional) ([Ricky Chiang](https://github.com/metavige))
|
|
187
187
|
- be - Belarusian ([Kirill Mikulich](https://github.com/KirillMikulich))
|
|
188
188
|
- hu - Hungarian ([Orcsity Norbert](https://github.com/Northber), Szabó Dániel)
|
|
189
|
+
- af - Afrikaans (Michael van Niekerk(https://github.com/mvniekerk))
|
|
189
190
|
|
|
190
191
|
## License
|
|
191
192
|
|
package/dist/cronstrue-i18n.js
CHANGED
|
@@ -666,7 +666,7 @@ exports.ExpressionDescriptor = ExpressionDescriptor;
|
|
|
666
666
|
|
|
667
667
|
|
|
668
668
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
669
|
-
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;
|
|
669
|
+
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;
|
|
670
670
|
var en_1 = __webpack_require__(751);
|
|
671
671
|
Object.defineProperty(exports, "en", ({ enumerable: true, get: function () { return en_1.en; } }));
|
|
672
672
|
var da_1 = __webpack_require__(904);
|
|
@@ -729,6 +729,8 @@ var be_1 = __webpack_require__(445);
|
|
|
729
729
|
Object.defineProperty(exports, "be", ({ enumerable: true, get: function () { return be_1.be; } }));
|
|
730
730
|
var hu_1 = __webpack_require__(560);
|
|
731
731
|
Object.defineProperty(exports, "hu", ({ enumerable: true, get: function () { return hu_1.hu; } }));
|
|
732
|
+
var af_1 = __webpack_require__(675);
|
|
733
|
+
Object.defineProperty(exports, "af", ({ enumerable: true, get: function () { return af_1.af; } }));
|
|
732
734
|
|
|
733
735
|
|
|
734
736
|
/***/ }),
|
|
@@ -755,6 +757,191 @@ var allLocalesLoader = (function () {
|
|
|
755
757
|
exports.allLocalesLoader = allLocalesLoader;
|
|
756
758
|
|
|
757
759
|
|
|
760
|
+
/***/ }),
|
|
761
|
+
|
|
762
|
+
/***/ 675:
|
|
763
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
767
|
+
exports.af = void 0;
|
|
768
|
+
var af = (function () {
|
|
769
|
+
function af() {
|
|
770
|
+
}
|
|
771
|
+
af.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
772
|
+
return null;
|
|
773
|
+
};
|
|
774
|
+
af.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
775
|
+
return null;
|
|
776
|
+
};
|
|
777
|
+
af.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
778
|
+
return null;
|
|
779
|
+
};
|
|
780
|
+
af.prototype.commaYearX0ThroughYearX1 = function () {
|
|
781
|
+
return ", jaar %s na %s";
|
|
782
|
+
};
|
|
783
|
+
af.prototype.use24HourTimeFormatByDefault = function () {
|
|
784
|
+
return true;
|
|
785
|
+
};
|
|
786
|
+
af.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
787
|
+
return "Daar was 'n fout om die tydsuitdrukking the genereer. Raadpleeg asb die uitdrukking formaat.";
|
|
788
|
+
};
|
|
789
|
+
af.prototype.everyMinute = function () {
|
|
790
|
+
return "elke minuut";
|
|
791
|
+
};
|
|
792
|
+
af.prototype.everyHour = function () {
|
|
793
|
+
return "elke uur";
|
|
794
|
+
};
|
|
795
|
+
af.prototype.atSpace = function () {
|
|
796
|
+
return "Teen ";
|
|
797
|
+
};
|
|
798
|
+
af.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
799
|
+
return "Elke minuut tussen %s en %s";
|
|
800
|
+
};
|
|
801
|
+
af.prototype.at = function () {
|
|
802
|
+
return "Teen";
|
|
803
|
+
};
|
|
804
|
+
af.prototype.spaceAnd = function () {
|
|
805
|
+
return " en";
|
|
806
|
+
};
|
|
807
|
+
af.prototype.everySecond = function () {
|
|
808
|
+
return "elke sekonde";
|
|
809
|
+
};
|
|
810
|
+
af.prototype.everyX0Seconds = function () {
|
|
811
|
+
return "elke %s sekonde";
|
|
812
|
+
};
|
|
813
|
+
af.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
814
|
+
return "sekonde %s deur na %s na die minuut";
|
|
815
|
+
};
|
|
816
|
+
af.prototype.atX0SecondsPastTheMinute = function () {
|
|
817
|
+
return "teen %s sekondes na die minuut";
|
|
818
|
+
};
|
|
819
|
+
af.prototype.everyX0Minutes = function () {
|
|
820
|
+
return "elke %s minute";
|
|
821
|
+
};
|
|
822
|
+
af.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
823
|
+
return "minute %s deur na %s na die uur";
|
|
824
|
+
};
|
|
825
|
+
af.prototype.atX0MinutesPastTheHour = function () {
|
|
826
|
+
return "teen %s minute na die uur";
|
|
827
|
+
};
|
|
828
|
+
af.prototype.everyX0Hours = function () {
|
|
829
|
+
return "elke %s ure";
|
|
830
|
+
};
|
|
831
|
+
af.prototype.betweenX0AndX1 = function () {
|
|
832
|
+
return "tussen %s en %s";
|
|
833
|
+
};
|
|
834
|
+
af.prototype.atX0 = function () {
|
|
835
|
+
return "teen %s";
|
|
836
|
+
};
|
|
837
|
+
af.prototype.commaEveryDay = function () {
|
|
838
|
+
return ", elke dag";
|
|
839
|
+
};
|
|
840
|
+
af.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
841
|
+
return ", elke %s dae van die week";
|
|
842
|
+
};
|
|
843
|
+
af.prototype.commaX0ThroughX1 = function () {
|
|
844
|
+
return ", %s deur na %s";
|
|
845
|
+
};
|
|
846
|
+
af.prototype.first = function () {
|
|
847
|
+
return "eerste";
|
|
848
|
+
};
|
|
849
|
+
af.prototype.second = function () {
|
|
850
|
+
return "tweede";
|
|
851
|
+
};
|
|
852
|
+
af.prototype.third = function () {
|
|
853
|
+
return "derde";
|
|
854
|
+
};
|
|
855
|
+
af.prototype.fourth = function () {
|
|
856
|
+
return "vierde";
|
|
857
|
+
};
|
|
858
|
+
af.prototype.fifth = function () {
|
|
859
|
+
return "vyfde";
|
|
860
|
+
};
|
|
861
|
+
af.prototype.commaOnThe = function () {
|
|
862
|
+
return ", op die ";
|
|
863
|
+
};
|
|
864
|
+
af.prototype.spaceX0OfTheMonth = function () {
|
|
865
|
+
return " %s van die maand";
|
|
866
|
+
};
|
|
867
|
+
af.prototype.lastDay = function () {
|
|
868
|
+
return "die laaste dag";
|
|
869
|
+
};
|
|
870
|
+
af.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
871
|
+
return ", op die laaste %s van die maand";
|
|
872
|
+
};
|
|
873
|
+
af.prototype.commaOnlyOnX0 = function () {
|
|
874
|
+
return ", net op %s";
|
|
875
|
+
};
|
|
876
|
+
af.prototype.commaAndOnX0 = function () {
|
|
877
|
+
return ", en op %s";
|
|
878
|
+
};
|
|
879
|
+
af.prototype.commaEveryX0Months = function () {
|
|
880
|
+
return ", elke %s maande";
|
|
881
|
+
};
|
|
882
|
+
af.prototype.commaOnlyInX0 = function () {
|
|
883
|
+
return ", net in %s";
|
|
884
|
+
};
|
|
885
|
+
af.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
886
|
+
return ", op die laaste dag van die maand";
|
|
887
|
+
};
|
|
888
|
+
af.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
889
|
+
return ", op die laaste weeksdag van die maand";
|
|
890
|
+
};
|
|
891
|
+
af.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
892
|
+
return ", %s dae voor die laaste dag van die maand";
|
|
893
|
+
};
|
|
894
|
+
af.prototype.firstWeekday = function () {
|
|
895
|
+
return "eerste weeksdag";
|
|
896
|
+
};
|
|
897
|
+
af.prototype.weekdayNearestDayX0 = function () {
|
|
898
|
+
return "weeksdag naaste aan dag %s";
|
|
899
|
+
};
|
|
900
|
+
af.prototype.commaOnTheX0OfTheMonth = function () {
|
|
901
|
+
return ", op die %s van die maande";
|
|
902
|
+
};
|
|
903
|
+
af.prototype.commaEveryX0Days = function () {
|
|
904
|
+
return ", elke %s dae";
|
|
905
|
+
};
|
|
906
|
+
af.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
907
|
+
return ", tussen dag %s en %s van die maand";
|
|
908
|
+
};
|
|
909
|
+
af.prototype.commaOnDayX0OfTheMonth = function () {
|
|
910
|
+
return ", op dag %s van die maand";
|
|
911
|
+
};
|
|
912
|
+
af.prototype.commaEveryHour = function () {
|
|
913
|
+
return ", elke uur";
|
|
914
|
+
};
|
|
915
|
+
af.prototype.commaEveryX0Years = function () {
|
|
916
|
+
return ", elke %s jare";
|
|
917
|
+
};
|
|
918
|
+
af.prototype.commaStartingX0 = function () {
|
|
919
|
+
return ", beginnende %s";
|
|
920
|
+
};
|
|
921
|
+
af.prototype.daysOfTheWeek = function () {
|
|
922
|
+
return ["Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag"];
|
|
923
|
+
};
|
|
924
|
+
af.prototype.monthsOfTheYear = function () {
|
|
925
|
+
return [
|
|
926
|
+
"Januarie",
|
|
927
|
+
"Februarie",
|
|
928
|
+
"Maart",
|
|
929
|
+
"April",
|
|
930
|
+
"Mei",
|
|
931
|
+
"Junie",
|
|
932
|
+
"Julie",
|
|
933
|
+
"Augustus",
|
|
934
|
+
"September",
|
|
935
|
+
"Oktober",
|
|
936
|
+
"November",
|
|
937
|
+
"Desember",
|
|
938
|
+
];
|
|
939
|
+
};
|
|
940
|
+
return af;
|
|
941
|
+
}());
|
|
942
|
+
exports.af = af;
|
|
943
|
+
|
|
944
|
+
|
|
758
945
|
/***/ }),
|
|
759
946
|
|
|
760
947
|
/***/ 445:
|