cronstrue 2.7.0 → 2.8.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/CHANGELOG.md +1 -0
- package/README.md +2 -1
- package/dist/cronstrue-i18n.js +185 -1
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/i18n/allLocales.d.ts +1 -0
- package/dist/i18n/locales/pt_PT.d.ts +54 -0
- package/locales/pt_PT.js +287 -0
- package/locales/pt_PT.min.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
To see what has changed in a release version, see the release notes on the [Releases](https://github.com/bradymholt/cRonstrue/releases) page.
|
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 28 languages
|
|
13
13
|
|
|
14
14
|
## Demo
|
|
15
15
|
|
|
@@ -173,6 +173,7 @@ No, cRonstrue does not support this. This library simply describes a cron expre
|
|
|
173
173
|
- nl - Dutch ([TotalMace](https://github.com/TotalMace))
|
|
174
174
|
- pl - Polish ([foka](https://github.com/foka))
|
|
175
175
|
- pt_BR - Portuguese (Brazil) ([Renato Lima](https://github.com/natenho))
|
|
176
|
+
- pt_PT - Portuguese (Portugal) ([POFerro](https://github.com/POFerro))
|
|
176
177
|
- ro - Romanian ([Illegitimis](https://github.com/illegitimis))
|
|
177
178
|
- ru - Russian ([LbISS](https://github.com/LbISS))
|
|
178
179
|
- sk - Slovakian ([hanbar](https://github.com/hanbar))
|
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.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_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.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);
|
|
@@ -693,6 +693,8 @@ var pl_1 = __webpack_require__(665);
|
|
|
693
693
|
Object.defineProperty(exports, "pl", ({ enumerable: true, get: function () { return pl_1.pl; } }));
|
|
694
694
|
var pt_BR_1 = __webpack_require__(461);
|
|
695
695
|
Object.defineProperty(exports, "pt_BR", ({ enumerable: true, get: function () { return pt_BR_1.pt_BR; } }));
|
|
696
|
+
var pt_PT_1 = __webpack_require__(713);
|
|
697
|
+
Object.defineProperty(exports, "pt_PT", ({ enumerable: true, get: function () { return pt_PT_1.pt_PT; } }));
|
|
696
698
|
var ro_1 = __webpack_require__(408);
|
|
697
699
|
Object.defineProperty(exports, "ro", ({ enumerable: true, get: function () { return ro_1.ro; } }));
|
|
698
700
|
var ru_1 = __webpack_require__(392);
|
|
@@ -4211,6 +4213,188 @@ var pt_BR = (function () {
|
|
|
4211
4213
|
exports.pt_BR = pt_BR;
|
|
4212
4214
|
|
|
4213
4215
|
|
|
4216
|
+
/***/ }),
|
|
4217
|
+
|
|
4218
|
+
/***/ 713:
|
|
4219
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4223
|
+
exports.pt_PT = void 0;
|
|
4224
|
+
var pt_PT = (function () {
|
|
4225
|
+
function pt_PT() {
|
|
4226
|
+
}
|
|
4227
|
+
pt_PT.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
4228
|
+
return null;
|
|
4229
|
+
};
|
|
4230
|
+
pt_PT.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
4231
|
+
return null;
|
|
4232
|
+
};
|
|
4233
|
+
pt_PT.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
4234
|
+
return null;
|
|
4235
|
+
};
|
|
4236
|
+
pt_PT.prototype.commaYearX0ThroughYearX1 = function () {
|
|
4237
|
+
return null;
|
|
4238
|
+
};
|
|
4239
|
+
pt_PT.prototype.use24HourTimeFormatByDefault = function () {
|
|
4240
|
+
return true;
|
|
4241
|
+
};
|
|
4242
|
+
pt_PT.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
4243
|
+
return "Ocorreu um erro ao gerar a descrição da expressão Cron.";
|
|
4244
|
+
};
|
|
4245
|
+
pt_PT.prototype.at = function () {
|
|
4246
|
+
return "às";
|
|
4247
|
+
};
|
|
4248
|
+
pt_PT.prototype.atSpace = function () {
|
|
4249
|
+
return "às ";
|
|
4250
|
+
};
|
|
4251
|
+
pt_PT.prototype.atX0 = function () {
|
|
4252
|
+
return "Às %s";
|
|
4253
|
+
};
|
|
4254
|
+
pt_PT.prototype.atX0MinutesPastTheHour = function () {
|
|
4255
|
+
return "aos %s minutos da hora";
|
|
4256
|
+
};
|
|
4257
|
+
pt_PT.prototype.atX0SecondsPastTheMinute = function () {
|
|
4258
|
+
return "aos %s segundos do minuto";
|
|
4259
|
+
};
|
|
4260
|
+
pt_PT.prototype.betweenX0AndX1 = function () {
|
|
4261
|
+
return "entre %s e %s";
|
|
4262
|
+
};
|
|
4263
|
+
pt_PT.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
4264
|
+
return ", entre os dias %s e %s do mês";
|
|
4265
|
+
};
|
|
4266
|
+
pt_PT.prototype.commaEveryDay = function () {
|
|
4267
|
+
return ", a cada dia";
|
|
4268
|
+
};
|
|
4269
|
+
pt_PT.prototype.commaEveryX0Days = function () {
|
|
4270
|
+
return ", a cada %s dias";
|
|
4271
|
+
};
|
|
4272
|
+
pt_PT.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
4273
|
+
return ", a cada %s dias de semana";
|
|
4274
|
+
};
|
|
4275
|
+
pt_PT.prototype.commaEveryX0Months = function () {
|
|
4276
|
+
return ", a cada %s meses";
|
|
4277
|
+
};
|
|
4278
|
+
pt_PT.prototype.commaOnDayX0OfTheMonth = function () {
|
|
4279
|
+
return ", no dia %s do mês";
|
|
4280
|
+
};
|
|
4281
|
+
pt_PT.prototype.commaOnlyInX0 = function () {
|
|
4282
|
+
return ", somente em %s";
|
|
4283
|
+
};
|
|
4284
|
+
pt_PT.prototype.commaOnlyOnX0 = function () {
|
|
4285
|
+
return ", somente de %s";
|
|
4286
|
+
};
|
|
4287
|
+
pt_PT.prototype.commaAndOnX0 = function () {
|
|
4288
|
+
return ", e de %s";
|
|
4289
|
+
};
|
|
4290
|
+
pt_PT.prototype.commaOnThe = function () {
|
|
4291
|
+
return ", na ";
|
|
4292
|
+
};
|
|
4293
|
+
pt_PT.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
4294
|
+
return ", no último dia do mês";
|
|
4295
|
+
};
|
|
4296
|
+
pt_PT.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
4297
|
+
return ", no último dia da semana do mês";
|
|
4298
|
+
};
|
|
4299
|
+
pt_PT.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
4300
|
+
return ", %s dias antes do último dia do mês";
|
|
4301
|
+
};
|
|
4302
|
+
pt_PT.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
4303
|
+
return ", na última %s do mês";
|
|
4304
|
+
};
|
|
4305
|
+
pt_PT.prototype.commaOnTheX0OfTheMonth = function () {
|
|
4306
|
+
return ", no %s do mês";
|
|
4307
|
+
};
|
|
4308
|
+
pt_PT.prototype.commaX0ThroughX1 = function () {
|
|
4309
|
+
return ", de %s a %s";
|
|
4310
|
+
};
|
|
4311
|
+
pt_PT.prototype.everyHour = function () {
|
|
4312
|
+
return "a cada hora";
|
|
4313
|
+
};
|
|
4314
|
+
pt_PT.prototype.everyMinute = function () {
|
|
4315
|
+
return "a cada minuto";
|
|
4316
|
+
};
|
|
4317
|
+
pt_PT.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
4318
|
+
return "a cada minuto entre %s e %s";
|
|
4319
|
+
};
|
|
4320
|
+
pt_PT.prototype.everySecond = function () {
|
|
4321
|
+
return "a cada segundo";
|
|
4322
|
+
};
|
|
4323
|
+
pt_PT.prototype.everyX0Hours = function () {
|
|
4324
|
+
return "a cada %s horas";
|
|
4325
|
+
};
|
|
4326
|
+
pt_PT.prototype.everyX0Minutes = function () {
|
|
4327
|
+
return "a cada %s minutos";
|
|
4328
|
+
};
|
|
4329
|
+
pt_PT.prototype.everyX0Seconds = function () {
|
|
4330
|
+
return "a cada %s segundos";
|
|
4331
|
+
};
|
|
4332
|
+
pt_PT.prototype.fifth = function () {
|
|
4333
|
+
return "quinta";
|
|
4334
|
+
};
|
|
4335
|
+
pt_PT.prototype.first = function () {
|
|
4336
|
+
return "primeira";
|
|
4337
|
+
};
|
|
4338
|
+
pt_PT.prototype.firstWeekday = function () {
|
|
4339
|
+
return "primeiro dia da semana";
|
|
4340
|
+
};
|
|
4341
|
+
pt_PT.prototype.fourth = function () {
|
|
4342
|
+
return "quarta";
|
|
4343
|
+
};
|
|
4344
|
+
pt_PT.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
4345
|
+
return "do minuto %s até %s de cada hora";
|
|
4346
|
+
};
|
|
4347
|
+
pt_PT.prototype.second = function () {
|
|
4348
|
+
return "segunda";
|
|
4349
|
+
};
|
|
4350
|
+
pt_PT.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
4351
|
+
return "No segundo %s até %s de cada minuto";
|
|
4352
|
+
};
|
|
4353
|
+
pt_PT.prototype.spaceAnd = function () {
|
|
4354
|
+
return " e";
|
|
4355
|
+
};
|
|
4356
|
+
pt_PT.prototype.spaceX0OfTheMonth = function () {
|
|
4357
|
+
return " %s do mês";
|
|
4358
|
+
};
|
|
4359
|
+
pt_PT.prototype.lastDay = function () {
|
|
4360
|
+
return "o último dia";
|
|
4361
|
+
};
|
|
4362
|
+
pt_PT.prototype.third = function () {
|
|
4363
|
+
return "terceira";
|
|
4364
|
+
};
|
|
4365
|
+
pt_PT.prototype.weekdayNearestDayX0 = function () {
|
|
4366
|
+
return "dia da semana mais próximo do dia %s";
|
|
4367
|
+
};
|
|
4368
|
+
pt_PT.prototype.commaEveryX0Years = function () {
|
|
4369
|
+
return ", a cada %s anos";
|
|
4370
|
+
};
|
|
4371
|
+
pt_PT.prototype.commaStartingX0 = function () {
|
|
4372
|
+
return ", iniciando %s";
|
|
4373
|
+
};
|
|
4374
|
+
pt_PT.prototype.daysOfTheWeek = function () {
|
|
4375
|
+
return ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"];
|
|
4376
|
+
};
|
|
4377
|
+
pt_PT.prototype.monthsOfTheYear = function () {
|
|
4378
|
+
return [
|
|
4379
|
+
"janeiro",
|
|
4380
|
+
"fevereiro",
|
|
4381
|
+
"março",
|
|
4382
|
+
"abril",
|
|
4383
|
+
"maio",
|
|
4384
|
+
"junho",
|
|
4385
|
+
"julho",
|
|
4386
|
+
"agosto",
|
|
4387
|
+
"setembro",
|
|
4388
|
+
"outubro",
|
|
4389
|
+
"novembro",
|
|
4390
|
+
"dezembro",
|
|
4391
|
+
];
|
|
4392
|
+
};
|
|
4393
|
+
return pt_PT;
|
|
4394
|
+
}());
|
|
4395
|
+
exports.pt_PT = pt_PT;
|
|
4396
|
+
|
|
4397
|
+
|
|
4214
4398
|
/***/ }),
|
|
4215
4399
|
|
|
4216
4400
|
/***/ 408:
|