@hedia/recommendation-screen 1.7.0 → 1.8.1
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/.idea/workspace.xml +26 -99
- package/package.json +1 -1
- package/src/components/InfoBars.jsx +1 -1
- package/src/components/InfoBars.tsx +1 -1
- package/src/components/RecommendationModal.jsx +3 -3
- package/src/components/RecommendationModal.tsx +3 -3
- package/src/components/Remeasure.jsx +12 -5
- package/src/components/Remeasure.tsx +15 -5
- package/src/components/TwoOptionModal.d.ts +1 -1
- package/src/components/TwoOptionModal.jsx +6 -1
- package/src/components/TwoOptionModal.tsx +6 -1
- package/src/locale/da/messages.po +22 -22
- package/src/locale/de/messages.po +23 -22
- package/src/locale/en/messages.po +22 -22
- package/src/locale/es/messages.po +337 -336
- package/src/locale/fr/messages.js +1 -0
- package/src/locale/fr/messages.po +337 -0
- package/src/locale/i18nUtils.d.ts +1 -0
- package/src/locale/i18nUtils.js +11 -0
- package/src/locale/i18nUtils.ts +8 -1
- package/src/locale/it/messages.js +1 -0
- package/src/locale/it/messages.po +337 -0
- package/src/types/enum.d.ts +3 -1
- package/src/types/enum.js +2 -0
- package/src/types/enum.ts +2 -0
- package/src/utils/AttentionMessages.jsx +0 -1
- package/src/utils/AttentionMessages.tsx +0 -1
- package/src/utils/Validations.js +2 -7
- package/src/utils/Validations.ts +2 -7
|
@@ -11,6 +11,7 @@ msgstr ""
|
|
|
11
11
|
"PO-Revision-Date: \n"
|
|
12
12
|
"Last-Translator: \n"
|
|
13
13
|
"Language-Team: \n"
|
|
14
|
+
"Plural-Forms: \n"
|
|
14
15
|
|
|
15
16
|
#: src/RecommendationScreen.tsx:182
|
|
16
17
|
msgid "Active Insulin"
|
|
@@ -25,7 +26,7 @@ msgid "Additional"
|
|
|
25
26
|
msgstr "Zusätzlich"
|
|
26
27
|
|
|
27
28
|
#: src/components/LimitationMessage.tsx:14
|
|
28
|
-
#: src/components/RecommendationModal.tsx:
|
|
29
|
+
#: src/components/RecommendationModal.tsx:59
|
|
29
30
|
#: src/components/RecommendedCarbs.tsx:30
|
|
30
31
|
#: src/components/RecommendedInsulin.tsx:34
|
|
31
32
|
msgid "Attention"
|
|
@@ -51,7 +52,7 @@ msgstr "Kohlenhydrate"
|
|
|
51
52
|
msgid "Close calculation"
|
|
52
53
|
msgstr "Berechnung schließen"
|
|
53
54
|
|
|
54
|
-
#: src/utils/AttentionMessages.tsx:
|
|
55
|
+
#: src/utils/AttentionMessages.tsx:30
|
|
55
56
|
msgid "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity."
|
|
56
57
|
msgstr "Betätigen Sie sich erst dann körperlich, wenn Ihr Blutzuckerspiegel vor der körperlichen Aktivität innerhalb des empfohlenen Wertebereichs liegt."
|
|
57
58
|
|
|
@@ -147,11 +148,11 @@ msgstr "Der Hedia-Rechner unterstützt keine Aktivitäten, die vor über 4 Stund
|
|
|
147
148
|
msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
|
|
148
149
|
msgstr "Der Hedia-Rechner unterstützt keine Insulinempfehlungen, die mehr als 300 Gramm Kohlenhydrate enthalten."
|
|
149
150
|
|
|
150
|
-
#: src/utils/AttentionMessages.tsx:
|
|
151
|
+
#: src/utils/AttentionMessages.tsx:44
|
|
151
152
|
msgid "Hedia does not support more than {0} units of insulin per calculation."
|
|
152
153
|
msgstr "Hedia unterstützt nicht mehr als {0} Einheiten Insulin pro Berechnung."
|
|
153
154
|
|
|
154
|
-
#: src/utils/AttentionMessages.tsx:
|
|
155
|
+
#: src/utils/AttentionMessages.tsx:42
|
|
155
156
|
msgid "Hedia doesn't support more than {0} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this calculation."
|
|
156
157
|
msgstr "Hedia unterstützt nicht mehr als {0} Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen körperlichen Aktivität wurden sie bei dieser Berechnung um {1}% auf {2} Einheiten weiter reduziert."
|
|
157
158
|
|
|
@@ -163,7 +164,7 @@ msgstr "Wie fühlen Sie sich?"
|
|
|
163
164
|
msgid "INSULIN{0}RECOMMENDATION"
|
|
164
165
|
msgstr "INSULIN{0}EMPFEHLUNG"
|
|
165
166
|
|
|
166
|
-
#: src/utils/AttentionMessages.tsx:
|
|
167
|
+
#: src/utils/AttentionMessages.tsx:29
|
|
167
168
|
msgid "If it is possible, postpone your planned exercise."
|
|
168
169
|
msgstr "Wenn möglich, verschieben Sie Ihr geplantes Training."
|
|
169
170
|
|
|
@@ -179,7 +180,7 @@ msgstr "Leicht"
|
|
|
179
180
|
msgid "Moderate"
|
|
180
181
|
msgstr "Moderat"
|
|
181
182
|
|
|
182
|
-
#: src/utils/AttentionMessages.tsx:
|
|
183
|
+
#: src/utils/AttentionMessages.tsx:45
|
|
183
184
|
msgid "More than 15 minutes has passed since this calculation was started."
|
|
184
185
|
msgstr "Seit Beginn dieser Berechnung sind mehr als 15 Minuten vergangen."
|
|
185
186
|
|
|
@@ -195,23 +196,23 @@ msgstr "Nein"
|
|
|
195
196
|
msgid "No, return to dashboard"
|
|
196
197
|
msgstr "Nein, zurück zum Dashboard"
|
|
197
198
|
|
|
198
|
-
#: src/components/Remeasure.tsx:
|
|
199
|
+
#: src/components/Remeasure.tsx:36
|
|
199
200
|
msgid "OFF"
|
|
200
201
|
msgstr "AUS"
|
|
201
202
|
|
|
202
|
-
#: src/components/LimitationMessage.tsx:
|
|
203
|
+
#: src/components/LimitationMessage.tsx:20
|
|
203
204
|
#: src/components/RecommendationModal.tsx:19
|
|
204
|
-
#: src/components/RecommendationModal.tsx:
|
|
205
|
+
#: src/components/RecommendationModal.tsx:66
|
|
205
206
|
#: src/components/RecommendedCarbs.tsx:32
|
|
206
207
|
#: src/components/RecommendedInsulin.tsx:36
|
|
207
208
|
msgid "OK"
|
|
208
209
|
msgstr "OK"
|
|
209
210
|
|
|
210
|
-
#: src/utils/AttentionMessages.tsx:
|
|
211
|
+
#: src/utils/AttentionMessages.tsx:46
|
|
211
212
|
msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
|
|
212
213
|
msgstr "Bitte führen Sie die Berechnungsschritte mit neuen Messungen durch, um eine sichere Empfehlung zu erstellen."
|
|
213
214
|
|
|
214
|
-
#: src/utils/AttentionMessages.tsx:
|
|
215
|
+
#: src/utils/AttentionMessages.tsx:50
|
|
215
216
|
msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
|
|
216
217
|
msgstr "Die Empfehlung von {day} um {time} wurden nicht in Ihr Tagebuch eingetragen.{0}Haben Sie sich an die Empfehlung gehalten?"
|
|
217
218
|
|
|
@@ -224,7 +225,7 @@ msgstr "Empfohlen"
|
|
|
224
225
|
msgid "Recommended amount of insulin"
|
|
225
226
|
msgstr "Empfohlene Insulinmenge"
|
|
226
227
|
|
|
227
|
-
#: src/components/Remeasure.tsx:
|
|
228
|
+
#: src/components/Remeasure.tsx:32
|
|
228
229
|
msgid "Remind me to remeasure in"
|
|
229
230
|
msgstr "Ich wünsche eine Erinnerung an eine erneute Messung in"
|
|
230
231
|
|
|
@@ -268,7 +269,7 @@ msgstr "Unbenannte Aktivität"
|
|
|
268
269
|
msgid "We recommend eating an additional:"
|
|
269
270
|
msgstr "Wir empfehlen Ihnen, zusätzlich Folgendes zu essen:"
|
|
270
271
|
|
|
271
|
-
#: src/components/RecommendationModal.tsx:
|
|
272
|
+
#: src/components/RecommendationModal.tsx:47
|
|
272
273
|
msgid "Would you like to add this to your current calculation?"
|
|
273
274
|
msgstr "Möchten Sie dies zu Ihrer aktuellen Berechnung hinzufügen?"
|
|
274
275
|
|
|
@@ -280,31 +281,31 @@ msgstr "Ja"
|
|
|
280
281
|
msgid "Yes, save to logbook"
|
|
281
282
|
msgstr "Ja, im Tagebuch speichern"
|
|
282
283
|
|
|
283
|
-
#: src/utils/AttentionMessages.tsx:
|
|
284
|
+
#: src/utils/AttentionMessages.tsx:31
|
|
284
285
|
msgid "You have a high blood glucose level."
|
|
285
286
|
msgstr "Sie haben einen hohen Blutzuckerspiegel."
|
|
286
287
|
|
|
287
|
-
#: src/utils/AttentionMessages.tsx:
|
|
288
|
+
#: src/utils/AttentionMessages.tsx:32
|
|
288
289
|
msgid "You should take rapid-acting insulin and measure ketones."
|
|
289
290
|
msgstr "Sie sollten schnell wirkendes Insulin einnehmen und die Ketone messen."
|
|
290
291
|
|
|
291
|
-
#: src/utils/AttentionMessages.tsx:
|
|
292
|
+
#: src/utils/AttentionMessages.tsx:28
|
|
292
293
|
msgid "You will be reminded to measure your blood glucose level in 15 min."
|
|
293
294
|
msgstr "Bitte messen Sie Ihren Blutzuckerspiegel in 15 Minuten."
|
|
294
295
|
|
|
295
|
-
#: src/utils/AttentionMessages.tsx:
|
|
296
|
+
#: src/utils/AttentionMessages.tsx:27
|
|
296
297
|
msgid "Your blood glucose level is very low."
|
|
297
298
|
msgstr "Ihr Blutzuckerspiegel ist sehr niedrig."
|
|
298
299
|
|
|
299
|
-
#: src/utils/AttentionMessages.tsx:
|
|
300
|
+
#: src/utils/AttentionMessages.tsx:26
|
|
300
301
|
msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
|
|
301
302
|
msgstr "Ihr Blutzuckerspiegel ist sehr niedrig. Nehmen Sie Glucagon ein oder essen Sie, wenn möglich, Kohlenhydrate. Suchen Sie einen Arzt auf."
|
|
302
303
|
|
|
303
|
-
#: src/utils/AttentionMessages.tsx:
|
|
304
|
+
#: src/utils/AttentionMessages.tsx:33
|
|
304
305
|
msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {1} units of insulin per calculation."
|
|
305
306
|
msgstr "Ihre Empfehlung wäre höher als {0} Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgründen begrenzt. Hedia empfiehlt nie mehr als {1} Einheiten Insulin pro Berechnung."
|
|
306
307
|
|
|
307
|
-
#: src/utils/AttentionMessages.tsx:
|
|
308
|
+
#: src/utils/AttentionMessages.tsx:35
|
|
308
309
|
msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {2} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {3}% to {4}."
|
|
309
310
|
msgstr "Ihre Empfehlung wäre höher als {0} Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgründen begrenzt.{1} Hedia empfiehlt nie mehr als {2} Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen körperlichen Aktivität wurden sie um {3}% auf {4} weiter reduziert."
|
|
310
311
|
|
|
@@ -322,7 +323,7 @@ msgstr "Gramm"
|
|
|
322
323
|
msgid "grams of carbohydrates"
|
|
323
324
|
msgstr "Gramm Kohlenhydrate"
|
|
324
325
|
|
|
325
|
-
#: src/components/Remeasure.tsx:
|
|
326
|
+
#: src/components/Remeasure.tsx:39
|
|
326
327
|
msgid "hours"
|
|
327
328
|
msgstr "Stunden"
|
|
328
329
|
|
|
@@ -330,7 +331,7 @@ msgstr "Stunden"
|
|
|
330
331
|
msgid "min"
|
|
331
332
|
msgstr "Minuten"
|
|
332
333
|
|
|
333
|
-
#: src/components/InfoBars.tsx:19
|
|
334
334
|
#: src/RecommendationScreen.tsx:182
|
|
335
|
+
#: src/components/InfoBars.tsx:19
|
|
335
336
|
msgid "units"
|
|
336
337
|
msgstr "Einheiten"
|
|
@@ -26,7 +26,7 @@ msgid "Additional"
|
|
|
26
26
|
msgstr "Additional"
|
|
27
27
|
|
|
28
28
|
#: src/components/LimitationMessage.tsx:14
|
|
29
|
-
#: src/components/RecommendationModal.tsx:
|
|
29
|
+
#: src/components/RecommendationModal.tsx:59
|
|
30
30
|
#: src/components/RecommendedCarbs.tsx:30
|
|
31
31
|
#: src/components/RecommendedInsulin.tsx:34
|
|
32
32
|
msgid "Attention"
|
|
@@ -52,7 +52,7 @@ msgstr "Carbohydrates"
|
|
|
52
52
|
msgid "Close calculation"
|
|
53
53
|
msgstr "Close calculation"
|
|
54
54
|
|
|
55
|
-
#: src/utils/AttentionMessages.tsx:
|
|
55
|
+
#: src/utils/AttentionMessages.tsx:30
|
|
56
56
|
msgid "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity."
|
|
57
57
|
msgstr "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity."
|
|
58
58
|
|
|
@@ -148,11 +148,11 @@ msgstr "Hedia Calculator does not support activities that finished more than 4 h
|
|
|
148
148
|
msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
|
|
149
149
|
msgstr "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
|
|
150
150
|
|
|
151
|
-
#: src/utils/AttentionMessages.tsx:
|
|
151
|
+
#: src/utils/AttentionMessages.tsx:44
|
|
152
152
|
msgid "Hedia does not support more than {0} units of insulin per calculation."
|
|
153
153
|
msgstr "Hedia does not support more than {0} units of insulin per calculation."
|
|
154
154
|
|
|
155
|
-
#: src/utils/AttentionMessages.tsx:
|
|
155
|
+
#: src/utils/AttentionMessages.tsx:42
|
|
156
156
|
msgid "Hedia doesn't support more than {0} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this calculation."
|
|
157
157
|
msgstr "Hedia doesn't support more than {0} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this calculation."
|
|
158
158
|
|
|
@@ -164,7 +164,7 @@ msgstr "How are you feeling?"
|
|
|
164
164
|
msgid "INSULIN{0}RECOMMENDATION"
|
|
165
165
|
msgstr "INSULIN{0}RECOMMENDATION"
|
|
166
166
|
|
|
167
|
-
#: src/utils/AttentionMessages.tsx:
|
|
167
|
+
#: src/utils/AttentionMessages.tsx:29
|
|
168
168
|
msgid "If it is possible, postpone your planned exercise."
|
|
169
169
|
msgstr "If it is possible, postpone your planned exercise."
|
|
170
170
|
|
|
@@ -180,7 +180,7 @@ msgstr "Light"
|
|
|
180
180
|
msgid "Moderate"
|
|
181
181
|
msgstr "Moderate"
|
|
182
182
|
|
|
183
|
-
#: src/utils/AttentionMessages.tsx:
|
|
183
|
+
#: src/utils/AttentionMessages.tsx:45
|
|
184
184
|
msgid "More than 15 minutes has passed since this calculation was started."
|
|
185
185
|
msgstr "More than 15 minutes has passed since this calculation was started."
|
|
186
186
|
|
|
@@ -196,23 +196,23 @@ msgstr "No"
|
|
|
196
196
|
msgid "No, return to dashboard"
|
|
197
197
|
msgstr "No, return to dashboard"
|
|
198
198
|
|
|
199
|
-
#: src/components/Remeasure.tsx:
|
|
199
|
+
#: src/components/Remeasure.tsx:36
|
|
200
200
|
msgid "OFF"
|
|
201
201
|
msgstr "OFF"
|
|
202
202
|
|
|
203
|
-
#: src/components/LimitationMessage.tsx:
|
|
203
|
+
#: src/components/LimitationMessage.tsx:20
|
|
204
204
|
#: src/components/RecommendationModal.tsx:19
|
|
205
|
-
#: src/components/RecommendationModal.tsx:
|
|
205
|
+
#: src/components/RecommendationModal.tsx:66
|
|
206
206
|
#: src/components/RecommendedCarbs.tsx:32
|
|
207
207
|
#: src/components/RecommendedInsulin.tsx:36
|
|
208
208
|
msgid "OK"
|
|
209
209
|
msgstr "OK"
|
|
210
210
|
|
|
211
|
-
#: src/utils/AttentionMessages.tsx:
|
|
211
|
+
#: src/utils/AttentionMessages.tsx:46
|
|
212
212
|
msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
|
|
213
213
|
msgstr "Please go through the calculation steps with new measurements to ensure a safe recommendation."
|
|
214
214
|
|
|
215
|
-
#: src/utils/AttentionMessages.tsx:
|
|
215
|
+
#: src/utils/AttentionMessages.tsx:50
|
|
216
216
|
msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
|
|
217
217
|
msgstr "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
|
|
218
218
|
|
|
@@ -225,7 +225,7 @@ msgstr "Recommended"
|
|
|
225
225
|
msgid "Recommended amount of insulin"
|
|
226
226
|
msgstr "Recommended amount of insulin"
|
|
227
227
|
|
|
228
|
-
#: src/components/Remeasure.tsx:
|
|
228
|
+
#: src/components/Remeasure.tsx:32
|
|
229
229
|
msgid "Remind me to remeasure in"
|
|
230
230
|
msgstr "Remind me to remeasure in"
|
|
231
231
|
|
|
@@ -269,7 +269,7 @@ msgstr "Untitled Activity"
|
|
|
269
269
|
msgid "We recommend eating an additional:"
|
|
270
270
|
msgstr "We recommend eating an additional:"
|
|
271
271
|
|
|
272
|
-
#: src/components/RecommendationModal.tsx:
|
|
272
|
+
#: src/components/RecommendationModal.tsx:47
|
|
273
273
|
msgid "Would you like to add this to your current calculation?"
|
|
274
274
|
msgstr "Would you like to add this to your current calculation?"
|
|
275
275
|
|
|
@@ -281,31 +281,31 @@ msgstr "Yes"
|
|
|
281
281
|
msgid "Yes, save to logbook"
|
|
282
282
|
msgstr "Yes, save to logbook"
|
|
283
283
|
|
|
284
|
-
#: src/utils/AttentionMessages.tsx:
|
|
284
|
+
#: src/utils/AttentionMessages.tsx:31
|
|
285
285
|
msgid "You have a high blood glucose level."
|
|
286
286
|
msgstr "You have a high blood glucose level."
|
|
287
287
|
|
|
288
|
-
#: src/utils/AttentionMessages.tsx:
|
|
288
|
+
#: src/utils/AttentionMessages.tsx:32
|
|
289
289
|
msgid "You should take rapid-acting insulin and measure ketones."
|
|
290
290
|
msgstr "You should take rapid-acting insulin and measure ketones."
|
|
291
291
|
|
|
292
|
-
#: src/utils/AttentionMessages.tsx:
|
|
292
|
+
#: src/utils/AttentionMessages.tsx:28
|
|
293
293
|
msgid "You will be reminded to measure your blood glucose level in 15 min."
|
|
294
294
|
msgstr "You will be reminded to measure your blood glucose level in 15 min."
|
|
295
295
|
|
|
296
|
-
#: src/utils/AttentionMessages.tsx:
|
|
296
|
+
#: src/utils/AttentionMessages.tsx:27
|
|
297
297
|
msgid "Your blood glucose level is very low."
|
|
298
298
|
msgstr "Your blood glucose level is very low."
|
|
299
299
|
|
|
300
|
-
#: src/utils/AttentionMessages.tsx:
|
|
300
|
+
#: src/utils/AttentionMessages.tsx:26
|
|
301
301
|
msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
|
|
302
302
|
msgstr "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
|
|
303
303
|
|
|
304
|
-
#: src/utils/AttentionMessages.tsx:
|
|
304
|
+
#: src/utils/AttentionMessages.tsx:33
|
|
305
305
|
msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {1} units of insulin per calculation."
|
|
306
306
|
msgstr "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {1} units of insulin per calculation."
|
|
307
307
|
|
|
308
|
-
#: src/utils/AttentionMessages.tsx:
|
|
308
|
+
#: src/utils/AttentionMessages.tsx:35
|
|
309
309
|
msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {2} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {3}% to {4}."
|
|
310
310
|
msgstr "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {2} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {3}% to {4}."
|
|
311
311
|
|
|
@@ -323,7 +323,7 @@ msgstr "grams"
|
|
|
323
323
|
msgid "grams of carbohydrates"
|
|
324
324
|
msgstr "grams of carbohydrates"
|
|
325
325
|
|
|
326
|
-
#: src/components/Remeasure.tsx:
|
|
326
|
+
#: src/components/Remeasure.tsx:39
|
|
327
327
|
msgid "hours"
|
|
328
328
|
msgstr "hours"
|
|
329
329
|
|
|
@@ -331,7 +331,7 @@ msgstr "hours"
|
|
|
331
331
|
msgid "min"
|
|
332
332
|
msgstr "min"
|
|
333
333
|
|
|
334
|
-
#: src/components/InfoBars.tsx:19
|
|
335
334
|
#: src/RecommendationScreen.tsx:182
|
|
335
|
+
#: src/components/InfoBars.tsx:19
|
|
336
336
|
msgid "units"
|
|
337
337
|
msgstr "units"
|