@hedia/recommendation-screen 2.2.0-alpha.39 → 2.2.0-alpha.4
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/dist/index.js +0 -1
- package/dist/src/RecommendationScreen.d.ts +3 -3
- package/dist/src/RecommendationScreen.js +38 -36
- package/dist/src/components/Header.js +3 -3
- package/dist/src/components/Icon.js +2 -1
- package/dist/src/components/InfoBars.d.ts +1 -1
- package/dist/src/components/InfoBars.js +4 -4
- package/dist/src/components/InvisibleNumberInput.js +2 -3
- package/dist/src/components/LimitationMessage.js +4 -4
- package/dist/src/components/LineSeparator.js +0 -1
- package/dist/src/components/RecentInsulin.js +6 -6
- package/dist/src/components/RecommendationModal.js +10 -10
- package/dist/src/components/RecommendedCarbs.d.ts +0 -2
- package/dist/src/components/RecommendedCarbs.js +17 -13
- package/dist/src/components/RecommendedInsulin.d.ts +1 -1
- package/dist/src/components/RecommendedInsulin.js +9 -7
- package/dist/src/components/Remeasure.d.ts +15 -5
- package/dist/src/components/Remeasure.js +27 -10
- package/dist/src/components/TransferToLogbook.js +4 -4
- package/dist/src/components/TwoOptionModal.js +0 -1
- package/dist/src/components/activity/Activity.d.ts +1 -1
- package/dist/src/components/activity/Activity.js +5 -5
- package/dist/src/components/activity/ActivityIcon.d.ts +1 -1
- package/dist/src/components/activity/ActivityIcon.js +4 -4
- package/dist/src/components/activity/ActivityIntensity.d.ts +1 -1
- package/dist/src/components/activity/ActivityIntensity.js +1 -2
- package/dist/src/components/mood/Emotion.d.ts +1 -1
- package/dist/src/components/mood/Emotion.js +4 -4
- package/dist/src/components/mood/MoodIcon.d.ts +1 -1
- package/dist/src/components/mood/MoodIcon.js +1 -2
- package/dist/src/components/text/TextBold.js +0 -1
- package/dist/src/components/text/TextRegular.js +0 -1
- package/dist/src/locale/da/messages.js +1 -0
- package/dist/src/locale/da/messages.po +349 -0
- package/dist/src/locale/de/messages.js +1 -0
- package/dist/src/locale/de/messages.po +349 -0
- package/dist/src/locale/en/messages.js +1 -0
- package/dist/src/locale/en/messages.po +349 -0
- package/dist/src/locale/es/messages.js +1 -0
- package/dist/src/locale/es/messages.po +349 -0
- package/dist/src/locale/fr/messages.js +1 -0
- package/dist/src/locale/fr/messages.po +349 -0
- package/dist/src/locale/i18nUtils.d.ts +18 -0
- package/dist/src/locale/i18nUtils.js +39 -0
- package/dist/src/locale/it/messages.js +1 -0
- package/dist/src/locale/it/messages.po +349 -0
- package/dist/src/types/enum.js +0 -2
- package/dist/src/types/types.js +0 -1
- package/dist/src/utils/AttentionMessages.js +24 -29
- package/dist/src/utils/Constants.d.ts +2 -2
- package/dist/src/utils/Constants.js +0 -1
- package/dist/src/utils/RecommendationError.js +24 -24
- package/dist/src/utils/RecommendationUtils.js +2 -5
- package/dist/src/utils/Translations.js +5 -5
- package/dist/src/utils/Utils.d.ts +1 -1
- package/dist/src/utils/Utils.js +0 -1
- package/dist/src/utils/Validations.d.ts +1 -1
- package/dist/src/utils/Validations.js +2 -3
- package/package.json +95 -88
- package/dist/index.js.map +0 -1
- package/dist/src/RecommendationScreen.js.map +0 -1
- package/dist/src/components/Header.js.map +0 -1
- package/dist/src/components/Icon.js.map +0 -1
- package/dist/src/components/InfoBars.js.map +0 -1
- package/dist/src/components/InvisibleNumberInput.js.map +0 -1
- package/dist/src/components/LimitationMessage.js.map +0 -1
- package/dist/src/components/LineSeparator.js.map +0 -1
- package/dist/src/components/RecentInsulin.js.map +0 -1
- package/dist/src/components/RecommendationModal.js.map +0 -1
- package/dist/src/components/RecommendedCarbs.js.map +0 -1
- package/dist/src/components/RecommendedInsulin.js.map +0 -1
- package/dist/src/components/Remeasure.js.map +0 -1
- package/dist/src/components/TransferToLogbook.js.map +0 -1
- package/dist/src/components/TwoOptionModal.js.map +0 -1
- package/dist/src/components/activity/Activity.js.map +0 -1
- package/dist/src/components/activity/ActivityIcon.js.map +0 -1
- package/dist/src/components/activity/ActivityIntensity.js.map +0 -1
- package/dist/src/components/mood/Emotion.js.map +0 -1
- package/dist/src/components/mood/MoodIcon.js.map +0 -1
- package/dist/src/components/text/TextBold.js.map +0 -1
- package/dist/src/components/text/TextRegular.js.map +0 -1
- package/dist/src/locales/da/messages.json +0 -80
- package/dist/src/locales/de/messages.json +0 -80
- package/dist/src/locales/en/messages.json +0 -83
- package/dist/src/locales/es/messages.json +0 -80
- package/dist/src/locales/fr/messages.json +0 -80
- package/dist/src/locales/it/messages.json +0 -80
- package/dist/src/locales/translate.d.ts +0 -18
- package/dist/src/locales/translate.js +0 -51
- package/dist/src/locales/translate.js.map +0 -1
- package/dist/src/types/enum.js.map +0 -1
- package/dist/src/types/types.js.map +0 -1
- package/dist/src/utils/AttentionMessages.js.map +0 -1
- package/dist/src/utils/Constants.js.map +0 -1
- package/dist/src/utils/RecommendationError.js.map +0 -1
- package/dist/src/utils/RecommendationUtils.js.map +0 -1
- package/dist/src/utils/Translations.js.map +0 -1
- package/dist/src/utils/Utils.js.map +0 -1
- package/dist/src/utils/Validations.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { t } from "@lingui/macro";
|
|
1
2
|
import Slider from "@react-native-community/slider";
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { Dimensions, Platform, StyleSheet, View } from "react-native";
|
|
4
|
-
import {
|
|
5
|
+
import { i18n } from "../locale/i18nUtils";
|
|
5
6
|
import { Testing } from "../types/enum";
|
|
6
7
|
import { BORDER_COLOUR_GREY, BORDER_COLOUR_TEAL } from "../utils/Constants";
|
|
7
8
|
import { infoStyles } from "./InfoBars";
|
|
@@ -12,9 +13,23 @@ import TextRegular from "./text/TextRegular";
|
|
|
12
13
|
* when they will get a reminder notification about measuring their BGL again.
|
|
13
14
|
*/
|
|
14
15
|
export default class Remeasure extends React.Component {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
/** For holding a reference to the slider component so its initial value can be set (only one time) when the Remeasure component has been mounted. */
|
|
17
|
+
slider;
|
|
18
|
+
/**
|
|
19
|
+
* Called immediately after a component is mounted. Setting state here will trigger re-rendering.
|
|
20
|
+
*
|
|
21
|
+
* If the value of a slider component in React Native is set to track an outside state,
|
|
22
|
+
* the slider indicator may jump back and forth while updates to the value are propagated through the affected objects and components.
|
|
23
|
+
* Since we don’t need to change the value of the slider from the outside after initialising it to the default value,
|
|
24
|
+
* we simply set the default value (using setNativeProp) upon initialisation instead of using the slider’s normal value prop to set it.
|
|
25
|
+
*
|
|
26
|
+
* Steps:
|
|
27
|
+
* 1. Call the setNativeProps() method on the slider to set its value to the remeasureTime prop.
|
|
28
|
+
*/
|
|
29
|
+
componentDidMount() {
|
|
30
|
+
this.slider?.setNativeProps({
|
|
31
|
+
value: this.props.remeasureTime,
|
|
32
|
+
});
|
|
18
33
|
}
|
|
19
34
|
/**
|
|
20
35
|
* Steps:
|
|
@@ -23,7 +38,6 @@ export default class Remeasure extends React.Component {
|
|
|
23
38
|
* @param remeasureTime The value of the remeasurement slider.
|
|
24
39
|
*/
|
|
25
40
|
handleSliderChange = (remeasureTime) => {
|
|
26
|
-
this.setState({ remeasureTime });
|
|
27
41
|
const limited = this.limitTime(remeasureTime);
|
|
28
42
|
this.props.onSliderChange(limited);
|
|
29
43
|
};
|
|
@@ -49,21 +63,25 @@ export default class Remeasure extends React.Component {
|
|
|
49
63
|
<View style={remeasureStyles.borderContainer}>
|
|
50
64
|
<View style={remeasureStyles.remeasureContainer}>
|
|
51
65
|
<TextBold style={remeasureStyles.remeasureLabel}>
|
|
52
|
-
{
|
|
66
|
+
{i18n._(t `Remind me to remeasure in`)}
|
|
53
67
|
</TextBold>
|
|
54
68
|
</View>
|
|
55
69
|
<View style={remeasureStyles.valueUnitContainer}>
|
|
56
70
|
<View style={valueContainer}>
|
|
57
71
|
<TextBold style={remeasureStyles.value} testID={Testing.Id.RemeasureTestIds.RemeasureHours}>
|
|
58
|
-
{measure ? limited :
|
|
72
|
+
{measure ? limited : i18n._(t `OFF`)}
|
|
59
73
|
</TextBold>
|
|
60
74
|
</View>
|
|
61
75
|
{measure ? (<View style={remeasureStyles.unitContainer}>
|
|
62
|
-
<TextRegular style={remeasureStyles.units}>{
|
|
76
|
+
<TextRegular style={remeasureStyles.units}>{i18n._(t `hours`)}</TextRegular>
|
|
63
77
|
</View>) : null}
|
|
64
78
|
</View>
|
|
65
79
|
</View>
|
|
66
|
-
<Slider
|
|
80
|
+
<Slider ref={(slider) => {
|
|
81
|
+
if (slider !== null) {
|
|
82
|
+
this.slider = slider;
|
|
83
|
+
}
|
|
84
|
+
}} testID={Testing.Id.RemeasureTestIds.RemeasureSlider} maximumTrackTintColor={BORDER_COLOUR_GREY} minimumTrackTintColor={BORDER_COLOUR_TEAL} thumbTintColor={BORDER_COLOUR_TEAL} maximumValue={6} minimumValue={0} step={0.5} style={[remeasureStyles.sliderStyle, { marginHorizontal }]} onValueChange={this.handleSliderChange}/>
|
|
67
85
|
</View>);
|
|
68
86
|
}
|
|
69
87
|
}
|
|
@@ -109,4 +127,3 @@ const variantStyles = StyleSheet.create({
|
|
|
109
127
|
alignItems: `center`,
|
|
110
128
|
},
|
|
111
129
|
});
|
|
112
|
-
//# sourceMappingURL=Remeasure.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Dimensions, StyleSheet, TouchableOpacity, View } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { t } from "@lingui/macro";
|
|
4
|
+
import { i18n } from "../locale/i18nUtils";
|
|
4
5
|
import { Testing } from "../types/enum";
|
|
5
6
|
import Icon from "./Icon";
|
|
6
7
|
import TextBold from "./text/TextBold";
|
|
@@ -38,11 +39,11 @@ export default class TransferToLogbook extends React.Component {
|
|
|
38
39
|
}
|
|
39
40
|
return (<TouchableOpacity testID={Testing.Id.TransferToLogbookTestIds.TransferButton} onPress={this.handlePress} disabled={this.state.pressed} style={addToLogbookStyles.container}>
|
|
40
41
|
{!this.state.pressed ? (<View style={addToLogbookStyles.textContainer}>
|
|
41
|
-
<TextBold style={addToLogbookStyles.transferText}>{
|
|
42
|
+
<TextBold style={addToLogbookStyles.transferText}>{i18n._(t `Transfer to logbook`)}</TextBold>
|
|
42
43
|
</View>) : (<View style={addToLogbookStyles.textContainerActive}>
|
|
43
44
|
<Icon style={addToLogbookStyles.icon} iconIdentifier={`Feather/check`}/>
|
|
44
45
|
<TextBold style={addToLogbookStyles.transferTextActive}>
|
|
45
|
-
{
|
|
46
|
+
{i18n._(t `Transferred to logbook`)}
|
|
46
47
|
</TextBold>
|
|
47
48
|
</View>)}
|
|
48
49
|
</TouchableOpacity>);
|
|
@@ -89,4 +90,3 @@ const addToLogbookStyles = StyleSheet.create({
|
|
|
89
90
|
fontSize: Dimensions.get(`screen`).width / 22,
|
|
90
91
|
},
|
|
91
92
|
});
|
|
92
|
-
//# sourceMappingURL=TransferToLogbook.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { Activity as ActivityTypes, BolusCalculator } from "@hedia/types";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { IActivityDisplayProps } from "../../types/types";
|
|
4
4
|
export interface IProps extends IActivityDisplayProps {
|
|
5
5
|
/** Details about the activity that affect the calculation */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { t } from "@lingui/macro";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { Dimensions, StyleSheet, View } from "react-native";
|
|
3
|
-
import {
|
|
4
|
+
import { i18n } from "../../locale/i18nUtils";
|
|
4
5
|
import { Testing } from "../../types/enum";
|
|
5
6
|
import { infoStyles } from "../InfoBars";
|
|
6
7
|
import TextBold from "../text/TextBold";
|
|
@@ -30,7 +31,7 @@ export default class Activity extends React.Component {
|
|
|
30
31
|
<View style={infoStyles.border}>
|
|
31
32
|
<View style={infoStyles.borderContainer}>
|
|
32
33
|
<View style={infoStyles.labelContainer}>
|
|
33
|
-
<TextBold style={infoStyles.label}>{
|
|
34
|
+
<TextBold style={infoStyles.label}>{i18n._(t `Activity`)}</TextBold>
|
|
34
35
|
</View>
|
|
35
36
|
<View style={infoStyles.valueUnitContainer}>
|
|
36
37
|
<View style={infoStyles.valueContainer}>
|
|
@@ -39,7 +40,7 @@ export default class Activity extends React.Component {
|
|
|
39
40
|
</TextBold>
|
|
40
41
|
</View>
|
|
41
42
|
<View style={infoStyles.unitContainer}>
|
|
42
|
-
<TextRegular style={infoStyles.units}>{
|
|
43
|
+
<TextRegular style={infoStyles.units}>{i18n._(t `min`)}</TextRegular>
|
|
43
44
|
</View>
|
|
44
45
|
</View>
|
|
45
46
|
</View>
|
|
@@ -47,7 +48,7 @@ export default class Activity extends React.Component {
|
|
|
47
48
|
<ActivityIntensity activityIntensity={activity.activityIntensity}/>
|
|
48
49
|
<View style={[infoStyles.borderContainer, activityStyles.topMargin]}>
|
|
49
50
|
<TextRegular style={activityStyles.infoText}>
|
|
50
|
-
{
|
|
51
|
+
{i18n._(t `Based on the selected activity your insulin recommendation is reduced by:`)}
|
|
51
52
|
</TextRegular>
|
|
52
53
|
</View>
|
|
53
54
|
<View style={[infoStyles.borderContainer, activityStyles.verticalMargin]}>
|
|
@@ -81,4 +82,3 @@ const activityStyles = StyleSheet.create({
|
|
|
81
82
|
fontSize: width / 18,
|
|
82
83
|
},
|
|
83
84
|
});
|
|
84
|
-
//# sourceMappingURL=Activity.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Activity } from "@hedia/types";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { ImageURISource } from "react-native";
|
|
3
|
-
import { Activity } from "@hedia/types";
|
|
4
4
|
import { IActivityDisplayProps } from "../../types/types";
|
|
5
5
|
/** Mapping from ActivityEnums to corresponding image resource. */
|
|
6
6
|
export declare const ACTIVITY_ICONS: Record<Activity.Enums.ActivityEnum, ImageURISource>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Activity } from "@hedia/types";
|
|
2
|
+
import { t } from "@lingui/macro";
|
|
1
3
|
import React from "react";
|
|
2
4
|
import { Dimensions, Image, StyleSheet, View } from "react-native";
|
|
3
|
-
import {
|
|
4
|
-
import { translate } from "../../locales/translate";
|
|
5
|
+
import { i18n } from "../../locale/i18nUtils";
|
|
5
6
|
import TextRegular from "../text/TextRegular";
|
|
6
7
|
const { Other } = Activity.Enums.ActivityEnum;
|
|
7
8
|
/** Mapping from ActivityEnums to corresponding image resource. */
|
|
@@ -34,7 +35,7 @@ export default class ActivityIcon extends React.Component {
|
|
|
34
35
|
return (<View style={activityIconStyles.container}>
|
|
35
36
|
<Image style={activityIconStyles.activityIcon} source={this.getActivityIcon()} testID={testID}/>
|
|
36
37
|
<TextRegular style={activityIconStyles.activityTitle}>
|
|
37
|
-
{activityTitle ||
|
|
38
|
+
{activityTitle || i18n._(t `Untitled Activity`)}
|
|
38
39
|
</TextRegular>
|
|
39
40
|
</View>);
|
|
40
41
|
}
|
|
@@ -55,4 +56,3 @@ const activityIconStyles = StyleSheet.create({
|
|
|
55
56
|
fontSize: Dimensions.get(`screen`).width / 25,
|
|
56
57
|
},
|
|
57
58
|
});
|
|
58
|
-
//# sourceMappingURL=ActivityIcon.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Activity } from "@hedia/types";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { Dimensions, StyleSheet, View } from "react-native";
|
|
3
|
-
import { Activity } from "@hedia/types";
|
|
4
4
|
import { ActivityIntensityTranslations } from "../../utils/Translations";
|
|
5
5
|
import { infoStyles } from "../InfoBars";
|
|
6
6
|
import TextBold from "../text/TextBold";
|
|
@@ -56,4 +56,3 @@ const activityIntensityStyles = StyleSheet.create({
|
|
|
56
56
|
fontSize: Dimensions.get(`screen`).width / 30,
|
|
57
57
|
},
|
|
58
58
|
});
|
|
59
|
-
//# sourceMappingURL=ActivityIntensity.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Logbook } from "@hedia/types";
|
|
2
|
+
import { t } from "@lingui/macro";
|
|
1
3
|
import React from "react";
|
|
2
4
|
import { Dimensions, StyleSheet, View } from "react-native";
|
|
3
|
-
import {
|
|
4
|
-
import { translate } from "../../locales/translate";
|
|
5
|
+
import { i18n } from "../../locale/i18nUtils";
|
|
5
6
|
import TextBold from "../text/TextBold";
|
|
6
7
|
import MoodIcon from "./MoodIcon";
|
|
7
8
|
const MoodEnum = Logbook.Enums.MoodEnum;
|
|
@@ -39,7 +40,7 @@ export default class Emotion extends React.Component {
|
|
|
39
40
|
render() {
|
|
40
41
|
return (<View style={emotionStyles.container}>
|
|
41
42
|
<View style={emotionStyles.feelingContainer}>
|
|
42
|
-
<TextBold style={emotionStyles.feelingText}>{
|
|
43
|
+
<TextBold style={emotionStyles.feelingText}>{i18n._(t `How are you feeling?`)}</TextBold>
|
|
43
44
|
</View>
|
|
44
45
|
<View style={emotionStyles.moodIconContainer}>{this.mappedMoods()}</View>
|
|
45
46
|
</View>);
|
|
@@ -59,4 +60,3 @@ const emotionStyles = StyleSheet.create({
|
|
|
59
60
|
},
|
|
60
61
|
moodIconContainer: { flex: 1, flexDirection: `row`, justifyContent: `center` },
|
|
61
62
|
});
|
|
62
|
-
//# sourceMappingURL=Emotion.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Logbook } from "@hedia/types";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { ImageURISource } from "react-native";
|
|
3
|
-
import { Logbook } from "@hedia/types";
|
|
4
4
|
export interface IProps {
|
|
5
5
|
/** Which mood the mood component should represent. */
|
|
6
6
|
mood: Logbook.Enums.MoodEnum;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Logbook } from "@hedia/types";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { Dimensions, Image, StyleSheet, TouchableOpacity } from "react-native";
|
|
3
|
-
import { Logbook } from "@hedia/types";
|
|
4
4
|
const MoodEnum = Logbook.Enums.MoodEnum;
|
|
5
5
|
/** Mapping from {@link Logbook.Enums.MoodEnum} to corresponding image resources */
|
|
6
6
|
export const MOODS_INACTIVE = {
|
|
@@ -61,4 +61,3 @@ const moodIconStyles = StyleSheet.create({
|
|
|
61
61
|
height: Dimensions.get(`screen`).width / 8,
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
|
-
//# sourceMappingURL=MoodIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* eslint-disable */module.exports={languageData:{"plurals":function(n,ord){var s=String(n).split("."),i=s[0],t0=Number(s[0])==n;if(ord)return"other";return n==1||!t0&&(i==0||i==1)?"one":"other"}},messages:{"Active Insulin":"Aktiv insulin","Activity":"Aktivitet","Additional":"Supplerende","Attention":"OBS","Based on the selected activity your insulin recommendation is reduced by:":"Baseret p\xE5 din valgte aktivitet er din insulin anbefaling reduceret med:","Blood Glucose Level":"Blodsukker","Blood Ketone Level":"Blodketonniveau","Carbohydrates":"Kulhydrater","Close calculation":"Luk beregning","Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.":"Dit blodsukker ligger udenfor de anbefalede gr\xE6nser for blodsukker f\xF8r en aktivitet. Du b\xF8r overveje at udskyde fysisk aktivitet.","Entered":"Indtastet","Error. Hedia Calculator could not find your recent boluses":"Error. Hedia Calculator could not find your recent boluses","Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units":function(a){return["Ups! Hedia kan ikke anbefale mere end ",a("SAFETY_INSULIN_LIMIT")," enheder hurtigtvirkende insulin i \xE9n dosis"]},"Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours":"Ups! Indtast kun de hurtigtvirkende insulindoser der er under 4 timer gamle, s\xE5 tager Hedia h\xF8jde for aktiv insulin","Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours.":"Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours.","Error. Hedia Calculator does not support your activity intensity value":"Ups! Hedia har lavet en fejl. V\xE6lg venligst intensitet for aktivitet igen","Error. Hedia Calculator does not support your activity type value":"Ups! Der er sket en fejl ved den valgte aktivitetstype. G\xE5 venligst til \u201Caktivitet\u201D og indtast type igen","Error. Hedia Calculator does not support your current blood glucose level.":"Ups! Hedia har lavet en fejl. Indtast venligst en blodsukkerv\xE6rdi indenfor Hedia\u2019s definerede gr\xE6nser for blodsukker","Error. Hedia Calculator does not support your current blood glucose unit.":"Ups! G\xE5 venligst til indstillinger blodsukker og opdater blodsukker enhed til mmol/L eller mg/dL","Error. Hedia Calculator does not support your current blood ketone level.":"Fejl. Hedia beregneren underst\xF8tter ikke dit nuv\xE6rende blodketonniveau.","Error. Hedia Calculator does not support your current blood ketone unit.":"Fejl. Hedia beregneren underst\xF8tter ikke din nuv\xE6rende blodketon enhed.","Error. Hedia Calculator does not support your current language.":"Ups! G\xE5 venligst til indstillinger for sprog og v\xE6lg dansk eller engelsk","Error. Hedia Calculator does not support your injection method.":"Ups! G\xE5 venligst til indstillinger for insulinberegner og v\xE6lg behandlingstype","Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.":"Ups! Hedia har lavet en fejl. Indtast venligst en aktivitet p\xE5 max 60 minutters varighed","Error. Please verify that your activity settings are set up correctly.":"Ups! G\xE5 venligst til indstillinger for aktivitet og bekr\xE6ft at de er korrekte","Error. Please verify that your activity target blood glucose value is correct.":"Ups! G\xE5 venligst til indstillinger for aktivitet og bekr\xE6ft at dit \xF8nskede blodsukker er korrekt","Error. Please verify that your insulin sensitivity value is correct.":"Ups! G\xE5 venligst til insulinindstillinger under indstillinger for insulinberegner og bekr\xE6ft at din insulin sensitivitet er korrekt","Error. Please verify that your insulin to carb ratio value is correct.":"Ups! G\xE5 venligst til insulinindstillinger under indstillinger for insulinberegner og bekr\xE6ft at din kulhydrat-insulinratio er korrekt","Error. Please verify that your target blood glucose value is correct.":"Ups! G\xE5 venligst til indstillinger for blodsukker og bekr\xE6ft at dit \xF8nskede blodsukker er indstillet efter dine personlige m\xE5l","Error. Please verify your notifications settings.":"Ups! G\xE5 venligst til indstillinger for notifikationer og bekr\xE6ft at notifikationer er indstillet korrekt","Error. Your blood ketone settings are invalid.":"Error. Your blood ketone settings are invalid.","Food":"Mad","Hard":"H\xE5rd","Have you taken insulin within the last 4 hours?":"Har du taget insulin inden for de sidste 4 timer?","Hedia Calculator does not support activities that finished more than 4 hours ago.":"Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke l\xE6ngere muligt at indtaste tidligere aktiviter i Hedia.","Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.":"Ups! Hedia har lavet en fejl. Indtast venligst en v\xE6rdi mellem 0 og 300 gram","Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia underst\xF8tter maksimalt ",a("SAFETY_INSULIN_LIMIT")," enheder af insulin per beregning"]},"Hedia doesn't support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {0}% to {1} units for this calculation.":function(a){return["Hedia underst\xF8tter maksimalt ",a("SAFETY_INSULIN_LIMIT")," enheder af insulin per beregning men p\xE5 grund af den fysiske aktivitet du har indtastet, er gr\xE6nsen reduceret med yderligere ",a("0"),"% til ",a("1")," enheder for denne beregning."]},"How are you feeling?":"Hvordan har du det?","INSULIN{0}RECOMMENDATION":function(a){return["INSULIN",a("0"),"ANBEFALING"]},"If it is possible, postpone your planned exercise.":"Hvis det er muligt, uds\xE6t din planlagte tr\xE6ning.","Instead of taking insulin":"I stedet for at tage insulin","Light":"Let","Moderate":"Moderat","More than 15 minutes has passed since this calculation was started.":"Der er g\xE5et mere end 15 minutter siden udregningen blev startet.","NO":"NEJ","No":"Nej","No, return to dashboard":"Nej, tilbage til dashboard","OFF":"OFF","OK":"OK","Please go through the calculation steps with new measurements to ensure a safe recommendation.":"G\xE5 venligst gennem udregningstrinnene igen med nye m\xE5linger for at sikre en sikker anbefaling.","Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?":function(a){return["Hedia's anbefaling fra ",a("day")," kl. ",a("time")," blev ikke overf\xF8rt til din logbog.",a("0"),"Brugte du anbefalingen?"]},"Recommended":"Anbefalet","Recommended amount of insulin":"Anbefalet enhed(er) af insulin","Remind me to remeasure in":"P\xE5mind mig at genm\xE5le om","Return to dashboard":"Tilbage til dashboard","Save data before closing?":"Vil du gemme din indtastning?","Save to logbook":"Gem i logbog","Start new calculation":"Start ny beregning","Total":"Sum","Transfer to logbook":"Overf\xF8r til logbog","Transferred to logbook":"Overf\xF8rt til logbog","Units":"Enheder","Untitled Activity":"Unavngivet aktivitet","We recommend eating an additional:":"Vi anbefaler at spise yderligere:","Would you like to add this to your current calculation?":"Vil du gerne tilf\xF8je dette til din nuv\xE6rende beregning?","Yes":"Ja","Yes, save to logbook":"Ja, gem i logbogen","You have a high blood glucose level.":"Du har h\xF8jt blodsukker.","You should take rapid-acting insulin and measure ketones.":"Du burde tage hurtigtvirkende insulin og m\xE5le ketoner.","You will be reminded to measure your blood glucose level in 15 min.":"Du vil f\xE5 en p\xE5mindelse om at m\xE5le dit blodsukker om 15 minutter.","Your blood glucose level is very low.":"Dit blodsukker er meget lavt.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Dit blodsukker er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. S\xF8g l\xE6gehj\xE6lp.","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 {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {2}% to {3}.":function(a){return["Din anbefaling ville have v\xE6ret h\xF8jere end ",a("0")," enheder af insulin men den er blevet begr\xE6nset af sikkerhedshensyn.",a("1")," Hedia anbefaler aldrig mere end ",a("SAFETY_INSULIN_LIMIT")," enheder af insulin per beregning men p\xE5 grund af den fysiske aktivitet du har indtastet er gr\xE6nsen reduceret med yderligere ",a("2"),"% til ",a("3"),"."]},"Your recommendation would have been higher than {SAFETY_INSULIN_LIMIT} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Din anbefaling ville have v\xE6ret h\xF8jere end ",a("SAFETY_INSULIN_LIMIT")," enheder af insulin men den er blevet begr\xE6nset af sikkerhedshensyn. Hedia anbefaler aldrig mere end ",a("SAFETY_INSULIN_LIMIT")," enheder af insulin per beregning."]},"Your saved data will be used for future calculations.":"Dine gemte indtastninger vil blive brugt til fremtidige beregninger.","grams":"gram","grams of carbohydrates":"gram kulhydrater","hours":"timer","min":"min","units":"enheder"}};
|