@hedia/recommendation-screen 1.7.0 → 1.8.0

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.
@@ -28,7 +28,9 @@
28
28
  </select>
29
29
  </component>
30
30
  <component name="ChangeListManager">
31
- <list default="true" id="bceba75c-4c15-4bdc-9b41-023f63a30830" name="Default Changelist" comment="" />
31
+ <list default="true" id="bceba75c-4c15-4bdc-9b41-023f63a30830" name="Default Changelist" comment="">
32
+ <change beforePath="$PROJECT_DIR$/src/components/RecommendedCarbs.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/RecommendedCarbs.tsx" afterDir="false" />
33
+ </list>
32
34
  <option name="SHOW_DIALOG" value="false" />
33
35
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
34
36
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -37,6 +39,14 @@
37
39
  <component name="Git.Settings">
38
40
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
39
41
  </component>
42
+ <component name="GitSEFilterConfiguration">
43
+ <file-type-list>
44
+ <filtered-out-file-type name="LOCAL_BRANCH" />
45
+ <filtered-out-file-type name="REMOTE_BRANCH" />
46
+ <filtered-out-file-type name="TAG" />
47
+ <filtered-out-file-type name="COMMIT_BY_MESSAGE" />
48
+ </file-type-list>
49
+ </component>
40
50
  <component name="ProjectId" id="1fOogROXYQrUWqB0OAyKyFdqkfJ" />
41
51
  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
42
52
  <component name="ProjectViewState">
@@ -51,7 +61,7 @@
51
61
  <property name="ToolWindowGit.ShowToolbar" value="false" />
52
62
  <property name="WebServerToolWindowFactoryState" value="false" />
53
63
  <property name="dart.analysis.tool.window.visible" value="false" />
54
- <property name="last_opened_file_path" value="$PROJECT_DIR$/src/locale/it" />
64
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/src/locale/en" />
55
65
  <property name="node.js.detected.package.eslint" value="true" />
56
66
  <property name="node.js.detected.package.tslint" value="true" />
57
67
  <property name="node.js.path.for.package.eslint" value="project" />
@@ -70,11 +80,11 @@
70
80
  </component>
71
81
  <component name="RecentsManager">
72
82
  <key name="CopyFile.RECENT_KEYS">
73
- <recent name="$PROJECT_DIR$/src/locale/it" />
83
+ <recent name="$PROJECT_DIR$/src/locale/en" />
84
+ <recent name="$PROJECT_DIR$/src/locale/de" />
74
85
  <recent name="$PROJECT_DIR$/src/locale/fr" />
86
+ <recent name="$PROJECT_DIR$/src/locale/it" />
75
87
  <recent name="$PROJECT_DIR$" />
76
- <recent name="$PROJECT_DIR$/assets/fonts" />
77
- <recent name="$PROJECT_DIR$/android/app/src/main/res/values" />
78
88
  </key>
79
89
  <key name="MoveFile.RECENT_KEYS">
80
90
  <recent name="$PROJECT_DIR$/src/locale/es" />
@@ -214,6 +224,17 @@
214
224
  <workItem from="1609853750176" duration="409000" />
215
225
  <workItem from="1610045871341" duration="993000" />
216
226
  <workItem from="1610358409997" duration="119000" />
227
+ <workItem from="1610358542117" duration="812000" />
228
+ <workItem from="1610464988592" duration="580000" />
229
+ <workItem from="1610559890801" duration="537000" />
230
+ <workItem from="1610623498660" duration="257000" />
231
+ <workItem from="1610626623542" duration="4877000" />
232
+ <workItem from="1610703083979" duration="1227000" />
233
+ <workItem from="1610710598205" duration="5155000" />
234
+ <workItem from="1610723653253" duration="1135000" />
235
+ <workItem from="1610965654086" duration="3993000" />
236
+ <workItem from="1610974416279" duration="357000" />
237
+ <workItem from="1611050920368" duration="774000" />
217
238
  </task>
218
239
  <servers />
219
240
  </component>
@@ -317,6 +338,101 @@
317
338
  <option value="$PROJECT_DIR$/src/components/activity/ActivityIcon.jsx" />
318
339
  <option value="$PROJECT_DIR$/src/components/activity/ActivityIcon.d.ts" />
319
340
  <option value="$PROJECT_DIR$/src/components/activity/ActivityIntensity.jsx" />
341
+ <option value="$PROJECT_DIR$/App.d.ts" />
342
+ <option value="$PROJECT_DIR$/App.jsx" />
343
+ <option value="$PROJECT_DIR$/index.d.ts" />
344
+ <option value="$PROJECT_DIR$/src/RecommendationScreen.d.ts" />
345
+ <option value="$PROJECT_DIR$/src/RecommendationScreen.jsx" />
346
+ <option value="$PROJECT_DIR$/src/types/enum.d.ts" />
347
+ <option value="$PROJECT_DIR$/src/types/enum.js" />
348
+ <option value="$PROJECT_DIR$/src/types/types.d.ts" />
349
+ <option value="$PROJECT_DIR$/src/types/types.js" />
350
+ <option value="$PROJECT_DIR$/src/utils/AttentionMessages.d.ts" />
351
+ <option value="$PROJECT_DIR$/src/utils/AttentionMessages.jsx" />
352
+ <option value="$PROJECT_DIR$/src/utils/RecommendationError.jsx" />
353
+ <option value="$PROJECT_DIR$/src/utils/Constants.d.ts" />
354
+ <option value="$PROJECT_DIR$/src/utils/Validations.js" />
355
+ <option value="$PROJECT_DIR$/src/utils/Utils.d.ts" />
356
+ <option value="$PROJECT_DIR$/src/utils/Validations.d.ts" />
357
+ <option value="$PROJECT_DIR$/src/utils/RecommendationUtils.js" />
358
+ <option value="$PROJECT_DIR$/src/utils/RecommendationUtils.d.ts" />
359
+ <option value="$PROJECT_DIR$/src/utils/RecommendationError.d.ts" />
360
+ <option value="$PROJECT_DIR$/src/utils/Utils.js" />
361
+ <option value="$PROJECT_DIR$/src/utils/Constants.js" />
362
+ <option value="$PROJECT_DIR$/src/locale/i18nUtils.d.ts" />
363
+ <option value="$PROJECT_DIR$/src/locale/i18nUtils.js" />
364
+ <option value="$PROJECT_DIR$/src/__tests__/Translate.test.d.ts" />
365
+ <option value="$PROJECT_DIR$/src/__tests__/RecommendationScreen.test.d.ts" />
366
+ <option value="$PROJECT_DIR$/src/__tests__/Validations.test.d.ts" />
367
+ <option value="$PROJECT_DIR$/src/__tests__/utils.d.ts" />
368
+ <option value="$PROJECT_DIR$/src/__tests__/RecommendationUtils.test.d.ts" />
369
+ <option value="$PROJECT_DIR$/src/__tests__/Translate.test.jsx" />
370
+ <option value="$PROJECT_DIR$/src/__tests__/RecommendationUtils.test.js" />
371
+ <option value="$PROJECT_DIR$/src/__tests__/utils.jsx" />
372
+ <option value="$PROJECT_DIR$/src/__tests__/Utils.test.js" />
373
+ <option value="$PROJECT_DIR$/src/__tests__/Validations.test.js" />
374
+ <option value="$PROJECT_DIR$/src/__tests__/Utils.test.d.ts" />
375
+ <option value="$PROJECT_DIR$/src/__tests__/RecommendationScreen.test.jsx" />
376
+ <option value="$PROJECT_DIR$/src/components/InfoBars.jsx" />
377
+ <option value="$PROJECT_DIR$/src/components/Remeasure.jsx" />
378
+ <option value="$PROJECT_DIR$/src/components/Header.jsx" />
379
+ <option value="$PROJECT_DIR$/src/components/RecommendedInsulin.jsx" />
380
+ <option value="$PROJECT_DIR$/src/components/RecommendedInsulin.d.ts" />
381
+ <option value="$PROJECT_DIR$/src/components/LineSeparator.jsx" />
382
+ <option value="$PROJECT_DIR$/src/components/Header.d.ts" />
383
+ <option value="$PROJECT_DIR$/src/components/LimitationMessage.d.ts" />
384
+ <option value="$PROJECT_DIR$/src/components/TwoOptionModal.d.ts" />
385
+ <option value="$PROJECT_DIR$/src/components/LimitationMessage.jsx" />
386
+ <option value="$PROJECT_DIR$/src/components/TransferToLogbook.jsx" />
387
+ <option value="$PROJECT_DIR$/src/components/RecommendedCarbs.d.ts" />
388
+ <option value="$PROJECT_DIR$/src/components/LineSeparator.d.ts" />
389
+ <option value="$PROJECT_DIR$/src/components/RecentInsulin.d.ts" />
390
+ <option value="$PROJECT_DIR$/src/components/RecommendedCarbs.jsx" />
391
+ <option value="$PROJECT_DIR$/src/components/RecommendationModal.d.ts" />
392
+ <option value="$PROJECT_DIR$/src/components/Remeasure.d.ts" />
393
+ <option value="$PROJECT_DIR$/src/components/TransferToLogbook.d.ts" />
394
+ <option value="$PROJECT_DIR$/src/components/TwoOptionModal.jsx" />
395
+ <option value="$PROJECT_DIR$/src/components/InfoBars.d.ts" />
396
+ <option value="$PROJECT_DIR$/src/components/RecentInsulin.jsx" />
397
+ <option value="$PROJECT_DIR$/src/components/InvisibleNumberInput.d.ts" />
398
+ <option value="$PROJECT_DIR$/src/components/RecommendationModal.jsx" />
399
+ <option value="$PROJECT_DIR$/src/components/InvisibleNumberInput.jsx" />
400
+ <option value="$PROJECT_DIR$/src/__tests__/components/RecommendedCarbs.test.jsx" />
401
+ <option value="$PROJECT_DIR$/src/__tests__/components/RecommendedInsulin.test.jsx" />
402
+ <option value="$PROJECT_DIR$/src/__tests__/components/InfoBars.test.jsx" />
403
+ <option value="$PROJECT_DIR$/src/__tests__/components/InfoBars.test.d.ts" />
404
+ <option value="$PROJECT_DIR$/src/__tests__/components/TwoOptionModal.test.d.ts" />
405
+ <option value="$PROJECT_DIR$/src/__tests__/components/InvisibleNumberInput.test.jsx" />
406
+ <option value="$PROJECT_DIR$/src/__tests__/components/RecommendationModal.test.jsx" />
407
+ <option value="$PROJECT_DIR$/src/__tests__/components/RecommendedCarbs.test.d.ts" />
408
+ <option value="$PROJECT_DIR$/src/__tests__/components/TransferToLogbook.test.jsx" />
409
+ <option value="$PROJECT_DIR$/src/__tests__/components/LimitationMessage.test.d.ts" />
410
+ <option value="$PROJECT_DIR$/src/__tests__/components/Activity.test.jsx" />
411
+ <option value="$PROJECT_DIR$/src/__tests__/components/Activity.test.d.ts" />
412
+ <option value="$PROJECT_DIR$/src/__tests__/components/Emotion.test.d.ts" />
413
+ <option value="$PROJECT_DIR$/src/__tests__/components/TwoOptionModal.test.jsx" />
414
+ <option value="$PROJECT_DIR$/src/__tests__/components/Remeasure.test.jsx" />
415
+ <option value="$PROJECT_DIR$/src/__tests__/components/TransferToLogbook.test.d.ts" />
416
+ <option value="$PROJECT_DIR$/src/__tests__/components/RecommendedInsulin.test.d.ts" />
417
+ <option value="$PROJECT_DIR$/src/__tests__/components/InvisibleNumberInput.test.d.ts" />
418
+ <option value="$PROJECT_DIR$/src/__tests__/components/Remeasure.test.d.ts" />
419
+ <option value="$PROJECT_DIR$/src/__tests__/components/MoodIcon.test.jsx" />
420
+ <option value="$PROJECT_DIR$/src/__tests__/components/MoodIcon.test.d.ts" />
421
+ <option value="$PROJECT_DIR$/src/__tests__/components/Header.test.jsx" />
422
+ <option value="$PROJECT_DIR$/src/__tests__/components/RecommendationModal.test.d.ts" />
423
+ <option value="$PROJECT_DIR$/src/__tests__/components/Emotion.test.jsx" />
424
+ <option value="$PROJECT_DIR$/src/__tests__/components/Header.test.d.ts" />
425
+ <option value="$PROJECT_DIR$/src/__tests__/components/LimitationMessage.test.jsx" />
426
+ <option value="$PROJECT_DIR$/src/components/mood/MoodIcon.d.ts" />
427
+ <option value="$PROJECT_DIR$/src/components/mood/MoodIcon.jsx" />
428
+ <option value="$PROJECT_DIR$/src/components/mood/Emotion.d.ts" />
429
+ <option value="$PROJECT_DIR$/src/components/mood/Emotion.jsx" />
430
+ <option value="$PROJECT_DIR$/src/components/activity/ActivityIntensity.d.ts" />
431
+ <option value="$PROJECT_DIR$/src/components/activity/Activity.d.ts" />
432
+ <option value="$PROJECT_DIR$/src/components/activity/Activity.jsx" />
433
+ <option value="$PROJECT_DIR$/src/components/activity/ActivityIcon.jsx" />
434
+ <option value="$PROJECT_DIR$/src/components/activity/ActivityIcon.d.ts" />
435
+ <option value="$PROJECT_DIR$/src/components/activity/ActivityIntensity.jsx" />
320
436
  </list>
321
437
  </option>
322
438
  </component>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -77,7 +77,7 @@ exports.infoStyles = react_native_1.StyleSheet.create({
77
77
  fontWeight: `bold`,
78
78
  },
79
79
  valueUnitContainer: {
80
- flex: 6,
80
+ flex: 6.5,
81
81
  justifyContent: `flex-end`,
82
82
  flexDirection: `row`,
83
83
  },
@@ -80,7 +80,7 @@ export const infoStyles = StyleSheet.create({
80
80
  fontWeight: `bold`,
81
81
  },
82
82
  valueUnitContainer: {
83
- flex: 6,
83
+ flex: 6.5,
84
84
  justifyContent: `flex-end`,
85
85
  flexDirection: `row`,
86
86
  },
@@ -30,18 +30,19 @@ class Remeasure extends react_1.default.Component {
30
30
  const measure = this.props.remeasureTime > 0;
31
31
  const limited = this.limitTime(this.props.remeasureTime);
32
32
  const marginHorizontal = react_native_1.Platform.OS === `ios` ? `3%` : `0%`;
33
+ const valueContainer = measure ? remeasureStyles.valueContainer : variantStyles.centeredValueContainer;
33
34
  return (<react_native_1.View style={remeasureStyles.container}>
34
35
  <react_native_1.View style={remeasureStyles.borderContainer}>
35
36
  <react_native_1.View style={remeasureStyles.remeasureContainer}>
36
37
  <react_native_1.Text style={remeasureStyles.remeasureLabel}>{i18nUtils_1.i18n._(macro_1.t `Remind me to remeasure in`)}</react_native_1.Text>
37
38
  </react_native_1.View>
38
39
  <react_native_1.View style={remeasureStyles.valueUnitContainer}>
39
- <react_native_1.View style={remeasureStyles.valueContainer}>
40
+ <react_native_1.View style={valueContainer}>
40
41
  <react_native_1.Text style={remeasureStyles.value}>{measure ? limited : i18nUtils_1.i18n._(macro_1.t `OFF`)}</react_native_1.Text>
41
42
  </react_native_1.View>
42
- <react_native_1.View style={remeasureStyles.unitContainer}>
43
- <react_native_1.Text style={remeasureStyles.units}>{measure ? i18nUtils_1.i18n._(macro_1.t `hours`) : ``}</react_native_1.Text>
44
- </react_native_1.View>
43
+ {measure ? (<react_native_1.View style={remeasureStyles.unitContainer}>
44
+ <react_native_1.Text style={remeasureStyles.units}>{i18nUtils_1.i18n._(macro_1.t `hours`)}</react_native_1.Text>
45
+ </react_native_1.View>) : null}
45
46
  </react_native_1.View>
46
47
  </react_native_1.View>
47
48
  <slider_1.default ref={(slider) => (this.slider = slider)} accessibilityLabel="remeasureSlider" maximumTrackTintColor={Constants_1.BORDER_COLOUR_GREY} minimumTrackTintColor={Constants_1.BORDER_COLOUR_TEAL} thumbTintColor={Constants_1.BORDER_COLOUR_TEAL} maximumValue={6} minimumValue={0} step={0.5} style={[remeasureStyles.sliderStyle, { marginHorizontal }]} onValueChange={this.handleSliderChange}/>
@@ -59,7 +60,7 @@ const remeasureStyles = react_native_1.StyleSheet.create({
59
60
  alignItems: `center`,
60
61
  },
61
62
  remeasureContainer: {
62
- flex: 9,
63
+ flex: 7,
63
64
  },
64
65
  remeasureLabel: {
65
66
  color: `white`,
@@ -86,3 +87,9 @@ const remeasureStyles = react_native_1.StyleSheet.create({
86
87
  marginBottom: `2%`,
87
88
  },
88
89
  });
90
+ const variantStyles = react_native_1.StyleSheet.create({
91
+ centeredValueContainer: {
92
+ ...remeasureStyles.valueContainer,
93
+ alignItems: `center`,
94
+ },
95
+ });
@@ -33,6 +33,7 @@ export default class Remeasure extends React.Component<IProps, null> {
33
33
  const measure = this.props.remeasureTime > 0;
34
34
  const limited = this.limitTime(this.props.remeasureTime);
35
35
  const marginHorizontal = Platform.OS === `ios` ? `3%` : `0%`;
36
+ const valueContainer = measure ? remeasureStyles.valueContainer : variantStyles.centeredValueContainer;
36
37
  return (
37
38
  <View style={remeasureStyles.container}>
38
39
  <View style={remeasureStyles.borderContainer}>
@@ -40,12 +41,14 @@ export default class Remeasure extends React.Component<IProps, null> {
40
41
  <Text style={remeasureStyles.remeasureLabel}>{i18n._(t`Remind me to remeasure in`)}</Text>
41
42
  </View>
42
43
  <View style={remeasureStyles.valueUnitContainer}>
43
- <View style={remeasureStyles.valueContainer}>
44
+ <View style={valueContainer}>
44
45
  <Text style={remeasureStyles.value}>{measure ? limited : i18n._(t`OFF`)}</Text>
45
46
  </View>
46
- <View style={remeasureStyles.unitContainer}>
47
- <Text style={remeasureStyles.units}>{measure ? i18n._(t`hours`) : ``}</Text>
48
- </View>
47
+ {measure ? (
48
+ <View style={remeasureStyles.unitContainer}>
49
+ <Text style={remeasureStyles.units}>{i18n._(t`hours`)}</Text>
50
+ </View>
51
+ ) : null}
49
52
  </View>
50
53
  </View>
51
54
  <Slider
@@ -75,7 +78,7 @@ const remeasureStyles = StyleSheet.create({
75
78
  alignItems: `center`,
76
79
  },
77
80
  remeasureContainer: {
78
- flex: 9,
81
+ flex: 7,
79
82
  },
80
83
  remeasureLabel: {
81
84
  color: `white`,
@@ -102,3 +105,10 @@ const remeasureStyles = StyleSheet.create({
102
105
  marginBottom: `2%`,
103
106
  },
104
107
  });
108
+
109
+ const variantStyles = StyleSheet.create({
110
+ centeredValueContainer: {
111
+ ...remeasureStyles.valueContainer,
112
+ alignItems: `center`,
113
+ },
114
+ });
@@ -118,7 +118,7 @@ export declare const modalStyle: {
118
118
  fontFamily: string;
119
119
  textAlign: "center";
120
120
  fontSize: number;
121
- color: string;
121
+ paddingHorizontal: number;
122
122
  };
123
123
  textSecondButtonColumn: {
124
124
  fontFamily: string;
@@ -124,7 +124,12 @@ exports.modalStyle = react_native_1.StyleSheet.create({
124
124
  marginTop: `2%`,
125
125
  },
126
126
  textButtonRow: { fontFamily: `Roboto-Regular`, textAlign: `center`, fontSize: width / 24, color: `white` },
127
- textFirstButtonColumn: { fontFamily: `Roboto-Regular`, textAlign: `center`, fontSize: width / 21, color: `black` },
127
+ textFirstButtonColumn: {
128
+ fontFamily: `Roboto-Regular`,
129
+ textAlign: `center`,
130
+ fontSize: width / 22,
131
+ paddingHorizontal: 15,
132
+ },
128
133
  textSecondButtonColumn: {
129
134
  fontFamily: `Roboto-Regular`,
130
135
  textAlign: `center`,
@@ -133,7 +133,12 @@ export const modalStyle = StyleSheet.create({
133
133
  marginTop: `2%`,
134
134
  },
135
135
  textButtonRow: { fontFamily: `Roboto-Regular`, textAlign: `center`, fontSize: width / 24, color: `white` },
136
- textFirstButtonColumn: { fontFamily: `Roboto-Regular`, textAlign: `center`, fontSize: width / 21, color: `black` },
136
+ textFirstButtonColumn: {
137
+ fontFamily: `Roboto-Regular`,
138
+ textAlign: `center`,
139
+ fontSize: width / 22,
140
+ paddingHorizontal: 15,
141
+ },
137
142
  textSecondButtonColumn: {
138
143
  fontFamily: `Roboto-Regular`,
139
144
  textAlign: `center`,
@@ -26,7 +26,7 @@ msgid "Additional"
26
26
  msgstr "Supplerende"
27
27
 
28
28
  #: src/components/LimitationMessage.tsx:14
29
- #: src/components/RecommendationModal.tsx:66
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 "Kulhydrater"
52
52
  msgid "Close calculation"
53
53
  msgstr "Luk beregning"
54
54
 
55
- #: src/utils/AttentionMessages.tsx:29
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 "Dit blodsukkerniveau ligger udenfor de anbefalede grænser for blodsukker før en aktivitet. Du bør overveje at udskyde fysisk aktivitet."
58
58
 
@@ -148,11 +148,11 @@ msgstr "Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke
148
148
  msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
149
149
  msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en værdi mellem 0 og 300 gram"
150
150
 
151
- #: src/utils/AttentionMessages.tsx:43
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 understøtter maksimalt {0} units af insulin per beregning"
154
154
 
155
- #: src/utils/AttentionMessages.tsx:41
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 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."
158
158
 
@@ -164,7 +164,7 @@ msgstr "Hvordan har du det?"
164
164
  msgid "INSULIN{0}RECOMMENDATION"
165
165
  msgstr "INSULIN{0}ANBEFALING"
166
166
 
167
- #: src/utils/AttentionMessages.tsx:28
167
+ #: src/utils/AttentionMessages.tsx:29
168
168
  msgid "If it is possible, postpone your planned exercise."
169
169
  msgstr "Hvis det er muligt, udsæt din planlagte træning."
170
170
 
@@ -180,7 +180,7 @@ msgstr "Let"
180
180
  msgid "Moderate"
181
181
  msgstr "Moderat"
182
182
 
183
- #: src/utils/AttentionMessages.tsx:44
183
+ #: src/utils/AttentionMessages.tsx:45
184
184
  msgid "More than 15 minutes has passed since this calculation was started."
185
185
  msgstr "Der er gået mere end 15 minutter siden udregningen blev startet."
186
186
 
@@ -200,15 +200,15 @@ msgstr "Nej, tilbage til dashboard"
200
200
  msgid "OFF"
201
201
  msgstr "OFF"
202
202
 
203
- #: src/components/LimitationMessage.tsx:21
203
+ #: src/components/LimitationMessage.tsx:20
204
204
  #: src/components/RecommendationModal.tsx:19
205
- #: src/components/RecommendationModal.tsx:73
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:45
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 "Gå venligst gennem udregningstrinnene igen med nye målinger for at sikre en sikker anbefaling."
214
214
 
@@ -269,7 +269,7 @@ msgstr "Unavngivet aktivitet"
269
269
  msgid "We recommend eating an additional:"
270
270
  msgstr "Vi anbefaler at spise yderligere:"
271
271
 
272
- #: src/components/RecommendationModal.tsx:48
272
+ #: src/components/RecommendationModal.tsx:47
273
273
  msgid "Would you like to add this to your current calculation?"
274
274
  msgstr "Vil du gerne tilføje dette til din nuværende beregning?"
275
275
 
@@ -281,31 +281,31 @@ msgstr "Ja"
281
281
  msgid "Yes, save to logbook"
282
282
  msgstr "Ja, gem i logbogen"
283
283
 
284
- #: src/utils/AttentionMessages.tsx:30
284
+ #: src/utils/AttentionMessages.tsx:31
285
285
  msgid "You have a high blood glucose level."
286
286
  msgstr "Du har et højt blodsukkerniveau."
287
287
 
288
- #: src/utils/AttentionMessages.tsx:31
288
+ #: src/utils/AttentionMessages.tsx:32
289
289
  msgid "You should take rapid-acting insulin and measure ketones."
290
290
  msgstr "Du burde tage hurtigtvirkende insulin og måle ketoner."
291
291
 
292
- #: src/utils/AttentionMessages.tsx:27
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 "Du vil få påmindelser om at måle dit blodsukkerniveau om 15 minutter."
295
295
 
296
- #: src/utils/AttentionMessages.tsx:26
296
+ #: src/utils/AttentionMessages.tsx:27
297
297
  msgid "Your blood glucose level is very low."
298
298
  msgstr "Dit blodsukkerniveau er meget lavt."
299
299
 
300
- #: src/utils/AttentionMessages.tsx:25
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 "Dit blodsukkerniveau er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. Søg lægehjælp."
303
303
 
304
- #: src/utils/AttentionMessages.tsx:32
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 "Din anbefaling ville have været højere end {0} units af insulin, men den er blevet begrænset af sikkerhedshensyn. Hedia anbefaler aldrig mere end {1} units af insulin per beregning."
307
307
 
308
- #: src/utils/AttentionMessages.tsx:34
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 "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}."
311
311
 
@@ -331,7 +331,7 @@ msgstr "timer"
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 "enheder"
@@ -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:66
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:29
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:43
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:41
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:28
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:44
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
 
@@ -199,15 +200,15 @@ msgstr "Nein, zurück zum Dashboard"
199
200
  msgid "OFF"
200
201
  msgstr "AUS"
201
202
 
202
- #: src/components/LimitationMessage.tsx:21
203
+ #: src/components/LimitationMessage.tsx:20
203
204
  #: src/components/RecommendationModal.tsx:19
204
- #: src/components/RecommendationModal.tsx:73
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:45
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
 
@@ -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:48
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:30
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:31
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:27
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:26
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:25
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:32
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:34
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
 
@@ -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"