cronstrue
Version:
Convert cron expressions into human readable descriptions
285 lines (278 loc) • 9.79 kB
JavaScript
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("cronstrue"));
else if(typeof define === 'function' && define.amd)
define("locales/zh_CN", ["cronstrue"], factory);
else if(typeof exports === 'object')
exports["locales/zh_CN"] = factory(require("cronstrue"));
else
root["locales/zh_CN"] = factory(root["cronstrue"]);
})(globalThis, (__WEBPACK_EXTERNAL_MODULE__93__) => {
return /******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ 93:
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ (() => {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => (module['default']) :
/******/ () => (module);
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
var exports = __webpack_exports__;
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.zh_CN = void 0;
var zh_CN = (function () {
function zh_CN() {
}
zh_CN.prototype.setPeriodBeforeTime = function () {
return true;
};
zh_CN.prototype.pm = function () {
return "下午";
};
zh_CN.prototype.am = function () {
return "上午";
};
zh_CN.prototype.atX0SecondsPastTheMinuteGt20 = function () {
return null;
};
zh_CN.prototype.atX0MinutesPastTheHourGt20 = function () {
return null;
};
zh_CN.prototype.commaMonthX0ThroughMonthX1 = function () {
return null;
};
zh_CN.prototype.commaYearX0ThroughYearX1 = function () {
return ", 从%s年至%s年";
};
zh_CN.prototype.use24HourTimeFormatByDefault = function () {
return false;
};
zh_CN.prototype.everyMinute = function () {
return "每分钟";
};
zh_CN.prototype.everyHour = function () {
return "每小时";
};
zh_CN.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
return "生成表达式描述时发生了错误,请检查cron表达式语法。";
};
zh_CN.prototype.atSpace = function () {
return "在";
};
zh_CN.prototype.everyMinuteBetweenX0AndX1 = function () {
return "在 %s 至 %s 之间的每分钟";
};
zh_CN.prototype.at = function () {
return "在";
};
zh_CN.prototype.spaceAnd = function () {
return " 和";
};
zh_CN.prototype.everySecond = function () {
return "每秒";
};
zh_CN.prototype.everyX0Seconds = function () {
return "每隔 %s 秒";
};
zh_CN.prototype.secondsX0ThroughX1PastTheMinute = function () {
return "在一分钟后的第 %s 到 %s 秒";
};
zh_CN.prototype.atX0SecondsPastTheMinute = function () {
return "在一分钟后的第 %s 秒";
};
zh_CN.prototype.everyX0Minutes = function () {
return "每隔 %s 分钟";
};
zh_CN.prototype.minutesX0ThroughX1PastTheHour = function () {
return "在整点后的第 %s 到 %s 分钟";
};
zh_CN.prototype.atX0MinutesPastTheHour = function () {
return "在整点后的第 %s 分钟";
};
zh_CN.prototype.everyX0Hours = function () {
return "每隔 %s 小时";
};
zh_CN.prototype.betweenX0AndX1 = function () {
return "在 %s 和 %s 之间";
};
zh_CN.prototype.atX0 = function () {
return "在%s";
};
zh_CN.prototype.commaEveryDay = function () {
return ", 每天";
};
zh_CN.prototype.commaEveryX0DaysOfTheWeek = function () {
return ", 每周的每 %s 天";
};
zh_CN.prototype.commaX0ThroughX1 = function () {
return ", %s至%s";
};
zh_CN.prototype.commaAndX0ThroughX1 = function () {
return ", 和%s至%s";
};
zh_CN.prototype.first = function () {
return "第一个";
};
zh_CN.prototype.second = function () {
return "第二个";
};
zh_CN.prototype.third = function () {
return "第三个";
};
zh_CN.prototype.fourth = function () {
return "第四个";
};
zh_CN.prototype.fifth = function () {
return "第五个";
};
zh_CN.prototype.commaOnThe = function () {
return ", 限每月的";
};
zh_CN.prototype.spaceX0OfTheMonth = function () {
return "%s";
};
zh_CN.prototype.lastDay = function () {
return "本月最后一天";
};
zh_CN.prototype.commaOnTheLastX0OfTheMonth = function () {
return ", 限每月的最后一个%s";
};
zh_CN.prototype.commaOnlyOnX0 = function () {
return ", 仅%s";
};
zh_CN.prototype.commaAndOnX0 = function () {
return ", 或者为%s";
};
zh_CN.prototype.commaEveryX0Months = function () {
return ", 每隔 %s 个月";
};
zh_CN.prototype.commaOnlyInX0 = function () {
return ", 仅限%s";
};
zh_CN.prototype.commaOnlyInMonthX0 = function () {
return ", 仅于%s份";
};
zh_CN.prototype.commaOnlyInYearX0 = function () {
return ", 仅于 %s 年";
};
zh_CN.prototype.commaOnTheLastDayOfTheMonth = function () {
return ", 限每月的最后一天";
};
zh_CN.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
return ", 限每月的最后一个工作日";
};
zh_CN.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
return ", 限每月最后%s天";
};
zh_CN.prototype.firstWeekday = function () {
return "第一个工作日";
};
zh_CN.prototype.weekdayNearestDayX0 = function () {
return "最接近 %s 号的工作日";
};
zh_CN.prototype.commaOnTheX0OfTheMonth = function () {
return ", 限每月的%s";
};
zh_CN.prototype.commaEveryX0Days = function () {
return ", 每隔 %s 天";
};
zh_CN.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
return ", 限每月的 %s 至 %s 之间";
};
zh_CN.prototype.commaOnDayX0OfTheMonth = function () {
return ", 限每月%s";
};
zh_CN.prototype.commaEveryX0Years = function () {
return ", 每隔 %s 年";
};
zh_CN.prototype.commaStartingX0 = function () {
return ", %s开始";
};
zh_CN.prototype.dayX0 = function () {
return " %s 号";
};
zh_CN.prototype.daysOfTheWeek = function () {
return ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
};
zh_CN.prototype.monthsOfTheYear = function () {
return ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"];
};
return zh_CN;
}());
exports.zh_CN = zh_CN;
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["zh_CN"] = new zh_CN();
/******/ return __webpack_exports__;
/******/ })()
;
});