@undp/carbon-library 1.0.177-CARBON-380.2 → 1.0.177-CARBON-380.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -6276,7 +6276,7 @@ var AddNewCompanyComponent = function (props) {
6276
6276
  width: "45%",
6277
6277
  }
6278
6278
  : {} },
6279
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of programmes" },
6279
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of projects" },
6280
6280
  React.createElement(antd.Radio.Button, { className: "certifier", value: "Certifier" },
6281
6281
  React.createElement(icons.SafetyOutlined, { className: "role-icons" }),
6282
6282
  "Certifier"))),
@@ -6287,7 +6287,7 @@ var AddNewCompanyComponent = function (props) {
6287
6287
  marginLeft: isGuest ? "30px" : 0,
6288
6288
  }
6289
6289
  : { marginLeft: isGuest ? "30px" : 0, } },
6290
- React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
6290
+ React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own projects and transfer carbon credits" },
6291
6291
  React.createElement(antd.Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
6292
6292
  React.createElement(icons.ExperimentOutlined, { className: "role-icons" }),
6293
6293
  "Developer"))),
@@ -24349,7 +24349,7 @@ var StasticCard = function (props) {
24349
24349
  };
24350
24350
 
24351
24351
  var ProgrammeRejectAndTransferComponent = function (props) {
24352
- var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText;
24352
+ var totalPrgrammes = props.totalPrgrammes, pending = props.pending, rejected = props.rejected, authorized = props.authorized, updatedDate = props.updatedDate, loading = props.loading, toolTipText = props.toolTipText, t = props.t;
24353
24353
  React.useEffect(function () {
24354
24354
  console.log({ pending: pending, totalPrgrammes: totalPrgrammes });
24355
24355
  });
@@ -24357,7 +24357,7 @@ var ProgrammeRejectAndTransferComponent = function (props) {
24357
24357
  React.createElement(antd.Skeleton, { active: true }),
24358
24358
  React.createElement(antd.Skeleton, { active: true }))) : (React.createElement(React.Fragment, null,
24359
24359
  React.createElement("div", { className: "title-section" },
24360
- React.createElement("div", { className: "title" }, "Programmes"),
24360
+ React.createElement("div", { className: "title" }, t("programmes")),
24361
24361
  React.createElement("div", { className: "info-container" },
24362
24362
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipText },
24363
24363
  React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 })))),
@@ -26028,7 +26028,7 @@ var RegistryDashboardComponent = function (props) {
26028
26028
  ? "tTProgrammesProgrammeDev"
26029
26029
  : categoryType === "mine"
26030
26030
  ? "tTProgrammesCertifierMine"
26031
- : "tTProgrammesCertifierOverall") })),
26031
+ : "tTProgrammesCertifierOverall"), t: true })),
26032
26032
  React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col pie" },
26033
26033
  React.createElement(RegistryPieChartsStatComponent, { id: "credits", title: t("credits"), options: optionDonutPieA, series: creditsPieSeries, lastUpdate: lastUpdateProgrammesCreditsStats, loading: loading, toolTipText: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
26034
26034
  ? "tTCreditsGovernment"