@medicus.ai/medicus-report-pdf-generator 1.0.181 → 1.0.182

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.
package/lib/sendEmail.js CHANGED
@@ -251,16 +251,16 @@ async function sendNascoEmail(data, pdfAttach, mailConfig,clientName) {
251
251
  }]
252
252
  let emailProp = {
253
253
  logo: logo,
254
- headerText: localeService.t("Your Wellbeing Report"),
255
- body: localeService.t("Hi") + " " + data.name + ",<br/>" +
254
+ headerText: "Your Wellbeing Report",
255
+ body: "Hi" + " " + data.name + ",<br/>" +
256
256
  "<br/>" +
257
- localeService.t("Your detailed Wellbeing Report is ready!")+"<br/>" +
257
+ "Your detailed Wellbeing Report is ready!"+"<br/>" +
258
258
  "<br/>" +
259
- localeService.t("Download the attached PDF to view your report.")+ "<br/>" +
259
+ "Download the attached PDF to view your report."+ "<br/>" +
260
260
  "<br/>" +
261
- localeService.t("Learn more about what your physical and psychological scores mean and get recommendations on how you can start improving your health and wellbeing today.")+"<br/>" +
261
+ "Learn more about what your physical and psychological scores mean and get recommendations on how you can start improving your health and wellbeing today."+"<br/>" +
262
262
  "<br/>" +
263
- localeService.t("Congratulations, you’ve taken the first step towards better health. Keep going!"),
263
+ "Congratulations, you’ve taken the first step towards better health. Keep going!",
264
264
  emailColor: fifth_level_color,
265
265
  sincerely: false,
266
266
  signature: signature,
@@ -119,30 +119,6 @@
119
119
  "message": "Participant Analytics",
120
120
  "description": "Section title in corporate report"
121
121
  },
122
- "Hi": {
123
- "message": "Hi",
124
- "description": "Hi in the email body"
125
- },
126
- "Your Wellbeing Report": {
127
- "message": "Your Wellbeing Report",
128
- "description": "first sentence in the email body"
129
- },
130
- "Your detailed Wellbeing Report is ready!": {
131
- "message": "Your detailed Wellbeing Report is ready!",
132
- "description": "second sentence in the email body"
133
- },
134
- "Download the attached PDF to view your report.": {
135
- "message": "Download the attached PDF to view your report.",
136
- "description": "third sentence in the email body"
137
- },
138
- "Learn more about what your physical and psychological scores mean and get recommendations on how you can start improving your health and wellbeing today.": {
139
- "message": "Learn more about what your physical and psychological scores mean and get recommendations on how you can start improving your health and wellbeing today.",
140
- "description": "fourth sentence in the email body"
141
- },
142
- "Congratulations, you’ve taken the first step towards better health. Keep going!": {
143
- "message": "Congratulations, you’ve taken the first step towards better health. Keep going!",
144
- "description": "fifth sentence in the email body"
145
- },
146
122
  "Page": {
147
123
  "message": "Page",
148
124
  "description": "page number in the corporate report PDF"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@medicus.ai/medicus-report-pdf-generator",
3
- "version": "1.0.181",
4
- "description": "Wellbeing Corporate report - latest update in 13/4/2022 - change recommends title",
3
+ "version": "1.0.182",
4
+ "description": "Send Email - latest update in 13/4/2022 - revert localize email body",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "start": "node index.js"