@hedia/recommendation-screen 1.4.4 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/workspace.xml +38 -137
- package/android/app/src/main/assets/fonts/AntDesign.ttf +0 -0
- package/android/app/src/main/assets/fonts/Entypo.ttf +0 -0
- package/android/app/src/main/assets/fonts/EvilIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Feather.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf +0 -0
- package/android/app/src/main/assets/fonts/Fontisto.ttf +0 -0
- package/android/app/src/main/assets/fonts/Foundation.ttf +0 -0
- package/android/app/src/main/assets/fonts/Ionicons.ttf +0 -0
- package/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/MaterialIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Octicons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Black.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-BlackItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Bold.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-BoldItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Italic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Light.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-LightItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Medium.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-MediumItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Regular.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Thin.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-ThinItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/SimpleLineIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Zocial.ttf +0 -0
- package/assets/fonts/Roboto/LICENSE.txt +202 -0
- package/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/ios/HediaRecommendationScreen/Info.plist +18 -6
- package/ios/HediaRecommendationScreen.xcodeproj/project.pbxproj +48 -0
- package/package.json +1 -1
- package/react-native.config.js +7 -0
- package/src/RecommendationScreen.d.ts +11 -4
- package/src/RecommendationScreen.jsx +47 -24
- package/src/RecommendationScreen.tsx +94 -34
- package/src/components/InfoBars.d.ts +2 -4
- package/src/components/InfoBars.jsx +8 -8
- package/src/components/InfoBars.tsx +9 -10
- package/src/components/LimitationMessage.d.ts +10 -0
- package/src/components/LimitationMessage.jsx +50 -0
- package/src/components/LimitationMessage.tsx +42 -0
- package/src/components/LineSeparator.d.ts +8 -0
- package/src/components/LineSeparator.jsx +22 -0
- package/src/components/LineSeparator.tsx +24 -0
- package/src/components/RecommendationModal.d.ts +5 -1
- package/src/components/RecommendationModal.jsx +15 -24
- package/src/components/RecommendationModal.tsx +26 -36
- package/src/components/RecommendedCarbs.d.ts +0 -1
- package/src/components/RecommendedCarbs.jsx +44 -45
- package/src/components/RecommendedCarbs.tsx +45 -47
- package/src/components/RecommendedInsulin.jsx +2 -2
- package/src/components/RecommendedInsulin.tsx +2 -2
- package/src/components/Remeasure.jsx +1 -0
- package/src/components/Remeasure.tsx +1 -0
- package/src/components/TwoOptionModal.d.ts +130 -0
- package/src/components/TwoOptionModal.jsx +135 -0
- package/src/components/TwoOptionModal.tsx +144 -0
- package/src/components/activity/Activity.jsx +1 -0
- package/src/components/activity/Activity.tsx +1 -0
- package/src/locale/da/messages.js +1 -1
- package/src/locale/da/messages.po +112 -76
- package/src/locale/en/messages.js +1 -1
- package/src/locale/en/messages.po +91 -55
- package/src/types/enum.d.ts +1 -2
- package/src/types/enum.js +0 -1
- package/src/types/enum.ts +0 -1
- package/src/utils/AttentionMessages.d.ts +6 -1
- package/src/utils/AttentionMessages.jsx +22 -5
- package/src/utils/AttentionMessages.tsx +24 -3
- package/src/utils/RecommendationError.d.ts +0 -1
- package/src/utils/RecommendationError.jsx +1 -2
- package/src/utils/RecommendationError.tsx +0 -8
- package/src/utils/RecommendationUtils.js +1 -1
- package/src/utils/RecommendationUtils.ts +2 -2
- package/src/components/ExitModal.d.ts +0 -11
- package/src/components/ExitModal.jsx +0 -87
- package/src/components/ExitModal.tsx +0 -85
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Dimensions, StatusBar, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
3
|
+
import { BACKGROUND_COLOUR_PURPLE, BORDER_COLOUR_GREY, BORDER_COLOUR_TEAL } from "../utils/Constants";
|
|
4
|
+
import Icon from "./Icon";
|
|
5
|
+
import { stylesModal } from "./RecommendationModal";
|
|
6
|
+
|
|
7
|
+
export interface ITwoOptionModalProps {
|
|
8
|
+
title: string;
|
|
9
|
+
message: string;
|
|
10
|
+
textFirstOption: string;
|
|
11
|
+
textSecondOption: string;
|
|
12
|
+
isCancelable?: boolean;
|
|
13
|
+
rowAsButtonLayout: boolean;
|
|
14
|
+
firstOption(): void;
|
|
15
|
+
secondOption(): void;
|
|
16
|
+
onClose?(): void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default class TwoOptionModal extends React.Component<ITwoOptionModalProps> {
|
|
20
|
+
constructor(props: ITwoOptionModalProps) {
|
|
21
|
+
super(props);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public render(): JSX.Element {
|
|
25
|
+
const { rowAsButtonLayout, isCancelable } = this.props;
|
|
26
|
+
return (
|
|
27
|
+
<View style={modalStyle.container}>
|
|
28
|
+
<StatusBar backgroundColor={`rgba(0, 0, 0, 1)`} />
|
|
29
|
+
<View style={modalStyle.modalContainer}>
|
|
30
|
+
{isCancelable ? (
|
|
31
|
+
<Icon
|
|
32
|
+
accessibilityLabel="ModalExitIcon"
|
|
33
|
+
iconIdentifier={`Ionicons/ios-close-circle-outline`}
|
|
34
|
+
style={modalStyle.icon}
|
|
35
|
+
onPress={this.props.onClose}
|
|
36
|
+
/>
|
|
37
|
+
) : null}
|
|
38
|
+
|
|
39
|
+
<View style={isCancelable ? modalStyle.textContainer : modalStyle.textContainerNotCancelable}>
|
|
40
|
+
<Text style={rowAsButtonLayout ? modalStyle.titleRowLayout : modalStyle.titleColumnLayout}>
|
|
41
|
+
{this.props.title}
|
|
42
|
+
</Text>
|
|
43
|
+
<Text style={modalStyle.message}>{this.props.message}</Text>
|
|
44
|
+
</View>
|
|
45
|
+
<View style={rowAsButtonLayout ? modalStyle.buttonContainerRow : modalStyle.buttonContainerColumn}>
|
|
46
|
+
<TouchableOpacity
|
|
47
|
+
accessibilityLabel="firstOptionButton"
|
|
48
|
+
onPress={this.props.firstOption}
|
|
49
|
+
style={rowAsButtonLayout ? modalStyle.buttonRow : modalStyle.firstButtonColumn}
|
|
50
|
+
>
|
|
51
|
+
<Text
|
|
52
|
+
style={rowAsButtonLayout ? modalStyle.textButtonRow : modalStyle.textFirstButtonColumn}
|
|
53
|
+
>
|
|
54
|
+
{this.props.textFirstOption}
|
|
55
|
+
</Text>
|
|
56
|
+
</TouchableOpacity>
|
|
57
|
+
<TouchableOpacity
|
|
58
|
+
accessibilityLabel="secondOptionButton"
|
|
59
|
+
onPress={this.props.secondOption}
|
|
60
|
+
style={rowAsButtonLayout ? modalStyle.buttonRow : modalStyle.secondButtonColumn}
|
|
61
|
+
>
|
|
62
|
+
<Text
|
|
63
|
+
style={rowAsButtonLayout ? modalStyle.textButtonRow : modalStyle.textSecondButtonColumn}
|
|
64
|
+
>
|
|
65
|
+
{this.props.textSecondOption}
|
|
66
|
+
</Text>
|
|
67
|
+
</TouchableOpacity>
|
|
68
|
+
</View>
|
|
69
|
+
</View>
|
|
70
|
+
</View>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const { height, width } = Dimensions.get(`screen`);
|
|
75
|
+
export const modalStyle = StyleSheet.create({
|
|
76
|
+
container: { ...StyleSheet.absoluteFillObject, justifyContent: `center`, backgroundColor: `rgba(0, 0, 0, 0.9)` },
|
|
77
|
+
modalContainer: { margin: `4%`, backgroundColor: BACKGROUND_COLOUR_PURPLE, borderRadius: width / 25 },
|
|
78
|
+
icon: {
|
|
79
|
+
color: BORDER_COLOUR_GREY,
|
|
80
|
+
fontSize: width / 12,
|
|
81
|
+
textAlign: `right`,
|
|
82
|
+
marginRight: `4%`,
|
|
83
|
+
marginTop: `3%`,
|
|
84
|
+
},
|
|
85
|
+
textContainer: { marginHorizontal: `4%`, marginBottom: `5%`, marginTop: `2%`, alignSelf: `flex-start` },
|
|
86
|
+
textContainerNotCancelable: { marginHorizontal: `4%`, marginVertical: `5%`, alignSelf: `flex-start` },
|
|
87
|
+
titleRowLayout: {
|
|
88
|
+
fontFamily: `Roboto-Regular`,
|
|
89
|
+
color: `rgba(139, 144, 196, 1)`,
|
|
90
|
+
fontSize: width / 17,
|
|
91
|
+
fontWeight: `bold`,
|
|
92
|
+
textAlign: `center`,
|
|
93
|
+
marginBottom: `10%`,
|
|
94
|
+
},
|
|
95
|
+
titleColumnLayout: {
|
|
96
|
+
fontFamily: `Roboto-Regular`,
|
|
97
|
+
color: `rgba(139, 144, 196, 1)`,
|
|
98
|
+
fontSize: width / 17,
|
|
99
|
+
fontWeight: `bold`,
|
|
100
|
+
textAlign: `center`,
|
|
101
|
+
marginBottom: `5%`,
|
|
102
|
+
},
|
|
103
|
+
message: {
|
|
104
|
+
fontFamily: `Roboto-Regular`,
|
|
105
|
+
color: `rgba(245, 242, 242, 1)`,
|
|
106
|
+
fontSize: width / 22,
|
|
107
|
+
textAlign: `center`,
|
|
108
|
+
},
|
|
109
|
+
buttonContainerRow: {
|
|
110
|
+
flexDirection: `row`,
|
|
111
|
+
justifyContent: `space-around`,
|
|
112
|
+
marginHorizontal: `4%`,
|
|
113
|
+
marginVertical: `6%`,
|
|
114
|
+
},
|
|
115
|
+
buttonContainerColumn: {
|
|
116
|
+
flexDirection: `column`,
|
|
117
|
+
justifyContent: `space-around`,
|
|
118
|
+
margin: `4%`,
|
|
119
|
+
},
|
|
120
|
+
buttonRow: { ...stylesModal.okButton, height: height / 18, marginTop: 0 },
|
|
121
|
+
firstButtonColumn: {
|
|
122
|
+
...stylesModal.okButton,
|
|
123
|
+
height: height / 18,
|
|
124
|
+
width: width / 1.5,
|
|
125
|
+
marginTop: 0,
|
|
126
|
+
backgroundColor: BORDER_COLOUR_TEAL,
|
|
127
|
+
},
|
|
128
|
+
secondButtonColumn: {
|
|
129
|
+
alignSelf: `center`,
|
|
130
|
+
justifyContent: `center`,
|
|
131
|
+
height: height / 18,
|
|
132
|
+
width: width / 1.5,
|
|
133
|
+
marginTop: `2%`,
|
|
134
|
+
},
|
|
135
|
+
textButtonRow: { fontFamily: `Roboto-Regular`, textAlign: `center`, fontSize: width / 24, color: `white` },
|
|
136
|
+
textFirstButtonColumn: { fontFamily: `Roboto-Regular`, textAlign: `center`, fontSize: width / 21, color: `black` },
|
|
137
|
+
textSecondButtonColumn: {
|
|
138
|
+
fontFamily: `Roboto-Regular`,
|
|
139
|
+
textAlign: `center`,
|
|
140
|
+
fontSize: width / 26,
|
|
141
|
+
color: BORDER_COLOUR_TEAL,
|
|
142
|
+
fontWeight: `bold`,
|
|
143
|
+
},
|
|
144
|
+
});
|
|
@@ -1 +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":"Blodsukkerniveau","Close calculation":"Luk beregning","Entered":"Indtastet","Error. Hedia Calculator does not support an insulin dose greater than {0} units":function(a){return["
|
|
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":"Blodsukkerniveau","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 blodsukkerniveau 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 does not support an insulin dose greater than {0} units":function(a){return["Ups! Hedia kan ikke anbefale mere end ",a("0")," 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 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 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 aktivitetsm\xE5l 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 blodsukkerniveaur 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","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 {0} units of insulin per calculation.":function(a){return["Hedia underst\xF8tter maksimalt ",a("0")," units af insulin per beregning"]},"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 underst\xF8tter maksimalt ",a("0")," units af insulin per beregning, men p\xE5 grund af den fysiske aktivitet du har indtastet er gr\xE6nsen reduceret med yderligere ",a("1"),"% til ",a("2")," 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 et h\xF8jt blodsukkerniveau.","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 p\xE5mindelser om at m\xE5le dit blodsukkerniveau om 15 minutter.","Your blood glucose level is very low.":"Dit blodsukkerniveau er meget lavt.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Dit blodsukkerniveau 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. Hedia never recommends more than {1} units of insulin per calculation.":function(a){return["Din anbefaling ville have v\xE6ret h\xF8jere end ",a("0")," units af insulin, men den er blevet begr\xE6nset af sikkerhedshensyn. Hedia anbefaler aldrig mere end ",a("1")," units af insulin per beregning."]},"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["Din anbefaling ville have v\xE6ret h\xF8jere end ",a("0")," units af insulin, men den er blevet begr\xE6nset af sikkerhedshensyn.",a("1")," Hedia anbefaler aldrig mere end ",a("2")," units af insulin per beregning, men p\xE5 grund af den fysiske aktivitet du har indtastet er gr\xE6nsen reduceret med yderligere ",a("3"),"% til ",a("4"),"."]},"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"}};
|
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
|
13
13
|
"Language-Team: \n"
|
|
14
14
|
"Plural-Forms: \n"
|
|
15
15
|
|
|
16
|
-
#: src/RecommendationScreen.tsx:
|
|
16
|
+
#: src/RecommendationScreen.tsx:169
|
|
17
17
|
msgid "Active Insulin"
|
|
18
18
|
msgstr "Aktiv Insulin"
|
|
19
19
|
|
|
@@ -21,12 +21,14 @@ msgstr "Aktiv Insulin"
|
|
|
21
21
|
msgid "Activity"
|
|
22
22
|
msgstr "Aktivitet"
|
|
23
23
|
|
|
24
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
24
|
+
#: src/components/RecommendedCarbs.tsx:55
|
|
25
25
|
msgid "Additional"
|
|
26
26
|
msgstr "Supplerende"
|
|
27
27
|
|
|
28
|
-
#: src/components/
|
|
29
|
-
#: src/components/RecommendationModal.tsx:
|
|
28
|
+
#: src/components/LimitationMessage.tsx:14
|
|
29
|
+
#: src/components/RecommendationModal.tsx:66
|
|
30
|
+
#: src/components/RecommendedCarbs.tsx:30
|
|
31
|
+
#: src/components/RecommendedInsulin.tsx:34
|
|
30
32
|
msgid "Attention"
|
|
31
33
|
msgstr "OBS"
|
|
32
34
|
|
|
@@ -34,75 +36,87 @@ msgstr "OBS"
|
|
|
34
36
|
msgid "Based on the selected activity your insulin recommendation is reduced by:"
|
|
35
37
|
msgstr "Baseret på din valgte aktivitet er din insulin anbefaling reduceret med:"
|
|
36
38
|
|
|
37
|
-
#: src/RecommendationScreen.tsx:
|
|
39
|
+
#: src/RecommendationScreen.tsx:170
|
|
38
40
|
msgid "Blood Glucose Level"
|
|
39
41
|
msgstr "Blodsukkerniveau"
|
|
40
42
|
|
|
41
|
-
#: src/components/
|
|
43
|
+
#: src/components/RecommendedCarbs.tsx:105
|
|
44
|
+
msgid "Carbohydrates"
|
|
45
|
+
msgstr "Kulhydrater"
|
|
46
|
+
|
|
47
|
+
#: src/RecommendationScreen.tsx:192
|
|
42
48
|
msgid "Close calculation"
|
|
43
49
|
msgstr "Luk beregning"
|
|
44
50
|
|
|
45
|
-
#: src/
|
|
51
|
+
#: src/utils/AttentionMessages.tsx:29
|
|
52
|
+
msgid "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity."
|
|
53
|
+
msgstr "Dit blodsukkerniveau ligger udenfor de anbefalede grænser for blodsukker før en aktivitet. Du bør overveje at udskyde fysisk aktivitet."
|
|
54
|
+
|
|
55
|
+
#: src/components/RecommendedCarbs.tsx:108
|
|
46
56
|
msgid "Entered"
|
|
47
57
|
msgstr "Indtastet"
|
|
48
58
|
|
|
49
|
-
#: src/utils/RecommendationError.tsx:
|
|
59
|
+
#: src/utils/RecommendationError.tsx:22
|
|
50
60
|
msgid "Error. Hedia Calculator does not support an insulin dose greater than {0} units"
|
|
51
|
-
msgstr ""
|
|
61
|
+
msgstr "Ups! Hedia kan ikke anbefale mere end {0} enheder hurtigtvirkende insulin i én dosis"
|
|
52
62
|
|
|
53
|
-
#: src/utils/RecommendationError.tsx:
|
|
63
|
+
#: src/utils/RecommendationError.tsx:23
|
|
54
64
|
msgid "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
|
|
55
|
-
msgstr ""
|
|
65
|
+
msgstr "Ups! Indtast kun de hurtigtvirkende insulindoser der er under 4 timer gamle, så tager Hedia højde for aktiv insulin"
|
|
56
66
|
|
|
57
67
|
#: src/utils/RecommendationError.tsx:14
|
|
58
68
|
msgid "Error. Hedia Calculator does not support your activity intensity value"
|
|
59
|
-
msgstr ""
|
|
69
|
+
msgstr "Ups! Hedia har lavet en fejl. Vælg venligst intensitet for aktivitet igen"
|
|
60
70
|
|
|
61
|
-
#: src/utils/RecommendationError.tsx:
|
|
71
|
+
#: src/utils/RecommendationError.tsx:15
|
|
72
|
+
msgid "Error. Hedia Calculator does not support your activity type value"
|
|
73
|
+
msgstr "Ups! Der er sket en fejl ved den valgte aktivitetstype. Gå venligst til “aktivitet” og indtast type igen"
|
|
74
|
+
|
|
75
|
+
#: src/utils/RecommendationError.tsx:20
|
|
62
76
|
msgid "Error. Hedia Calculator does not support your current blood glucose level."
|
|
63
|
-
msgstr ""
|
|
77
|
+
msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en blodsukkerværdi indenfor Hedia’s definerede grænser for blodsukker"
|
|
64
78
|
|
|
65
|
-
#: src/utils/RecommendationError.tsx:
|
|
79
|
+
#: src/utils/RecommendationError.tsx:27
|
|
66
80
|
msgid "Error. Hedia Calculator does not support your current blood glucose unit."
|
|
67
|
-
msgstr ""
|
|
81
|
+
msgstr "Ups! Gå venligst til indstillinger blodsukker og opdater blodsukker enhed til mmol/L eller mg/dL"
|
|
68
82
|
|
|
69
|
-
#: src/utils/RecommendationError.tsx:
|
|
83
|
+
#: src/utils/RecommendationError.tsx:26
|
|
70
84
|
msgid "Error. Hedia Calculator does not support your current language."
|
|
71
|
-
msgstr ""
|
|
85
|
+
msgstr "Ups! Gå venligst til indstillinger for sprog og vælg dansk eller engelsk"
|
|
72
86
|
|
|
73
|
-
#: src/utils/RecommendationError.tsx:
|
|
87
|
+
#: src/utils/RecommendationError.tsx:25
|
|
74
88
|
msgid "Error. Hedia Calculator does not support your injection method."
|
|
75
|
-
msgstr ""
|
|
89
|
+
msgstr "Ups! Gå venligst til indstillinger for insulinberegner og vælg behandlingstype"
|
|
76
90
|
|
|
77
91
|
#: src/utils/RecommendationError.tsx:12
|
|
78
92
|
msgid "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
|
|
79
|
-
msgstr ""
|
|
93
|
+
msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en aktivitet på max 60 minutters varighed"
|
|
80
94
|
|
|
81
95
|
#: src/utils/RecommendationError.tsx:11
|
|
82
96
|
msgid "Error. Please verify that your activity settings are set up correctly."
|
|
83
|
-
msgstr ""
|
|
97
|
+
msgstr "Ups! Gå venligst til indstillinger for aktivitet og bekræft at de er korrekte"
|
|
84
98
|
|
|
85
|
-
#: src/utils/RecommendationError.tsx:
|
|
99
|
+
#: src/utils/RecommendationError.tsx:16
|
|
86
100
|
msgid "Error. Please verify that your activity target blood glucose value is correct."
|
|
87
|
-
msgstr ""
|
|
101
|
+
msgstr "Ups! Gå venligst til indstillinger for aktivitet og bekræft at aktivitetsmål er korrekt"
|
|
88
102
|
|
|
89
|
-
#: src/utils/RecommendationError.tsx:
|
|
103
|
+
#: src/utils/RecommendationError.tsx:18
|
|
90
104
|
msgid "Error. Please verify that your insulin sensitivity value is correct."
|
|
91
|
-
msgstr ""
|
|
105
|
+
msgstr "Ups! Gå venligst til insulinindstillinger under indstillinger for insulinberegner og bekræft at din insulin sensitivitet er korrekt"
|
|
92
106
|
|
|
93
|
-
#: src/utils/RecommendationError.tsx:
|
|
107
|
+
#: src/utils/RecommendationError.tsx:19
|
|
94
108
|
msgid "Error. Please verify that your insulin to carb ratio value is correct."
|
|
95
|
-
msgstr ""
|
|
109
|
+
msgstr "Ups! Gå venligst til insulinindstillinger under indstillinger for insulinberegner og bekræft at din kulhydrat-insulinratio er korrekt"
|
|
96
110
|
|
|
97
|
-
#: src/utils/RecommendationError.tsx:
|
|
111
|
+
#: src/utils/RecommendationError.tsx:21
|
|
98
112
|
msgid "Error. Please verify that your target blood glucose value is correct."
|
|
99
|
-
msgstr ""
|
|
113
|
+
msgstr "Ups! Gå venligst til indstillinger for blodsukker og bekræft at blodsukkerniveaur er indstillet efter dine personlige mål"
|
|
100
114
|
|
|
101
|
-
#: src/utils/RecommendationError.tsx:
|
|
115
|
+
#: src/utils/RecommendationError.tsx:24
|
|
102
116
|
msgid "Error. Please verify your notifications settings."
|
|
103
|
-
msgstr ""
|
|
117
|
+
msgstr "Ups! Gå venligst til indstillinger for notifikationer og bekræft at notifikationer er indstillet korrekt"
|
|
104
118
|
|
|
105
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
119
|
+
#: src/components/RecommendedCarbs.tsx:104
|
|
106
120
|
msgid "Food"
|
|
107
121
|
msgstr "Mad"
|
|
108
122
|
|
|
@@ -115,18 +129,18 @@ msgid "Have you taken insulin within the last 4 hours?"
|
|
|
115
129
|
msgstr "Har du taget insulin inden for de sidste 4 timer?"
|
|
116
130
|
|
|
117
131
|
#: src/utils/RecommendationError.tsx:13
|
|
118
|
-
msgid "Hedia Calculator does not support activities that
|
|
119
|
-
msgstr ""
|
|
132
|
+
msgid "Hedia Calculator does not support activities that finished more than 4 hours ago."
|
|
133
|
+
msgstr "Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke længere muligt at indtaste tidligere aktiviter i Hedia."
|
|
120
134
|
|
|
121
|
-
#: src/utils/RecommendationError.tsx:
|
|
135
|
+
#: src/utils/RecommendationError.tsx:17
|
|
122
136
|
msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
|
|
123
|
-
msgstr ""
|
|
137
|
+
msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en værdi mellem 0 og 300 gram"
|
|
124
138
|
|
|
125
|
-
#: src/utils/AttentionMessages.tsx:
|
|
139
|
+
#: src/utils/AttentionMessages.tsx:43
|
|
126
140
|
msgid "Hedia does not support more than {0} units of insulin per calculation."
|
|
127
141
|
msgstr "Hedia understøtter maksimalt {0} units af insulin per beregning"
|
|
128
142
|
|
|
129
|
-
#: src/utils/AttentionMessages.tsx:
|
|
143
|
+
#: src/utils/AttentionMessages.tsx:41
|
|
130
144
|
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
145
|
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."
|
|
132
146
|
|
|
@@ -138,11 +152,11 @@ msgstr "Hvordan har du det?"
|
|
|
138
152
|
msgid "INSULIN{0}RECOMMENDATION"
|
|
139
153
|
msgstr "INSULIN{0}ANBEFALING"
|
|
140
154
|
|
|
141
|
-
#: src/utils/AttentionMessages.tsx:
|
|
155
|
+
#: src/utils/AttentionMessages.tsx:28
|
|
142
156
|
msgid "If it is possible, postpone your planned exercise."
|
|
143
157
|
msgstr "Hvis det er muligt, udsæt din planlagte træning."
|
|
144
158
|
|
|
145
|
-
#: src/components/RecommendationModal.tsx:
|
|
159
|
+
#: src/components/RecommendationModal.tsx:42
|
|
146
160
|
msgid "Instead of taking insulin"
|
|
147
161
|
msgstr "I stedet for at tage insulin"
|
|
148
162
|
|
|
@@ -154,11 +168,11 @@ msgstr "Let"
|
|
|
154
168
|
msgid "Moderate"
|
|
155
169
|
msgstr "Moderat"
|
|
156
170
|
|
|
157
|
-
#: src/utils/
|
|
158
|
-
msgid "More than 15 minutes has passed since this calculation was started.
|
|
159
|
-
msgstr "Der er gået mere end 15 minutter siden udregningen blev startet.
|
|
171
|
+
#: src/utils/AttentionMessages.tsx:44
|
|
172
|
+
msgid "More than 15 minutes has passed since this calculation was started."
|
|
173
|
+
msgstr "Der er gået mere end 15 minutter siden udregningen blev startet."
|
|
160
174
|
|
|
161
|
-
#: src/components/RecommendationModal.tsx:
|
|
175
|
+
#: src/components/RecommendationModal.tsx:22
|
|
162
176
|
msgid "NO"
|
|
163
177
|
msgstr "NEJ"
|
|
164
178
|
|
|
@@ -166,21 +180,31 @@ msgstr "NEJ"
|
|
|
166
180
|
msgid "No"
|
|
167
181
|
msgstr "Nej"
|
|
168
182
|
|
|
183
|
+
#: src/RecommendationScreen.tsx:196
|
|
184
|
+
msgid "No, return to dashboard"
|
|
185
|
+
msgstr "Nej, tilbage til dashboard"
|
|
186
|
+
|
|
169
187
|
#: src/components/Remeasure.tsx:35
|
|
170
188
|
msgid "OFF"
|
|
171
189
|
msgstr "OFF"
|
|
172
190
|
|
|
173
|
-
#: src/components/
|
|
174
|
-
#: src/components/RecommendationModal.tsx:
|
|
175
|
-
#: src/components/RecommendationModal.tsx:
|
|
191
|
+
#: src/components/LimitationMessage.tsx:21
|
|
192
|
+
#: src/components/RecommendationModal.tsx:19
|
|
193
|
+
#: src/components/RecommendationModal.tsx:73
|
|
194
|
+
#: src/components/RecommendedCarbs.tsx:32
|
|
195
|
+
#: src/components/RecommendedInsulin.tsx:36
|
|
176
196
|
msgid "OK"
|
|
177
|
-
msgstr ""
|
|
197
|
+
msgstr "OK"
|
|
178
198
|
|
|
179
|
-
#: src/
|
|
180
|
-
msgid "
|
|
181
|
-
msgstr "
|
|
199
|
+
#: src/utils/AttentionMessages.tsx:45
|
|
200
|
+
msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
|
|
201
|
+
msgstr "Gå venligst gennem udregningstrinnene igen med nye målinger for at sikre en sikker anbefaling."
|
|
182
202
|
|
|
183
|
-
#: src/
|
|
203
|
+
#: src/utils/AttentionMessages.tsx:51
|
|
204
|
+
msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
|
|
205
|
+
msgstr "Hedia's anbefaling fra {day} kl. {time} blev ikke overført til din logbog.{0}Brugte du anbefalingen?"
|
|
206
|
+
|
|
207
|
+
#: src/components/RecommendedCarbs.tsx:50
|
|
184
208
|
msgid "Recommended"
|
|
185
209
|
msgstr "Anbefalet"
|
|
186
210
|
|
|
@@ -193,15 +217,23 @@ msgstr "Anbefalet enhed(er) af insulin"
|
|
|
193
217
|
msgid "Remind me to remeasure in"
|
|
194
218
|
msgstr "Påmind mig at genmåle om"
|
|
195
219
|
|
|
196
|
-
#: src/
|
|
220
|
+
#: src/RecommendationScreen.tsx:196
|
|
221
|
+
msgid "Return to dashboard"
|
|
222
|
+
msgstr "Tilbage til dashboard"
|
|
223
|
+
|
|
224
|
+
#: src/RecommendationScreen.tsx:192
|
|
197
225
|
msgid "Save data before closing?"
|
|
198
226
|
msgstr "Vil du gemme din indtastning?"
|
|
199
227
|
|
|
200
|
-
#: src/
|
|
228
|
+
#: src/RecommendationScreen.tsx:192
|
|
201
229
|
msgid "Save to logbook"
|
|
202
230
|
msgstr "Gem i logbog"
|
|
203
231
|
|
|
204
|
-
#: src/
|
|
232
|
+
#: src/RecommendationScreen.tsx:196
|
|
233
|
+
msgid "Start new calculation"
|
|
234
|
+
msgstr "Start ny beregning"
|
|
235
|
+
|
|
236
|
+
#: src/components/RecommendedCarbs.tsx:77
|
|
205
237
|
msgid "Total"
|
|
206
238
|
msgstr "Sum"
|
|
207
239
|
|
|
@@ -221,11 +253,11 @@ msgstr "Enheder"
|
|
|
221
253
|
msgid "Untitled Activity"
|
|
222
254
|
msgstr "Unavngivet aktivitet"
|
|
223
255
|
|
|
224
|
-
#: src/components/RecommendationModal.tsx:
|
|
256
|
+
#: src/components/RecommendationModal.tsx:32
|
|
225
257
|
msgid "We recommend eating an additional:"
|
|
226
258
|
msgstr "Vi anbefaler at spise yderligere:"
|
|
227
259
|
|
|
228
|
-
#: src/components/RecommendationModal.tsx:
|
|
260
|
+
#: src/components/RecommendationModal.tsx:48
|
|
229
261
|
msgid "Would you like to add this to your current calculation?"
|
|
230
262
|
msgstr "Vil du gerne tilføje dette til din nuværende beregning?"
|
|
231
263
|
|
|
@@ -233,47 +265,51 @@ msgstr "Vil du gerne tilføje dette til din nuværende beregning?"
|
|
|
233
265
|
msgid "Yes"
|
|
234
266
|
msgstr "Ja"
|
|
235
267
|
|
|
236
|
-
#: src/
|
|
268
|
+
#: src/RecommendationScreen.tsx:196
|
|
269
|
+
msgid "Yes, save to logbook"
|
|
270
|
+
msgstr "Ja, gem i logbogen"
|
|
271
|
+
|
|
272
|
+
#: src/utils/AttentionMessages.tsx:30
|
|
237
273
|
msgid "You have a high blood glucose level."
|
|
238
274
|
msgstr "Du har et højt blodsukkerniveau."
|
|
239
275
|
|
|
240
|
-
#: src/utils/AttentionMessages.tsx:
|
|
276
|
+
#: src/utils/AttentionMessages.tsx:31
|
|
241
277
|
msgid "You should take rapid-acting insulin and measure ketones."
|
|
242
278
|
msgstr "Du burde tage hurtigtvirkende insulin og måle ketoner."
|
|
243
279
|
|
|
244
|
-
#: src/utils/AttentionMessages.tsx:
|
|
280
|
+
#: src/utils/AttentionMessages.tsx:27
|
|
245
281
|
msgid "You will be reminded to measure your blood glucose level in 15 min."
|
|
246
282
|
msgstr "Du vil få påmindelser om at måle dit blodsukkerniveau om 15 minutter."
|
|
247
283
|
|
|
248
|
-
#: src/utils/AttentionMessages.tsx:
|
|
284
|
+
#: src/utils/AttentionMessages.tsx:26
|
|
249
285
|
msgid "Your blood glucose level is very low."
|
|
250
286
|
msgstr "Dit blodsukkerniveau er meget lavt."
|
|
251
287
|
|
|
252
|
-
#: src/utils/AttentionMessages.tsx:
|
|
288
|
+
#: src/utils/AttentionMessages.tsx:25
|
|
253
289
|
msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
|
|
254
290
|
msgstr "Dit blodsukkerniveau er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. Søg lægehjælp."
|
|
255
291
|
|
|
256
|
-
#: src/utils/AttentionMessages.tsx:
|
|
292
|
+
#: src/utils/AttentionMessages.tsx:32
|
|
257
293
|
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 ""
|
|
294
|
+
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."
|
|
259
295
|
|
|
260
|
-
#: src/utils/AttentionMessages.tsx:
|
|
296
|
+
#: src/utils/AttentionMessages.tsx:34
|
|
261
297
|
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}."
|
|
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}."
|
|
298
|
+
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
299
|
|
|
264
|
-
#: src/
|
|
300
|
+
#: src/RecommendationScreen.tsx:192
|
|
265
301
|
msgid "Your saved data will be used for future calculations."
|
|
266
302
|
msgstr "Dine gemte indtastninger vil blive brugt til fremtidige beregninger."
|
|
267
303
|
|
|
268
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
269
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
270
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
271
|
-
msgid "
|
|
272
|
-
msgstr "
|
|
304
|
+
#: src/components/RecommendedCarbs.tsx:69
|
|
305
|
+
#: src/components/RecommendedCarbs.tsx:79
|
|
306
|
+
#: src/components/RecommendedCarbs.tsx:110
|
|
307
|
+
msgid "grams"
|
|
308
|
+
msgstr "gram"
|
|
273
309
|
|
|
274
|
-
#: src/components/RecommendationModal.tsx:
|
|
310
|
+
#: src/components/RecommendationModal.tsx:38
|
|
275
311
|
msgid "grams of carbohydrates"
|
|
276
|
-
msgstr ""
|
|
312
|
+
msgstr "gram kulhydrater"
|
|
277
313
|
|
|
278
314
|
#: src/components/Remeasure.tsx:38
|
|
279
315
|
msgid "hours"
|
|
@@ -283,6 +319,6 @@ msgstr "timer"
|
|
|
283
319
|
msgid "min"
|
|
284
320
|
msgstr "min"
|
|
285
321
|
|
|
286
|
-
#: src/RecommendationScreen.tsx:
|
|
322
|
+
#: src/RecommendationScreen.tsx:169
|
|
287
323
|
msgid "units"
|
|
288
324
|
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","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 dose greater than {0} units":function(a){return["Error. Hedia Calculator does not support an insulin dose 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.
|
|
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","Carbohydrates":"Carbohydrates","Close calculation":"Close calculation","Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.":"Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.","Entered":"Entered","Error. Hedia Calculator does not support an insulin dose greater than {0} units":function(a){return["Error. Hedia Calculator does not support an insulin dose 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 activity type value":"Error. Hedia Calculator does not support your activity type 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.":"More than 15 minutes has passed since this calculation was started.","NO":"NO","No":"No","No, return to dashboard":"No, return to dashboard","OFF":"OFF","OK":"OK","Please go through the calculation steps with new measurements to ensure a safe recommendation.":"Please go through the calculation steps with new measurements to ensure a safe recommendation.","Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?":function(a){return["Recommendation from ",a("day")," at ",a("time")," was not transfered to your logbook.",a("0"),"Did you use the recommendation?"]},"Recommended":"Recommended","Recommended amount of insulin":"Recommended amount of insulin","Remind me to remeasure in":"Remind me to remeasure in","Return to dashboard":"Return to dashboard","Save data before closing?":"Save data before closing?","Save to logbook":"Save to logbook","Start new calculation":"Start new calculation","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","Yes, save to logbook":"Yes, save to logbook","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.","grams":"grams","grams of carbohydrates":"grams of carbohydrates","hours":"hours","min":"min","units":"units"}};
|