@cloudtower/eagle 0.27.74 → 0.27.75

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.
@@ -267,7 +267,12 @@ const Monthly = ({
267
267
  t,
268
268
  i18n
269
269
  } = useParrotTranslation();
270
- const mark = i18n.language === parrot.ParrotLngs.en ? " , " : "\u3001";
270
+ let date;
271
+ if (i18n.language === parrot.ParrotLngs.en && mayNotExistDays.length === 3) {
272
+ date = `${mayNotExistDays[0]}, ${mayNotExistDays[1]}, or ${mayNotExistDays[2]}`;
273
+ } else {
274
+ date = mayNotExistDays.join(i18n.t("components.date_mark"));
275
+ }
271
276
  return /* @__PURE__ */React__default.default.createElement("div", {
272
277
  className: Wrapper
273
278
  }, /* @__PURE__ */React__default.default.createElement(index$5.ParrotTrans, {
@@ -307,7 +312,7 @@ const Monthly = ({
307
312
  }), mayNotExistDays.length > 0 && /* @__PURE__ */React__default.default.createElement("span", {
308
313
  className: core.cx("help", index$1.Typo.Label.l4_regular)
309
314
  }, t("components.will_excute_at_last_day_with_date", {
310
- date: `${mayNotExistDays.join(mark)} `
315
+ date
311
316
  }))), t("components.execution_time"), /* @__PURE__ */React__default.default.createElement(index$6, {
312
317
  style: {
313
318
  marginLeft: 0
@@ -416,7 +421,7 @@ const CronPlan = props => {
416
421
  onChange: v => changeValue({
417
422
  enabled: v
418
423
  })
419
- }, value.enabled ? t("common.enable") : t("common.disable"))), /* @__PURE__ */React__default.default.createElement("span", {
424
+ }, value.enabled ? t("common.enabled") : t("common.disabled"))), /* @__PURE__ */React__default.default.createElement("span", {
420
425
  className: "close",
421
426
  onClick: onRemove
422
427
  }, /* @__PURE__ */React__default.default.createElement(iconsReact.CloseIcon, null)))),