diff --git a/i18n/en.pot b/i18n/en.pot index de082106..e89ef1a3 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2022-04-11T08:24:13.553Z\n" -"PO-Revision-Date: 2022-04-11T08:24:13.553Z\n" +"POT-Creation-Date: 2022-04-19T06:23:28.846Z\n" +"PO-Revision-Date: 2022-04-19T06:23:28.846Z\n" msgid "Name" msgstr "" @@ -48,7 +48,7 @@ msgstr "" msgid "" "PLEASE NOTE: monthly % achieved dashboards are not functional in this " "version of Platform, but plan to be restored by May 31. In the interim, " -"reach out to pmt@samaritan.org if you need visibility on this data." +"reach out to {{recipients}} if you need visibility on this data." msgstr "" msgid "Cannot load dashboard" diff --git a/package.json b/package.json index fc3595c7..10b01a9e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "data-management-app", "description": "DHIS2 Data Management App", - "version": "1.0.4", + "version": "1.0.5", "license": "GPL-3.0", "author": "EyeSeeTea team", "homepage": ".", diff --git a/src/components/dashboard/Dashboard.tsx b/src/components/dashboard/Dashboard.tsx index 8dc95cf3..d1ebdb20 100644 --- a/src/components/dashboard/Dashboard.tsx +++ b/src/components/dashboard/Dashboard.tsx @@ -29,7 +29,7 @@ interface State { const Dashboard: React.FC = props => { const { id, name, backUrl } = props; - const { dhis2Url: baseUrl } = useAppContext(); + const { dhis2Url: baseUrl, appConfig } = useAppContext(); // We must set a large initial height, otherwise only the top items of the dashboards are rendered. const [state, setState] = React.useState({ type: "loading", height: 10000 }); @@ -41,8 +41,8 @@ const Dashboard: React.FC = props => { const appHistory = useAppHistory(backUrl); const temporalMessageForVersion_2_36_8 = i18n.t( - "PLEASE NOTE: monthly % achieved dashboards are not functional in this version of Platform, but plan to be restored by May 31. In the interim, reach out to pmt@samaritan.org if you need visibility on this data.", - { nsSeparator: false } + "PLEASE NOTE: monthly % achieved dashboards are not functional in this version of Platform, but plan to be restored by May 31. In the interim, reach out to {{recipients}} if you need visibility on this data.", + { recipients: appConfig.app.notifyEmailOnProjectSave.join(" / "), nsSeparator: false } ); React.useEffect(() => {