@hedia/recommendation-screen 1.1.2 → 1.2.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.
@@ -13,7 +13,7 @@ msgstr ""
13
13
  "Language-Team: \n"
14
14
  "Plural-Forms: \n"
15
15
 
16
- #: src/RecommendationScreen.tsx:128
16
+ #: src/RecommendationScreen.tsx:147
17
17
  msgid "Active Insulin"
18
18
  msgstr "Aktiv Insulin"
19
19
 
@@ -25,75 +25,84 @@ msgstr "Aktivitet"
25
25
  msgid "Additional"
26
26
  msgstr "Supplerende"
27
27
 
28
+ #: src/components/RecommendationModal.tsx:60
29
+ #: src/components/RecommendationModal.tsx:74
30
+ msgid "Attention"
31
+ msgstr "OBS"
32
+
28
33
  #: src/components/activity/Activity.tsx:32
29
34
  msgid "Based on the selected activity your insulin recommendation is reduced by:"
30
35
  msgstr "Baseret på din valgte aktivitet er din insulin anbefaling reduceret med:"
31
36
 
32
- #: src/RecommendationScreen.tsx:129
37
+ #: src/RecommendationScreen.tsx:148
33
38
  msgid "Blood Glucose Level"
34
39
  msgstr "Blodsukkerniveau"
35
40
 
36
- #: src/components/RecommendedCarbs.tsx:101
41
+ #: src/components/ExitModal.tsx:27
42
+ msgid "Close calculation"
43
+ msgstr "Luk beregning"
44
+
45
+ #: src/components/RecommendedCarbs.tsx:99
37
46
  msgid "Entered"
38
47
  msgstr "Indtastet"
39
48
 
40
- #: src/utils/RecommendationError.ts:24
41
- msgid "Error. Hedia Calculator does not support an insulin dosis greater that 50 units"
49
+ #: src/utils/RecommendationError.tsx:23
50
+ msgid "Error. Hedia Calculator does not support an insulin dosis greater than {0} units"
42
51
  msgstr ""
43
52
 
44
- #: src/utils/RecommendationError.ts:25
53
+ #: src/utils/RecommendationError.tsx:24
45
54
  msgid "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
46
55
  msgstr ""
47
56
 
48
- #: src/utils/RecommendationError.ts:14
57
+ #: src/utils/RecommendationError.tsx:15
49
58
  msgid "Error. Hedia Calculator does not support your activity intensity value"
50
59
  msgstr ""
51
60
 
52
- #: src/utils/RecommendationError.ts:22
61
+ #: src/utils/RecommendationError.tsx:21
53
62
  msgid "Error. Hedia Calculator does not support your current blood glucose level."
54
63
  msgstr ""
55
64
 
56
- #: src/utils/RecommendationError.ts:29
65
+ #: src/utils/RecommendationError.tsx:28
57
66
  msgid "Error. Hedia Calculator does not support your current blood glucose unit."
58
67
  msgstr ""
59
68
 
60
- #: src/utils/RecommendationError.ts:28
69
+ #: src/utils/RecommendationError.tsx:27
61
70
  msgid "Error. Hedia Calculator does not support your current language."
62
71
  msgstr ""
63
72
 
64
- #: src/utils/RecommendationError.ts:27
73
+ #: src/utils/RecommendationError.tsx:26
65
74
  msgid "Error. Hedia Calculator does not support your injection method."
66
75
  msgstr ""
67
76
 
68
- #: src/utils/RecommendationError.ts:12
77
+ #: src/utils/RecommendationError.tsx:13
69
78
  msgid "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
70
79
  msgstr ""
71
80
 
72
- #: src/utils/RecommendationError.ts:11
81
+ #: src/utils/RecommendationError.tsx:12
73
82
  msgid "Error. Please verify that your activity settings are set up correctly."
74
83
  msgstr ""
75
84
 
76
- #: src/utils/RecommendationError.ts:15
85
+ #: src/utils/RecommendationError.tsx:16
77
86
  msgid "Error. Please verify that your activity target blood glucose value is correct."
78
87
  msgstr ""
79
88
 
80
- #: src/utils/RecommendationError.ts:20
89
+ #: src/utils/RecommendationError.tsx:19
81
90
  msgid "Error. Please verify that your insulin sensitivity value is correct."
82
91
  msgstr ""
83
92
 
84
- #: src/utils/RecommendationError.ts:21
93
+ #: src/utils/RecommendationError.tsx:20
85
94
  msgid "Error. Please verify that your insulin to carb ratio value is correct."
86
95
  msgstr ""
87
96
 
88
- #: src/utils/RecommendationError.ts:23
97
+ #: src/utils/RecommendationError.tsx:22
89
98
  msgid "Error. Please verify that your target blood glucose value is correct."
90
99
  msgstr ""
91
100
 
92
- #: src/utils/RecommendationError.ts:26
101
+ #: src/utils/RecommendationError.tsx:25
93
102
  msgid "Error. Please verify your notifications settings."
94
103
  msgstr ""
95
104
 
96
- #: src/components/RecommendedCarbs.tsx:100
105
+ #: src/components/RecommendedCarbs.tsx:98
97
106
  msgid "Food"
98
107
  msgstr "Mad"
99
108
 
@@ -105,17 +114,21 @@ msgstr "Hård"
105
114
  msgid "Have you taken insulin within the last 4 hours?"
106
115
  msgstr "Har du taget insulin inden for de sidste 4 timer?"
107
116
 
108
- #: src/utils/RecommendationError.ts:13
117
+ #: src/utils/RecommendationError.tsx:14
109
118
  msgid "Hedia Calculator does not support activities that finished more than 4 hours ago."
110
119
  msgstr ""
111
120
 
112
- #: src/utils/RecommendationError.ts:16
121
+ #: src/utils/RecommendationError.tsx:17
113
122
  msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
114
123
  msgstr ""
115
124
 
116
- #: src/utils/AttentionMessages.ts:20
117
- msgid "Hedia doesn't support more than {0} units of insulin per log, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this log."
118
- msgstr ""
125
+ #: src/utils/AttentionMessages.tsx:38
126
+ msgid "Hedia does not support more than {0} units of insulin per calculation."
127
+ msgstr "Hedia understøtter maksimalt {0} units af insulin per beregning"
128
+
129
+ #: src/utils/AttentionMessages.tsx:36
130
+ 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."
131
+ msgstr "Hedia understøtter maksimalt {0} units af insulin per beregning, men på grund af den fysiske aktivitet du har indtastet er grænsen reduceret med yderligere {1}% til {2} for denne beregning."
119
132
 
120
133
  #: src/components/mood/Emotion.tsx:24
121
134
  msgid "How are you feeling?"
@@ -125,17 +138,13 @@ msgstr "Hvordan har du det?"
125
138
  msgid "INSULIN{0}RECOMMENDATION"
126
139
  msgstr "INSULIN{0}ANBEFALING"
127
140
 
128
- #: src/utils/AttentionMessages.ts:9
141
+ #: src/utils/AttentionMessages.tsx:24
129
142
  msgid "If it is possible, postpone your planned exercise."
130
- msgstr ""
143
+ msgstr "Hvis det er muligt, udsæt din planlagte træning."
131
144
 
132
- #: src/components/HediaRecommendationModal.tsx:35
145
+ #: src/components/RecommendationModal.tsx:41
133
146
  msgid "Instead of taking insulin"
134
- msgstr ""
135
-
136
- #: src/utils/RecommendationError.ts:16
137
- #~ msgid "Insulin limit reached, for your safety Hedia will not recommend more than this."
138
- #~ msgstr "Insulingrænsen i Hedia er nået, for din sikkerhed vil der ikke blive anbefalet mere end dette."
147
+ msgstr "I stedet for at tage insulin"
139
148
 
140
149
  #: src/components/activity/ActivityIntensity.tsx:7
141
150
  msgid "Light"
@@ -145,13 +154,13 @@ msgstr "Let"
145
154
  msgid "Moderate"
146
155
  msgstr "Moderat"
147
156
 
148
- #: src/utils/RecommendationError.ts:30
157
+ #: src/utils/RecommendationError.tsx:29
149
158
  msgid "More than 15 minutes has passed since this calculation was started.{0}Please go through the calculation steps with new measurements to ensure a safe recommendation."
150
159
  msgstr "Der er gået mere end 15 minutter siden udregningen blev startet.{0}Gå venligst gennem udregningstrinnene igen med nye målinger for at sikre en sikker anbefaling."
151
160
 
152
- #: src/components/HediaRecommendationModal.tsx:20
161
+ #: src/components/RecommendationModal.tsx:21
153
162
  msgid "NO"
154
- msgstr ""
163
+ msgstr "NEJ"
155
164
 
156
165
  #: src/components/RecentInsulin.tsx:25
157
166
  msgid "No"
@@ -161,15 +170,12 @@ msgstr "Nej"
161
170
  msgid "OFF"
162
171
  msgstr "OFF"
163
172
 
164
- #: src/components/HediaRecommendationModal.tsx:17
165
- #: src/components/HediaRecommendationModal.tsx:76
173
+ #: src/components/RecommendationModal.tsx:18
174
+ #: src/components/RecommendationModal.tsx:88
175
+ #: src/components/RecommendationModal.tsx:95
166
176
  msgid "OK"
167
177
  msgstr ""
168
178
 
169
- #: src/components/HediaRecommendationModal.tsx:69
170
- msgid "OKAY"
171
- msgstr ""
172
-
173
179
  #: src/components/activity/ActivityIntensity.tsx:10
174
180
  msgid "Post"
175
181
  msgstr "Efter"
@@ -179,7 +185,7 @@ msgid "Recommended"
179
185
  msgstr "Anbefalet"
180
186
 
181
187
  #: src/components/RecentInsulin.tsx:12
182
- #: src/components/RecommendedInsulin.tsx:44
188
+ #: src/components/RecommendedInsulin.tsx:45
183
189
  msgid "Recommended amount of insulin"
184
190
  msgstr "Anbefalet enhed(er) af insulin"
185
191
 
@@ -187,6 +193,14 @@ msgstr "Anbefalet enhed(er) af insulin"
187
193
  msgid "Remind me to remeasure in"
188
194
  msgstr "Påmind mig at genmåle om"
189
195
 
196
+ #: src/components/ExitModal.tsx:17
197
+ msgid "Save data before closing?"
198
+ msgstr "Vil du gemme din indtastning?"
199
+
200
+ #: src/components/ExitModal.tsx:24
201
+ msgid "Save to logbook"
202
+ msgstr "Gem i logbog"
203
+
190
204
  #: src/components/RecommendedCarbs.tsx:68
191
205
  msgid "Total"
192
206
  msgstr "Sum"
@@ -199,7 +213,7 @@ msgstr "Overfør til logbog"
199
213
  msgid "Transferred to logbook"
200
214
  msgstr "Overført til logbog"
201
215
 
202
- #: src/components/RecommendedInsulin.tsx:50
216
+ #: src/components/RecommendedInsulin.tsx:51
203
217
  msgid "Units"
204
218
  msgstr "Enheder"
205
219
 
@@ -207,11 +221,11 @@ msgstr "Enheder"
207
221
  msgid "Untitled Activity"
208
222
  msgstr "Unavngivet aktivitet"
209
223
 
210
- #: src/components/HediaRecommendationModal.tsx:29
224
+ #: src/components/RecommendationModal.tsx:31
211
225
  msgid "We recommend eating an additional:"
212
226
  msgstr "Vi anbefaler at spise yderligere:"
213
227
 
214
- #: src/components/HediaRecommendationModal.tsx:39
228
+ #: src/components/RecommendationModal.tsx:47
215
229
  msgid "Would you like to add this to your current calculation?"
216
230
  msgstr ""
217
231
 
@@ -219,42 +233,45 @@ msgstr ""
219
233
  msgid "Yes"
220
234
  msgstr "Ja"
221
235
 
222
- #: src/utils/AttentionMessages.ts:10
236
+ #: src/utils/AttentionMessages.tsx:25
223
237
  msgid "You have a high blood glucose level."
224
- msgstr ""
238
+ msgstr "Du har et højt blodsukkerniveau."
225
239
 
226
- #: src/utils/AttentionMessages.ts:11
240
+ #: src/utils/AttentionMessages.tsx:26
227
241
  msgid "You should take rapid-acting insulin and measure ketones."
228
- msgstr ""
242
+ msgstr "Du burde tage hurtigtvirkende insulin og måle ketoner."
229
243
 
230
- #: src/utils/AttentionMessages.ts:8
244
+ #: src/utils/AttentionMessages.tsx:23
231
245
  msgid "You will be reminded to measure your blood glucose level in 15 min."
232
- msgstr ""
246
+ msgstr "Du vil få påmindelser om at måle dit blodsukkerniveau om 15 minutter."
233
247
 
234
- #: src/utils/AttentionMessages.ts:7
248
+ #: src/utils/AttentionMessages.tsx:22
235
249
  msgid "Your blood glucose level is very low."
236
- msgstr ""
250
+ msgstr "Dit blodsukkerniveau er meget lavt."
237
251
 
238
- #: src/utils/AttentionMessages.ts:6
252
+ #: src/utils/AttentionMessages.tsx:21
239
253
  msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
240
- msgstr ""
254
+ msgstr "Dit blodsukkerniveau er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. Søg lægehjælp."
241
255
 
242
- #: src/utils/AttentionMessages.ts:12
243
- #: src/utils/AttentionMessages.ts:22
244
- msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons."
256
+ #: src/utils/AttentionMessages.tsx:27
257
+ 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."
245
258
  msgstr ""
246
259
 
247
- #: src/utils/AttentionMessages.ts:13
260
+ #: src/utils/AttentionMessages.tsx:29
248
261
  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}."
249
- msgstr ""
262
+ msgstr "Din anbefaling ville have været højere end {0} units af insulin, men den er blevet begrænset af sikkerhedshensyn.{1}Hedia anbefaler aldrig mere end {2} units af insulin per beregning, men på grund af den fysiske aktivitet du har indtastet er grænsen reduceret med yderligere {3}% til {4}."
263
+
264
+ #: src/components/ExitModal.tsx:19
265
+ msgid "Your saved data will be used for future calculations."
266
+ msgstr "Dine gemte indtastninger vil blive brugt til fremtidige beregninger."
250
267
 
251
268
  #: src/components/RecommendedCarbs.tsx:60
252
269
  #: src/components/RecommendedCarbs.tsx:70
253
- #: src/components/RecommendedCarbs.tsx:103
270
+ #: src/components/RecommendedCarbs.tsx:101
254
271
  msgid "g carbs"
255
- msgstr "g carbs"
272
+ msgstr "g kulhydrater"
256
273
 
257
- #: src/components/HediaRecommendationModal.tsx:33
274
+ #: src/components/RecommendationModal.tsx:37
258
275
  msgid "grams of carbohydrates"
259
276
  msgstr ""
260
277
 
@@ -266,6 +283,6 @@ msgstr "timer"
266
283
  msgid "min"
267
284
  msgstr "min"
268
285
 
269
- #: src/RecommendationScreen.tsx:128
286
+ #: src/RecommendationScreen.tsx:147
270
287
  msgid "units"
271
288
  msgstr "enheder"
@@ -1 +1 @@
1
- /* eslint-disable */module.exports={languageData:{"plurals":function(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return n10==1&&n100!=11?"one":n10==2&&n100!=12?"two":n10==3&&n100!=13?"few":"other";return n==1&&v0?"one":"other"}},messages:{"Active Insulin":"Active Insulin","Activity":"Activity","Additional":"Additional","Based on the selected activity your insulin recommendation is reduced by:":"Based on the selected activity your insulin recommendation is reduced by:","Blood Glucose Level":"Blood Glucose Level","Entered":"Entered","Error. Hedia Calculator does not support an insulin dosis greater that 50 units":"Error. Hedia Calculator does not support an insulin dosis greater that 50 units","Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours":"Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours","Error. Hedia Calculator does not support your activity intensity value":"Error. Hedia Calculator does not support your activity intensity value","Error. Hedia Calculator does not support your current blood glucose level.":"Error. Hedia Calculator does not support your current blood glucose level.","Error. Hedia Calculator does not support your current blood glucose unit.":"Error. Hedia Calculator does not support your current blood glucose unit.","Error. Hedia Calculator does not support your current language.":"Error. Hedia Calculator does not support your current language.","Error. Hedia Calculator does not support your injection method.":"Error. Hedia Calculator does not support your injection method.","Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.":"Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.","Error. Please verify that your activity settings are set up correctly.":"Error. Please verify that your activity settings are set up correctly.","Error. Please verify that your activity target blood glucose value is correct.":"Error. Please verify that your activity target blood glucose value is correct.","Error. Please verify that your insulin sensitivity value is correct.":"Error. Please verify that your insulin sensitivity value is correct.","Error. Please verify that your insulin to carb ratio value is correct.":"Error. Please verify that your insulin to carb ratio value is correct.","Error. Please verify that your target blood glucose value is correct.":"Error. Please verify that your target blood glucose value is correct.","Error. Please verify your notifications settings.":"Error. Please verify your notifications settings.","Food":"Food","Hard":"Hard","Have you taken insulin within the last 4 hours?":"Have you taken insulin within the last 4 hours?","Hedia Calculator does not support activities that finished more than 4 hours ago.":"Hedia Calculator does not support activities that finished more than 4 hours ago.","Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.":"Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.","Hedia doesn't support more than {0} units of insulin per log, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this log.":function(a){return["Hedia doesn't support more than ",a("0")," units of insulin per log, but because of the physical activity you entered it has been further reduced by ",a("1"),"% to ",a("2")," units for this log."]},"How are you feeling?":"How are you feeling?","INSULIN{0}RECOMMENDATION":function(a){return["INSULIN",a("0"),"RECOMMENDATION"]},"If it is possible, postpone your planned exercise.":"If it is possible, postpone your planned exercise.","Instead of taking insulin":"Instead of taking insulin","Insulin limit reached, for your safety Hedia will not recommend more than this.":"Insulin limit reached, for your safety Hedia will not recommend more than this.","Light":"Light","Moderate":"Moderate","More than 15 minutes has passed since this calculation was started.{0}Please go through the calculation steps with new measurements to ensure a safe recommendation.":function(a){return["More than 15 minutes has passed since this calculation was started.",a("0"),"Please go through the calculation steps with new measurements to ensure a safe recommendation."]},"NO":"NO","No":"No","OFF":"OFF","OK":"OK","OKAY":"OKAY","Post":"Post","Recommended":"Recommended","Recommended amount of insulin":"Recommended amount of insulin","Remind me to remeasure in":"Remind me to remeasure in","Total":"Total","Transfer to logbook":"Transfer to logbook","Transferred to logbook":"Transferred to logbook","Units":"Units","Untitled Activity":"Untitled Activity","We recommend eating an additional:":"We recommend eating an additional:","Would you like to add this to your current calculation?":"Would you like to add this to your current calculation?","Yes":"Yes","You have a high blood glucose level.":"You have a high blood glucose level.","You should take rapid-acting insulin and measure ketones.":"You should take rapid-acting insulin and measure ketones.","You will be reminded to measure your blood glucose level in 15 min.":"You will be reminded to measure your blood glucose level in 15 min.","Your blood glucose level is very low.":"Your blood glucose level is very low.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.","Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.":function(a){return["Your recommendation would have been higher than ",a("0")," units of insulin, but it has been limited for safety reasons."]},"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}.":function(a){return["Your recommendation would have been higher than ",a("0")," units of insulin, but it has been limited for safety reasons.",a("1")," Hedia never recommends more than ",a("2")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("3"),"% to ",a("4"),"."]},"g carbs":"g carbs","grams of carbohydrates":"grams of carbohydrates","hours":"hours","min":"min","units":"units"}};
1
+ /* eslint-disable */module.exports={languageData:{"plurals":function(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return n10==1&&n100!=11?"one":n10==2&&n100!=12?"two":n10==3&&n100!=13?"few":"other";return n==1&&v0?"one":"other"}},messages:{"Active Insulin":"Active Insulin","Activity":"Activity","Additional":"Additional","Attention":"Attention","Based on the selected activity your insulin recommendation is reduced by:":"Based on the selected activity your insulin recommendation is reduced by:","Blood Glucose Level":"Blood Glucose Level","Close calculation":"Close calculation","Entered":"Entered","Error. Hedia Calculator does not support an insulin dosis greater than {0} units":function(a){return["Error. Hedia Calculator does not support an insulin dosis greater than ",a("0")," units"]},"Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours":"Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours","Error. Hedia Calculator does not support your activity intensity value":"Error. Hedia Calculator does not support your activity intensity value","Error. Hedia Calculator does not support your current blood glucose level.":"Error. Hedia Calculator does not support your current blood glucose level.","Error. Hedia Calculator does not support your current blood glucose unit.":"Error. Hedia Calculator does not support your current blood glucose unit.","Error. Hedia Calculator does not support your current language.":"Error. Hedia Calculator does not support your current language.","Error. Hedia Calculator does not support your injection method.":"Error. Hedia Calculator does not support your injection method.","Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.":"Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.","Error. Please verify that your activity settings are set up correctly.":"Error. Please verify that your activity settings are set up correctly.","Error. Please verify that your activity target blood glucose value is correct.":"Error. Please verify that your activity target blood glucose value is correct.","Error. Please verify that your insulin sensitivity value is correct.":"Error. Please verify that your insulin sensitivity value is correct.","Error. Please verify that your insulin to carb ratio value is correct.":"Error. Please verify that your insulin to carb ratio value is correct.","Error. Please verify that your target blood glucose value is correct.":"Error. Please verify that your target blood glucose value is correct.","Error. Please verify your notifications settings.":"Error. Please verify your notifications settings.","Food":"Food","Hard":"Hard","Have you taken insulin within the last 4 hours?":"Have you taken insulin within the last 4 hours?","Hedia Calculator does not support activities that finished more than 4 hours ago.":"Hedia Calculator does not support activities that finished more than 4 hours ago.","Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.":"Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.","Hedia does not support more than {0} units of insulin per calculation.":function(a){return["Hedia does not support more than ",a("0")," units of insulin per calculation."]},"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.":function(a){return["Hedia doesn't support more than ",a("0")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("1"),"% to ",a("2")," units for this calculation."]},"How are you feeling?":"How are you feeling?","INSULIN{0}RECOMMENDATION":function(a){return["INSULIN",a("0"),"RECOMMENDATION"]},"If it is possible, postpone your planned exercise.":"If it is possible, postpone your planned exercise.","Instead of taking insulin":"Instead of taking insulin","Light":"Light","Moderate":"Moderate","More than 15 minutes has passed since this calculation was started.{0}Please go through the calculation steps with new measurements to ensure a safe recommendation.":function(a){return["More than 15 minutes has passed since this calculation was started.",a("0"),"Please go through the calculation steps with new measurements to ensure a safe recommendation."]},"NO":"NO","No":"No","OFF":"OFF","OK":"OK","Post":"Post","Recommended":"Recommended","Recommended amount of insulin":"Recommended amount of insulin","Remind me to remeasure in":"Remind me to remeasure in","Save data before closing?":"Save data before closing?","Save to logbook":"Save to logbook","Total":"Total","Transfer to logbook":"Transfer to logbook","Transferred to logbook":"Transferred to logbook","Units":"Units","Untitled Activity":"Untitled Activity","We recommend eating an additional:":"We recommend eating an additional:","Would you like to add this to your current calculation?":"Would you like to add this to your current calculation?","Yes":"Yes","You have a high blood glucose level.":"You have a high blood glucose level.","You should take rapid-acting insulin and measure ketones.":"You should take rapid-acting insulin and measure ketones.","You will be reminded to measure your blood glucose level in 15 min.":"You will be reminded to measure your blood glucose level in 15 min.","Your blood glucose level is very low.":"Your blood glucose level is very low.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.","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.":function(a){return["Your recommendation would have been higher than ",a("0")," units of insulin, but it has been limited for safety reasons. Hedia never recommends more than ",a("1")," units of insulin per calculation."]},"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}.":function(a){return["Your recommendation would have been higher than ",a("0")," units of insulin, but it has been limited for safety reasons.",a("1")," Hedia never recommends more than ",a("2")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("3"),"% to ",a("4"),"."]},"Your saved data will be used for future calculations.":"Your saved data will be used for future calculations.","g carbs":"g carbs","grams of carbohydrates":"grams of carbohydrates","hours":"hours","min":"min","units":"units"}};
@@ -13,7 +13,7 @@ msgstr ""
13
13
  "Language-Team: \n"
14
14
  "Plural-Forms: \n"
15
15
 
16
- #: src/RecommendationScreen.tsx:128
16
+ #: src/RecommendationScreen.tsx:147
17
17
  msgid "Active Insulin"
18
18
  msgstr "Active Insulin"
19
19
 
@@ -25,75 +25,84 @@ msgstr "Activity"
25
25
  msgid "Additional"
26
26
  msgstr "Additional"
27
27
 
28
+ #: src/components/RecommendationModal.tsx:60
29
+ #: src/components/RecommendationModal.tsx:74
30
+ msgid "Attention"
31
+ msgstr "Attention"
32
+
28
33
  #: src/components/activity/Activity.tsx:32
29
34
  msgid "Based on the selected activity your insulin recommendation is reduced by:"
30
35
  msgstr "Based on the selected activity your insulin recommendation is reduced by:"
31
36
 
32
- #: src/RecommendationScreen.tsx:129
37
+ #: src/RecommendationScreen.tsx:148
33
38
  msgid "Blood Glucose Level"
34
39
  msgstr "Blood Glucose Level"
35
40
 
36
- #: src/components/RecommendedCarbs.tsx:101
41
+ #: src/components/ExitModal.tsx:27
42
+ msgid "Close calculation"
43
+ msgstr "Close calculation"
44
+
45
+ #: src/components/RecommendedCarbs.tsx:99
37
46
  msgid "Entered"
38
47
  msgstr "Entered"
39
48
 
40
- #: src/utils/RecommendationError.ts:24
41
- msgid "Error. Hedia Calculator does not support an insulin dosis greater that 50 units"
42
- msgstr "Error. Hedia Calculator does not support an insulin dosis greater that 50 units"
49
+ #: src/utils/RecommendationError.tsx:23
50
+ msgid "Error. Hedia Calculator does not support an insulin dosis greater than {0} units"
51
+ msgstr "Error. Hedia Calculator does not support an insulin dosis greater than {0} units"
43
52
 
44
- #: src/utils/RecommendationError.ts:25
53
+ #: src/utils/RecommendationError.tsx:24
45
54
  msgid "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
46
55
  msgstr "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
47
56
 
48
- #: src/utils/RecommendationError.ts:14
57
+ #: src/utils/RecommendationError.tsx:15
49
58
  msgid "Error. Hedia Calculator does not support your activity intensity value"
50
59
  msgstr "Error. Hedia Calculator does not support your activity intensity value"
51
60
 
52
- #: src/utils/RecommendationError.ts:22
61
+ #: src/utils/RecommendationError.tsx:21
53
62
  msgid "Error. Hedia Calculator does not support your current blood glucose level."
54
63
  msgstr "Error. Hedia Calculator does not support your current blood glucose level."
55
64
 
56
- #: src/utils/RecommendationError.ts:29
65
+ #: src/utils/RecommendationError.tsx:28
57
66
  msgid "Error. Hedia Calculator does not support your current blood glucose unit."
58
67
  msgstr "Error. Hedia Calculator does not support your current blood glucose unit."
59
68
 
60
- #: src/utils/RecommendationError.ts:28
69
+ #: src/utils/RecommendationError.tsx:27
61
70
  msgid "Error. Hedia Calculator does not support your current language."
62
71
  msgstr "Error. Hedia Calculator does not support your current language."
63
72
 
64
- #: src/utils/RecommendationError.ts:27
73
+ #: src/utils/RecommendationError.tsx:26
65
74
  msgid "Error. Hedia Calculator does not support your injection method."
66
75
  msgstr "Error. Hedia Calculator does not support your injection method."
67
76
 
68
- #: src/utils/RecommendationError.ts:12
77
+ #: src/utils/RecommendationError.tsx:13
69
78
  msgid "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
70
79
  msgstr "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
71
80
 
72
- #: src/utils/RecommendationError.ts:11
81
+ #: src/utils/RecommendationError.tsx:12
73
82
  msgid "Error. Please verify that your activity settings are set up correctly."
74
83
  msgstr "Error. Please verify that your activity settings are set up correctly."
75
84
 
76
- #: src/utils/RecommendationError.ts:15
85
+ #: src/utils/RecommendationError.tsx:16
77
86
  msgid "Error. Please verify that your activity target blood glucose value is correct."
78
87
  msgstr "Error. Please verify that your activity target blood glucose value is correct."
79
88
 
80
- #: src/utils/RecommendationError.ts:20
89
+ #: src/utils/RecommendationError.tsx:19
81
90
  msgid "Error. Please verify that your insulin sensitivity value is correct."
82
91
  msgstr "Error. Please verify that your insulin sensitivity value is correct."
83
92
 
84
- #: src/utils/RecommendationError.ts:21
93
+ #: src/utils/RecommendationError.tsx:20
85
94
  msgid "Error. Please verify that your insulin to carb ratio value is correct."
86
95
  msgstr "Error. Please verify that your insulin to carb ratio value is correct."
87
96
 
88
- #: src/utils/RecommendationError.ts:23
97
+ #: src/utils/RecommendationError.tsx:22
89
98
  msgid "Error. Please verify that your target blood glucose value is correct."
90
99
  msgstr "Error. Please verify that your target blood glucose value is correct."
91
100
 
92
- #: src/utils/RecommendationError.ts:26
101
+ #: src/utils/RecommendationError.tsx:25
93
102
  msgid "Error. Please verify your notifications settings."
94
103
  msgstr "Error. Please verify your notifications settings."
95
104
 
96
- #: src/components/RecommendedCarbs.tsx:100
105
+ #: src/components/RecommendedCarbs.tsx:98
97
106
  msgid "Food"
98
107
  msgstr "Food"
99
108
 
@@ -105,17 +114,21 @@ msgstr "Hard"
105
114
  msgid "Have you taken insulin within the last 4 hours?"
106
115
  msgstr "Have you taken insulin within the last 4 hours?"
107
116
 
108
- #: src/utils/RecommendationError.ts:13
117
+ #: src/utils/RecommendationError.tsx:14
109
118
  msgid "Hedia Calculator does not support activities that finished more than 4 hours ago."
110
119
  msgstr "Hedia Calculator does not support activities that finished more than 4 hours ago."
111
120
 
112
- #: src/utils/RecommendationError.ts:16
121
+ #: src/utils/RecommendationError.tsx:17
113
122
  msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
114
123
  msgstr "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
115
124
 
116
- #: src/utils/AttentionMessages.ts:20
117
- msgid "Hedia doesn't support more than {0} units of insulin per log, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this log."
118
- msgstr "Hedia doesn't support more than {0} units of insulin per log, but because of the physical activity you entered it has been further reduced by {1}% to {2} units for this log."
125
+ #: src/utils/AttentionMessages.tsx:38
126
+ msgid "Hedia does not support more than {0} units of insulin per calculation."
127
+ msgstr "Hedia does not support more than {0} units of insulin per calculation."
128
+
129
+ #: src/utils/AttentionMessages.tsx:36
130
+ 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."
131
+ 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."
119
132
 
120
133
  #: src/components/mood/Emotion.tsx:24
121
134
  msgid "How are you feeling?"
@@ -125,18 +138,14 @@ msgstr "How are you feeling?"
125
138
  msgid "INSULIN{0}RECOMMENDATION"
126
139
  msgstr "INSULIN{0}RECOMMENDATION"
127
140
 
128
- #: src/utils/AttentionMessages.ts:9
141
+ #: src/utils/AttentionMessages.tsx:24
129
142
  msgid "If it is possible, postpone your planned exercise."
130
143
  msgstr "If it is possible, postpone your planned exercise."
131
144
 
132
- #: src/components/HediaRecommendationModal.tsx:35
145
+ #: src/components/RecommendationModal.tsx:41
133
146
  msgid "Instead of taking insulin"
134
147
  msgstr "Instead of taking insulin"
135
148
 
136
- #: src/utils/RecommendationError.ts:16
137
- #~ msgid "Insulin limit reached, for your safety Hedia will not recommend more than this."
138
- #~ msgstr "Insulin limit reached, for your safety Hedia will not recommend more than this."
139
-
140
149
  #: src/components/activity/ActivityIntensity.tsx:7
141
150
  msgid "Light"
142
151
  msgstr "Light"
@@ -145,11 +154,11 @@ msgstr "Light"
145
154
  msgid "Moderate"
146
155
  msgstr "Moderate"
147
156
 
148
- #: src/utils/RecommendationError.ts:30
157
+ #: src/utils/RecommendationError.tsx:29
149
158
  msgid "More than 15 minutes has passed since this calculation was started.{0}Please go through the calculation steps with new measurements to ensure a safe recommendation."
150
159
  msgstr "More than 15 minutes has passed since this calculation was started.{0}Please go through the calculation steps with new measurements to ensure a safe recommendation."
151
160
 
152
- #: src/components/HediaRecommendationModal.tsx:20
161
+ #: src/components/RecommendationModal.tsx:21
153
162
  msgid "NO"
154
163
  msgstr "NO"
155
164
 
@@ -161,15 +170,12 @@ msgstr "No"
161
170
  msgid "OFF"
162
171
  msgstr "OFF"
163
172
 
164
- #: src/components/HediaRecommendationModal.tsx:17
165
- #: src/components/HediaRecommendationModal.tsx:76
173
+ #: src/components/RecommendationModal.tsx:18
174
+ #: src/components/RecommendationModal.tsx:88
175
+ #: src/components/RecommendationModal.tsx:95
166
176
  msgid "OK"
167
177
  msgstr "OK"
168
178
 
169
- #: src/components/HediaRecommendationModal.tsx:69
170
- msgid "OKAY"
171
- msgstr "OKAY"
172
-
173
179
  #: src/components/activity/ActivityIntensity.tsx:10
174
180
  msgid "Post"
175
181
  msgstr "Post"
@@ -179,7 +185,7 @@ msgid "Recommended"
179
185
  msgstr "Recommended"
180
186
 
181
187
  #: src/components/RecentInsulin.tsx:12
182
- #: src/components/RecommendedInsulin.tsx:44
188
+ #: src/components/RecommendedInsulin.tsx:45
183
189
  msgid "Recommended amount of insulin"
184
190
  msgstr "Recommended amount of insulin"
185
191
 
@@ -187,6 +193,14 @@ msgstr "Recommended amount of insulin"
187
193
  msgid "Remind me to remeasure in"
188
194
  msgstr "Remind me to remeasure in"
189
195
 
196
+ #: src/components/ExitModal.tsx:17
197
+ msgid "Save data before closing?"
198
+ msgstr "Save data before closing?"
199
+
200
+ #: src/components/ExitModal.tsx:24
201
+ msgid "Save to logbook"
202
+ msgstr "Save to logbook"
203
+
190
204
  #: src/components/RecommendedCarbs.tsx:68
191
205
  msgid "Total"
192
206
  msgstr "Total"
@@ -199,7 +213,7 @@ msgstr "Transfer to logbook"
199
213
  msgid "Transferred to logbook"
200
214
  msgstr "Transferred to logbook"
201
215
 
202
- #: src/components/RecommendedInsulin.tsx:50
216
+ #: src/components/RecommendedInsulin.tsx:51
203
217
  msgid "Units"
204
218
  msgstr "Units"
205
219
 
@@ -207,11 +221,11 @@ msgstr "Units"
207
221
  msgid "Untitled Activity"
208
222
  msgstr "Untitled Activity"
209
223
 
210
- #: src/components/HediaRecommendationModal.tsx:29
224
+ #: src/components/RecommendationModal.tsx:31
211
225
  msgid "We recommend eating an additional:"
212
226
  msgstr "We recommend eating an additional:"
213
227
 
214
- #: src/components/HediaRecommendationModal.tsx:39
228
+ #: src/components/RecommendationModal.tsx:47
215
229
  msgid "Would you like to add this to your current calculation?"
216
230
  msgstr "Would you like to add this to your current calculation?"
217
231
 
@@ -219,42 +233,45 @@ msgstr "Would you like to add this to your current calculation?"
219
233
  msgid "Yes"
220
234
  msgstr "Yes"
221
235
 
222
- #: src/utils/AttentionMessages.ts:10
236
+ #: src/utils/AttentionMessages.tsx:25
223
237
  msgid "You have a high blood glucose level."
224
238
  msgstr "You have a high blood glucose level."
225
239
 
226
- #: src/utils/AttentionMessages.ts:11
240
+ #: src/utils/AttentionMessages.tsx:26
227
241
  msgid "You should take rapid-acting insulin and measure ketones."
228
242
  msgstr "You should take rapid-acting insulin and measure ketones."
229
243
 
230
- #: src/utils/AttentionMessages.ts:8
244
+ #: src/utils/AttentionMessages.tsx:23
231
245
  msgid "You will be reminded to measure your blood glucose level in 15 min."
232
246
  msgstr "You will be reminded to measure your blood glucose level in 15 min."
233
247
 
234
- #: src/utils/AttentionMessages.ts:7
248
+ #: src/utils/AttentionMessages.tsx:22
235
249
  msgid "Your blood glucose level is very low."
236
250
  msgstr "Your blood glucose level is very low."
237
251
 
238
- #: src/utils/AttentionMessages.ts:6
252
+ #: src/utils/AttentionMessages.tsx:21
239
253
  msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
240
254
  msgstr "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
241
255
 
242
- #: src/utils/AttentionMessages.ts:12
243
- #: src/utils/AttentionMessages.ts:22
244
- msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons."
245
- msgstr "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons."
256
+ #: src/utils/AttentionMessages.tsx:27
257
+ 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."
258
+ 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."
246
259
 
247
- #: src/utils/AttentionMessages.ts:13
260
+ #: src/utils/AttentionMessages.tsx:29
248
261
  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}."
249
262
  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}."
250
263
 
264
+ #: src/components/ExitModal.tsx:19
265
+ msgid "Your saved data will be used for future calculations."
266
+ msgstr "Your saved data will be used for future calculations."
267
+
251
268
  #: src/components/RecommendedCarbs.tsx:60
252
269
  #: src/components/RecommendedCarbs.tsx:70
253
- #: src/components/RecommendedCarbs.tsx:103
270
+ #: src/components/RecommendedCarbs.tsx:101
254
271
  msgid "g carbs"
255
272
  msgstr "g carbs"
256
273
 
257
- #: src/components/HediaRecommendationModal.tsx:33
274
+ #: src/components/RecommendationModal.tsx:37
258
275
  msgid "grams of carbohydrates"
259
276
  msgstr "grams of carbohydrates"
260
277
 
@@ -266,6 +283,6 @@ msgstr "hours"
266
283
  msgid "min"
267
284
  msgstr "min"
268
285
 
269
- #: src/RecommendationScreen.tsx:128
286
+ #: src/RecommendationScreen.tsx:147
270
287
  msgid "units"
271
288
  msgstr "units"