@rh-support/react-context 2.5.74 → 2.5.76

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.
@@ -60,12 +60,12 @@ export function CloseCaseModal(props) {
60
60
  };
61
61
  const isResolutionDescEmpty = showTextArea && isEmpty(resolutionDescription === null || resolutionDescription === void 0 ? void 0 : resolutionDescription.trim());
62
62
  const getDropdownOptions = map(resolutionOptions, (option) => ({
63
- label: option,
64
- value: option,
63
+ label: t(option),
64
+ value: t(option),
65
65
  }));
66
66
  const getSelectedDropdownOption = {
67
- label: selectedResolution,
68
- value: selectedResolution,
67
+ label: t(selectedResolution),
68
+ value: t(selectedResolution),
69
69
  };
70
70
  return (React.createElement(Modal, { id: "case-close-modal", "aria-describedby": "case-close-modal", isOpen: true, onClose: props.onClose, variant: ModalVariant.medium },
71
71
  React.createElement(ModalHeader, null,
@@ -74,7 +74,7 @@ export function CloseCaseModal(props) {
74
74
  !isCaseListPage && React.createElement(Trans, null, "Do you want to close this case?"))),
75
75
  React.createElement(ModalBody, null,
76
76
  React.createElement("div", { className: "pf-v6-u-mb-md" }, !isCaseListPage ? (React.createElement("p", { className: "pf-v6-u-text-color-subtle pf-v6-u-font-size-sm" },
77
- React.createElement(Trans, null,
77
+ React.createElement(Trans, { i18nKey: 'i18ConfirmResolution' },
78
78
  "Confirming will set the status of this case ",
79
79
  React.createElement("strong", null, "closed"),
80
80
  ". You can still view the case after it closes."))) : (React.createElement(React.Fragment, null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/react-context",
3
- "version": "2.5.74",
3
+ "version": "2.5.76",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -40,7 +40,7 @@
40
40
  "@cee-eng/hydrajs": "4.18.95",
41
41
  "@patternfly/react-core": "6.2.1",
42
42
  "@patternfly/react-icons": "6.2.1",
43
- "@rh-support/components": "2.5.59",
43
+ "@rh-support/components": "2.5.60",
44
44
  "@rh-support/types": "2.0.5",
45
45
  "@rh-support/user-permissions": "2.5.29",
46
46
  "@rh-support/utils": "2.5.26",
@@ -93,5 +93,5 @@
93
93
  "defaults and supports es6-module",
94
94
  "maintained node versions"
95
95
  ],
96
- "gitHead": "b81e0a7e6b9eee98294710206413297e15668c42"
96
+ "gitHead": "1d5a823fc4474e5c1c6172eca4177510ece22f41"
97
97
  }