@hedia/recommendation-screen 2.2.0-alpha.28 → 2.2.0-alpha.3

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.
Files changed (47) hide show
  1. package/dist/src/RecommendationScreen.d.ts +4 -18
  2. package/dist/src/RecommendationScreen.js +3 -3
  3. package/dist/src/components/ForecastInfoBar.d.ts +18 -15
  4. package/dist/src/components/ForecastInfoBar.js +38 -47
  5. package/dist/src/components/Header.d.ts +2 -2
  6. package/dist/src/components/RecommendedInsulin.d.ts +0 -3
  7. package/dist/src/components/RecommendedInsulin.js +4 -6
  8. package/dist/src/locale/da/messages.js +1 -1
  9. package/dist/src/locale/da/messages.po +7 -23
  10. package/dist/src/locale/de/messages.js +1 -1
  11. package/dist/src/locale/de/messages.po +7 -23
  12. package/dist/src/locale/en/messages.js +1 -1
  13. package/dist/src/locale/en/messages.po +7 -23
  14. package/dist/src/locale/es/messages.js +1 -1
  15. package/dist/src/locale/es/messages.po +7 -23
  16. package/dist/src/locale/fr/messages.js +1 -1
  17. package/dist/src/locale/fr/messages.po +7 -23
  18. package/dist/src/locale/it/messages.js +1 -1
  19. package/dist/src/locale/it/messages.po +7 -23
  20. package/dist/src/types/enum.d.ts +1 -2
  21. package/dist/src/types/enum.js +0 -1
  22. package/dist/src/utils/Constants.d.ts +0 -2
  23. package/dist/src/utils/Constants.js +0 -2
  24. package/dist/src/utils/RecommendationError.d.ts +0 -2
  25. package/dist/src/utils/RecommendationError.js +0 -2
  26. package/dist/src/utils/Validations.d.ts +1 -9
  27. package/dist/src/utils/Validations.js +2 -17
  28. package/package.json +18 -22
  29. /package/dist/src/assets/{activity → assets/activity}/Cyclist.png +0 -0
  30. /package/dist/src/assets/{activity → assets/activity}/Other.png +0 -0
  31. /package/dist/src/assets/{activity → assets/activity}/Runner.png +0 -0
  32. /package/dist/src/assets/{activity → assets/activity}/Swimmer.png +0 -0
  33. /package/dist/src/assets/{activity → assets/activity}/Walk.png +0 -0
  34. /package/dist/src/assets/{fonts → assets/fonts}/Poppins-Bold.ttf +0 -0
  35. /package/dist/src/assets/{fonts → assets/fonts}/Poppins-SemiBold.ttf +0 -0
  36. /package/dist/src/assets/{icons → assets/icons}/Edit.tsx +0 -0
  37. /package/dist/src/assets/{icons → assets/icons}/X.tsx +0 -0
  38. /package/dist/src/assets/{mood → assets/mood}/happy.png +0 -0
  39. /package/dist/src/assets/{mood → assets/mood}/happy_active.png +0 -0
  40. /package/dist/src/assets/{mood → assets/mood}/neutral.png +0 -0
  41. /package/dist/src/assets/{mood → assets/mood}/neutral_active.png +0 -0
  42. /package/dist/src/assets/{mood → assets/mood}/sad.png +0 -0
  43. /package/dist/src/assets/{mood → assets/mood}/sad_active.png +0 -0
  44. /package/dist/src/assets/{mood → assets/mood}/semi_happy.png +0 -0
  45. /package/dist/src/assets/{mood → assets/mood}/semi_happy_active.png +0 -0
  46. /package/dist/src/assets/{mood → assets/mood}/semi_sad.png +0 -0
  47. /package/dist/src/assets/{mood → assets/mood}/semi_sad_active.png +0 -0
@@ -10,20 +10,6 @@ export interface IResult {
10
10
  /** The actual amount (of insulin in units or carbohydrates in grams) */
11
11
  entered: number | null;
12
12
  }
13
- /** Represents forecast data */
14
- export interface IForecast {
15
- /** The forecasted glucose value to display. */
16
- forecastGlucoseMmoll: number;
17
- /** Forecasted time value to display. */
18
- forecastTimestamp: Date | string;
19
- }
20
- /** Represents CGM data */
21
- export interface ICGMReading {
22
- /** Latest CGM reading timestamp. */
23
- cgmTimestamp: Date | string;
24
- /** Latest CGM reading value to display. */
25
- latestCGMReadingMmoll: number;
26
- }
27
13
  export interface IRecommendationProps {
28
14
  /** The blood glucose measurement unit that the user prefers. */
29
15
  bloodGlucoseUnit: BloodGlucoseUnit;
@@ -43,10 +29,10 @@ export interface IRecommendationProps {
43
29
  latestLogbookFrom6Hours: Logbook.Types.ILogbookEntry | null;
44
30
  /** The properties of the entered activity that are not used for making the calculation itself, but will be used on the recommendation screen. */
45
31
  activityDisplayProps: IActivityDisplayProps | null;
46
- /** Forecast data received from the app */
47
- forecast?: IForecast;
48
- /** CGM data received from the app */
49
- cgm?: ICGMReading;
32
+ /** The forecasted glucose value to display. */
33
+ forecastedGlucose: string | null;
34
+ /** Forecasted time value to display. */
35
+ forecastedTime: string;
50
36
  /**
51
37
  * Callback function taking a single boolean argument and returning nothing.
52
38
  * To be called when the user decides on a presented carbohydrate recommendation.
@@ -460,7 +460,7 @@ export default class RecommendationScreen extends React.Component {
460
460
  const carbRecommendation = carbRecommendationProp !== null ? Math.round(carbRecommendationProp) : null;
461
461
  const recommendedCarbs = enteredCarbs ?? carbRecommendation;
462
462
  const isModalOpen = showExitModal || showLimitationMessage || showTimeoutModal;
463
- const { activityDisplayProps, bloodGlucoseUnit, bloodKetoneUnit, calculatorParams, cgm, currentBKL, injectionMethod, language, onRecentInsulinYes, forecast, } = this.props;
463
+ const { activityDisplayProps, bloodGlucoseUnit, bloodKetoneUnit, calculatorParams, currentBKL, injectionMethod, language, onRecentInsulinYes, forecastedGlucose, forecastedTime, } = this.props;
464
464
  const { activity, currentBGL, carbohydrates: providedCarbs } = calculatorParams;
465
465
  const displayedBGL = currentBGL ? Utils.displayedBGLValue(currentBGL, bloodGlucoseUnit) : null;
466
466
  const displayedBKL = currentBKL !== null && bloodKetoneUnit ? Utils.displayedBKLValue(currentBKL, bloodKetoneUnit) : null;
@@ -474,7 +474,7 @@ export default class RecommendationScreen extends React.Component {
474
474
  }}>
475
475
  <Header exitCallback={this.onExit}/>
476
476
  <InfoBars label={i18n._(t `Active Insulin`)} value={activeInsulin ? `${activeInsulin.toFixed(1)}` : null} unit={i18n._(t `units`)} showNullAsDash={false} testID={{ unitID: ActiveInsulinUnitTestID, valueID: ActiveInsulinValueTestID }}/>
477
- {forecast && cgm ? (<ForecastInfoBar label={i18n._(t `Forecasted Glucose`)} forecast={forecast} cgm={cgm} unit={bloodGlucoseUnit} testID={{ unitID: FGUnitTestID, valueID: FGValueTestID }}/>) : (<InfoBars label={i18n._(t `Blood Glucose Level`)} value={displayedBGL} unit={bloodGlucoseUnit} showNullAsDash={true} testID={{ unitID: BGUnitTestID, valueID: BGValueTestID }}/>)}
477
+ {forecastedGlucose ? (<ForecastInfoBar label={i18n._(t `Forecasted Glucose`)} value={forecastedGlucose} unit={bloodGlucoseUnit} forecastedTime={forecastedTime} testID={{ unitID: FGUnitTestID, valueID: FGValueTestID }}/>) : (<InfoBars label={i18n._(t `Blood Glucose Level`)} value={displayedBGL} unit={bloodGlucoseUnit} showNullAsDash={true} testID={{ unitID: BGUnitTestID, valueID: BGValueTestID }}/>)}
478
478
  <InfoBars label={i18n._(t `Blood Ketone Level`)} value={displayedBKL} unit={bloodKetoneUnit} showNullAsDash={true} testID={{ unitID: BKUnitTestID, valueID: BKValueTestID }}/>
479
479
  <View style={containerStyles.calcContainer}>
480
480
  <View style={containerStyles.calcMargin}>
@@ -485,7 +485,7 @@ export default class RecommendationScreen extends React.Component {
485
485
  </View>
486
486
  {activity && activityDisplayProps && (<Activity activity={activity} activityType={activityDisplayProps.activityType} activityTitle={activityDisplayProps.activityTitle} activityReduction={activityReduction}/>)}
487
487
  <Remeasure onSliderChange={this.updateRemeasureTime} remeasureTime={remeasureTime}/>
488
- {!isRecommendationDisplayed ? (<RecentInsulin onRecentInsulinYes={onRecentInsulinYes} onRecentInsulinNo={this.handleNoRecentInsulin}/>) : (<RecommendedInsulin injectionMethod={injectionMethod} insulinRecommendation={insulinRecommendation} enteredInsulin={enteredInsulin} activityReduction={activityReduction} updateRecommendedInsulin={this.updateInsulinRecommendation} forecast={forecast}/>)}
488
+ {!isRecommendationDisplayed ? (<RecentInsulin onRecentInsulinYes={onRecentInsulinYes} onRecentInsulinNo={this.handleNoRecentInsulin}/>) : (<RecommendedInsulin injectionMethod={injectionMethod} insulinRecommendation={insulinRecommendation} enteredInsulin={enteredInsulin} activityReduction={activityReduction} updateRecommendedInsulin={this.updateInsulinRecommendation}/>)}
489
489
  <Emotion moodSelected={this.handleMoodSelected} currentMood={selectedMood}/>
490
490
  <SaveButton visible={isRecommendationDisplayed} transfer={this.handleTransfer}/>
491
491
  <RecommendationModal isVisible={recommendationModal} suggestedCarbohydrates={carbRecommendationProp} attentionMessage={this.getBGLevelAttentionMessage()} limitationMessage={this.getLimitationAttentionMessage()} onClickOkButton={this.hideAttentionModal} onAcceptCarbohydrates={this.acceptCarbRecommendation} onDeclineCarbohydrates={this.declineCarbRecommendation}/>
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  import { BloodGlucoseUnit } from "@hedia/types";
3
- import { ICGMReading, IForecast } from "../RecommendationScreen";
2
+ import React from "react";
4
3
  import { Testing } from "../types/enum";
5
4
  export interface IProps {
6
5
  /** The display label that describes the value to the user. */
7
6
  label: string;
8
- /** The forecast value to display. */
9
- forecast: IForecast;
10
- /** The cgm value to display. */
11
- cgm: ICGMReading;
7
+ /** The value to display. */
8
+ value: string;
12
9
  /** Unit label to print after the value. */
13
10
  unit: BloodGlucoseUnit;
11
+ /** Forecasted time value to display. */
12
+ forecastedTime: string;
14
13
  /** optional object that contains as properties a valueID and a unitID */
15
14
  testID?: {
16
15
  valueID: Testing.Id.InfoBarTestIds.Value;
@@ -18,7 +17,18 @@ export interface IProps {
18
17
  };
19
18
  }
20
19
  /** A standard panel to display some data that the user entered. */
21
- declare const ForecastInfoBar: (props: IProps) => JSX.Element;
20
+ export default class ForecastInfoBar extends React.Component<IProps> {
21
+ /**
22
+ * Determine the unit string to be displayed in the infobar.
23
+ *
24
+ * @returns The string to display as the unit in the infobar
25
+ */
26
+ displayUnit: () => string;
27
+ /**
28
+ * @returns JSX element to display a card with the entered value.
29
+ */
30
+ render(): JSX.Element;
31
+ }
22
32
  /** @internal */
23
33
  export declare const infoStyles: {
24
34
  container: {
@@ -84,7 +94,7 @@ export declare const infoStyles: {
84
94
  forecastSubtitle: {
85
95
  flexDirection: "row";
86
96
  alignItems: "center";
87
- paddingTop: number;
97
+ paddingVertical: number;
88
98
  };
89
99
  forecastText: {
90
100
  color: string;
@@ -96,11 +106,4 @@ export declare const infoStyles: {
96
106
  lineHeight: number;
97
107
  marginLeft: number;
98
108
  };
99
- currentCGM: {
100
- fontSize: number;
101
- lineHeight: number;
102
- color: string;
103
- marginBottom: number;
104
- };
105
109
  };
106
- export default ForecastInfoBar;
@@ -8,57 +8,55 @@ import { Utils } from "../utils/Utils";
8
8
  import TextBold from "./text/TextBold";
9
9
  import TextRegular from "./text/TextRegular";
10
10
  /** A standard panel to display some data that the user entered. */
11
- const ForecastInfoBar = (props) => {
12
- const { testID, label, unit, cgm, forecast } = props;
11
+ export default class ForecastInfoBar extends React.Component {
13
12
  /**
14
13
  * Determine the unit string to be displayed in the infobar.
15
14
  *
16
15
  * @returns The string to display as the unit in the infobar
17
16
  */
18
- // tslint:disable-next-line: no-shadowed-variable
19
- const displayUnit = (unit) => Utils.formatUnit(unit);
20
- const { border, container, forecastDot, forecastSubtitle, forecastText, forecastTime, gradient, labelContainer, row, unitContainer, units, value, valueContainer, valueUnitContainer, } = infoStyles;
17
+ displayUnit = () => {
18
+ const { unit } = this.props;
19
+ return Utils.formatUnit(unit);
20
+ };
21
21
  /**
22
22
  * @returns JSX element to display a card with the entered value.
23
23
  */
24
- return (<View style={container}>
25
- <LinearGradient style={gradient} colors={[`#8B38F5`, `#D593E5`]} useAngle={true} angle={170}>
26
- <View style={border}>
27
- <View style={row}>
28
- <View style={labelContainer}>
29
- <TextBold style={infoStyles.label}>{label}</TextBold>
30
- </View>
31
- <View style={valueUnitContainer}>
32
- <View style={valueContainer}>
33
- <TextBold style={value} testID={testID?.valueID}>
34
- {forecast.forecastGlucoseMmoll}
35
- </TextBold>
24
+ render() {
25
+ const { forecastedTime, testID, label } = this.props;
26
+ const { border, container, forecastDot, forecastSubtitle, forecastText, forecastTime, gradient, labelContainer, row, unitContainer, units, value, valueContainer, valueUnitContainer, } = infoStyles;
27
+ return (<View style={container}>
28
+ <LinearGradient style={gradient} colors={[`#8B38F5`, `#D593E5`]} useAngle={true} angle={170}>
29
+ <View style={border}>
30
+ <View style={row}>
31
+ <View style={labelContainer}>
32
+ <TextBold style={infoStyles.label}>{label}</TextBold>
36
33
  </View>
37
- <View style={unitContainer}>
38
- <TextRegular style={units} testID={testID?.unitID}>
39
- {displayUnit(unit)}
40
- </TextRegular>
34
+ <View style={valueUnitContainer}>
35
+ <View style={valueContainer}>
36
+ <TextBold style={value} testID={testID?.valueID}>
37
+ {this.props.value}
38
+ </TextBold>
39
+ </View>
40
+ <View style={unitContainer}>
41
+ <TextRegular style={units} testID={testID?.unitID}>
42
+ {this.displayUnit()}
43
+ </TextRegular>
44
+ </View>
41
45
  </View>
42
46
  </View>
43
- </View>
44
47
 
45
- <View style={row}>
46
- <View style={forecastSubtitle}>
47
- <LinearGradient colors={[`#8B38F5`, `#D593E5`]} useAngle={true} angle={135} style={forecastDot}/>
48
- <TextRegular style={forecastText}>{i18n._(t `Forecast time:`)}</TextRegular>
49
- <TextRegular style={forecastTime}>{String(forecast.forecastTimestamp)}</TextRegular>
48
+ <View style={row}>
49
+ <View style={forecastSubtitle}>
50
+ <LinearGradient colors={[`#8B38F5`, `#D593E5`]} useAngle={true} angle={135} style={forecastDot}/>
51
+ <TextRegular style={forecastText}>{i18n._(t `Forecasted time:`)}</TextRegular>
52
+ <TextRegular style={forecastTime}>{forecastedTime}</TextRegular>
53
+ </View>
50
54
  </View>
51
55
  </View>
52
-
53
- <View style={row}>
54
- <TextRegular style={infoStyles.currentCGM}>
55
- {i18n._(t `Current glucose: ${cgm.latestCGMReadingMmoll} ${displayUnit(unit)}`)}
56
- </TextRegular>
57
- </View>
58
- </View>
59
- </LinearGradient>
60
- </View>);
61
- };
56
+ </LinearGradient>
57
+ </View>);
58
+ }
59
+ }
62
60
  const { width } = Dimensions.get(`screen`);
63
61
  /** @internal */
64
62
  export const infoStyles = StyleSheet.create({
@@ -70,10 +68,10 @@ export const infoStyles = StyleSheet.create({
70
68
  },
71
69
  gradient: {
72
70
  padding: 2,
73
- borderRadius: 5,
71
+ borderRadius: 11,
74
72
  },
75
73
  border: {
76
- borderRadius: 5,
74
+ borderRadius: 10,
77
75
  backgroundColor: colors.darkBlue,
78
76
  paddingTop: `2%`,
79
77
  paddingBottom: 0,
@@ -125,7 +123,7 @@ export const infoStyles = StyleSheet.create({
125
123
  forecastSubtitle: {
126
124
  flexDirection: `row`,
127
125
  alignItems: `center`,
128
- paddingTop: 5,
126
+ paddingVertical: 10,
129
127
  },
130
128
  forecastText: {
131
129
  color: colors.lightBlue,
@@ -137,11 +135,4 @@ export const infoStyles = StyleSheet.create({
137
135
  lineHeight: width / 28,
138
136
  marginLeft: width / 100,
139
137
  },
140
- currentCGM: {
141
- fontSize: 13,
142
- lineHeight: 34,
143
- color: colors.lightBlue,
144
- marginBottom: 5,
145
- },
146
138
  });
147
- export default ForecastInfoBar;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  export interface IProps {
3
3
  /** A callback that doesn’t take any arguments and doesn’t return a value to be called when the cancel-button is pressed. */
4
4
  exitCallback(): void;
5
5
  }
6
6
  /** Component to display a header text along with a cancel-button that triggers a callback function. */
7
- declare const Header: ({ exitCallback }: IProps) => JSX.Element;
7
+ declare const Header: React.FC<IProps>;
8
8
  export default Header;
@@ -1,6 +1,5 @@
1
1
  import { UserSettings } from "@hedia/types";
2
2
  import React from "react";
3
- import { IForecast } from "../RecommendationScreen";
4
3
  export interface IProps {
5
4
  /** The amount of insulin in units to display to the user as a recommendation. */
6
5
  insulinRecommendation: number;
@@ -14,8 +13,6 @@ export interface IProps {
14
13
  activityReduction: number | null;
15
14
  /** Used to determine how the insulin amount should be rounded. */
16
15
  injectionMethod: UserSettings.Enums.InjectionMethod;
17
- /** Used to show different text depending on different insulin ranges. */
18
- forecast?: IForecast;
19
16
  /**
20
17
  * Callback function taking a number as argument and giving no return value.
21
18
  * To be called with the new value every time the content of the insulin input field gets changed.
@@ -102,16 +102,14 @@ export default class RecommendedInsulin extends React.Component {
102
102
  * and using an InvisibleNumberInput component to enable input when the insulin amount is tapped.
103
103
  */
104
104
  render = () => {
105
- const { forecast, insulinRecommendation } = this.props;
106
- const shownInsulin = this.state.partialInput ?? insulinRecommendation ?? `0`;
105
+ const shownInsulin = this.state.partialInput ?? this.props.insulinRecommendation ?? `0`;
107
106
  const { container, editText, title, recommendedContainer, valueContainer, value, units, editButton } = styles;
108
- const titleText = forecast
109
- ? i18n._(t `Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose`)
110
- : i18n._(t `Recommended amount of rapid-acting insulin for immidiate injection`);
111
107
  return (<>
112
108
  <TouchableOpacity testID={RecommendedInsulinTestIds.EditRecommendedInsulin} onPress={this.handleOnPress}>
113
109
  <LinearGradient style={container} colors={[colors.purple, colors.blue]} useAngle={true} angle={315}>
114
- <TextBold style={title}>{titleText}</TextBold>
110
+ <TextBold style={title}>
111
+ {i18n._(t `Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose`)}
112
+ </TextBold>
115
113
  <View style={recommendedContainer}>
116
114
  <View style={valueContainer}>
117
115
  <TextBold style={value} testID={RecommendedInsulinTestIds.ShownInsulinText}>
@@ -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":"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.","Current glucose: {0} mmol/L":function(a){return["Current glucose: ",a("0")," mmol/L"]},"Current glucose: {0} {1}":function(a){return["Current glucose: ",a("0")," ",a("1")]},"Edit":"Edit","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.","Error. Your forecasted cgm glucose is very low.":"Error. Your forecasted cgm glucose is very low.","Food":"Mad","Forecast time:":"Forecast time:","Forecasted Glucose":"Forecasted Glucose","Hard":"H\xE5rd","Have you taken rapid-acting insulin within the last 4 hours?":"Have you taken rapid-acting insulin within the last 4 hours?","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?","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","Insulin recommendation":"Insulin anbefaling","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 rapid-acting insulin for immidiate injection":"Recommended amount of rapid-acting insulin for immidiate injection","Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose":"Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose","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","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"}};
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.","Edit":"Edit","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","Forecasted Glucose":"Forecasted Glucose","Forecasted time:":"Forecasted time:","Hard":"H\xE5rd","Have you taken rapid-acting insulin within the last 4 hours?":"Have you taken rapid-acting insulin within the last 4 hours?","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?","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","Insulin recommendation":"Insulin anbefaling","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 rapid-acting insulin for immidiate injection based on forecasted glucose":"Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose","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","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"}};
@@ -56,15 +56,7 @@ msgstr "Luk beregning"
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 blodsukker ligger udenfor de anbefalede grænser for blodsukker før en aktivitet. Du bør overveje at udskyde fysisk aktivitet."
58
58
 
59
- #: src/__tests__/components/ForecastInfoBar.test.tsx:23
60
- msgid "Current glucose: {0} mmol/L"
61
- msgstr ""
62
-
63
- #: src/components/ForecastInfoBar.tsx:55
64
- msgid "Current glucose: {0} {1}"
65
- msgstr ""
66
-
67
- #: src/components/RecommendedInsulin.tsx:110
59
+ #: src/components/RecommendedInsulin.tsx:108
68
60
  msgid "Edit"
69
61
  msgstr ""
70
62
 
@@ -152,22 +144,18 @@ msgstr "Ups! Gå venligst til indstillinger for notifikationer og bekræft at no
152
144
  msgid "Error. Your blood ketone settings are invalid."
153
145
  msgstr ""
154
146
 
155
- #: src/utils/RecommendationError.tsx:64
156
- msgid "Error. Your forecasted cgm glucose is very low."
157
- msgstr ""
158
-
159
147
  #: src/components/RecommendedCarbs.tsx:167
160
148
  msgid "Food"
161
149
  msgstr "Mad"
162
150
 
163
- #: src/components/ForecastInfoBar.tsx:48
164
- msgid "Forecast time:"
165
- msgstr ""
166
-
167
151
  #: src/RecommendationScreen.tsx:454
168
152
  msgid "Forecasted Glucose"
169
153
  msgstr ""
170
154
 
155
+ #: src/components/ForecastInfoBar.tsx:54
156
+ msgid "Forecasted time:"
157
+ msgstr ""
158
+
171
159
  #: src/utils/Translations.ts:13
172
160
  msgid "Hard"
173
161
  msgstr "Hård"
@@ -256,11 +244,7 @@ msgstr "Hedia's anbefaling fra {day} kl. {time} blev ikke overført til din logb
256
244
  msgid "Recommended"
257
245
  msgstr "Anbefalet"
258
246
 
259
- #: src/components/RecommendedInsulin.tsx:96
260
- msgid "Recommended amount of rapid-acting insulin for immidiate injection"
261
- msgstr ""
262
-
263
- #: src/components/RecommendedInsulin.tsx:95
247
+ #: src/components/RecommendedInsulin.tsx:97
264
248
  msgid "Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose"
265
249
  msgstr ""
266
250
 
@@ -289,7 +273,7 @@ msgstr "Start ny beregning"
289
273
  msgid "Total"
290
274
  msgstr "Sum"
291
275
 
292
- #: src/components/RecommendedInsulin.tsx:106
276
+ #: src/components/RecommendedInsulin.tsx:104
293
277
  msgid "Units"
294
278
  msgstr "Enheder"
295
279
 
@@ -1 +1 @@
1
- /* eslint-disable */module.exports={languageData:{"plurals":function(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return"other";return n==1&&v0?"one":"other"}},messages:{"Active Insulin":"Aktives Insulin","Activity":"Aktivit\xE4t","Additional":"Zus\xE4tzlich","Attention":"Achtung","Based on the selected activity your insulin recommendation is reduced by:":"Aufgrund der gew\xE4hlten Aktivit\xE4t wird Ihre Insulinempfehlung reduziert um:","Blood Glucose Level":"Blutzucker","Blood Ketone Level":"Blutketonspiegel","Carbohydrates":"Kohlenhydrate","Close calculation":"Berechnung schlie\xDFen","Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.":"Bet\xE4tigen Sie sich erst dann k\xF6rperlich, wenn Ihr Blutzucker vor der k\xF6rperlichen Aktivit\xE4t innerhalb des empfohlenen Wertebereichs liegt.","Current glucose: {0} mmol/L":function(a){return["Current glucose: ",a("0")," mmol/L"]},"Current glucose: {0} {1}":function(a){return["Current glucose: ",a("0")," ",a("1")]},"Edit":"Edit","Entered":"Eingegeben","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["Fehler. Der Hedia-Rechner unterst\xFCtzt keine Insulindosis, die mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten hat."]},"Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours":"Fehler. Der Hedia-Rechner unterst\xFCtzt keine Insulinempfehlungen mit Boli, die \xE4lter als 4 Stunden sind.","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":"Fehler. Der Hedia-Rechner unterst\xFCtzt den Wert Ihrer Aktivit\xE4tsintensit\xE4t nicht.","Error. Hedia Calculator does not support your activity type value":"Fehler. Der Hedia-Rechner unterst\xFCtzt den Wert des Aktivit\xE4tstyps nicht.","Error. Hedia Calculator does not support your current blood glucose level.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihren aktuellen Blutzucker nicht.","Error. Hedia Calculator does not support your current blood glucose unit.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre aktuelle Blutzuckereinheit nicht.","Error. Hedia Calculator does not support your current blood ketone level.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihren aktuellen Blutketonspiegel nicht.","Error. Hedia Calculator does not support your current blood ketone unit.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre aktuelle Messeinheit f\xFCr Blutketone nicht.","Error. Hedia Calculator does not support your current language.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre aktuelle Spracheinstellung nicht.","Error. Hedia Calculator does not support your injection method.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre Injektionsmethode nicht.","Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.":"Fehler. Der Hedia-Rechner unterst\xFCtzt nur Aktivit\xE4ten mit einer Dauer von maximal 60 Minuten.","Error. Please verify that your activity settings are set up correctly.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihre Aktivit\xE4tseinstellungen korrekt eingestellt sind.","Error. Please verify that your activity target blood glucose value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihr gew\xFCnschter Blutzuckerwert f\xFCr Aktivit\xE4ten korrekt ist.","Error. Please verify that your insulin sensitivity value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihr Insulinintensit\xE4tswert korrekt ist.","Error. Please verify that your insulin to carb ratio value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob der Wert von Ihrem Insulin-Kohlenhydrat-Verh\xE4ltnis korrekt ist.","Error. Please verify that your target blood glucose value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihr gew\xFCnschter Blutzuckerwert korrekt ist.","Error. Please verify your notifications settings.":"Fehler. Bitte \xFCberpr\xFCfen Sie Ihre Benachrichtigungseinstellungen.","Error. Your blood ketone settings are invalid.":"Error. Your blood ketone settings are invalid.","Error. Your forecasted cgm glucose is very low.":"Error. Your forecasted cgm glucose is very low.","Food":"Lebensmittel","Forecast time:":"Forecast time:","Forecasted Glucose":"Forecasted Glucose","Hard":"Hart","Have you taken rapid-acting insulin within the last 4 hours?":"Have you taken rapid-acting insulin within the last 4 hours?","Hedia Calculator does not support activities that finished more than 4 hours ago.":"Der Hedia-Rechner unterst\xFCtzt keine Aktivit\xE4ten, die vor \xFCber 4 Stunden beendet wurden.","Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.":"Der Hedia-Rechner unterst\xFCtzt keine Insulinempfehlungen, die mehr als 300 Gramm Kohlenhydrate enthalten.","Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia unterst\xFCtzt nicht mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung."]},"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 unterst\xFCtzt nicht mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen k\xF6rperlichen Aktivit\xE4t wurden sie bei dieser Berechnung um ",a("0"),"% auf ",a("1")," Einheiten weiter reduziert."]},"How are you feeling?":"Wie f\xFChlen Sie sich?","If it is possible, postpone your planned exercise.":"Wenn m\xF6glich, verschieben Sie Ihr geplantes Training.","Instead of taking insulin":"Statt der Einnahme von Insulin","Insulin recommendation":"Insulin empfehlung","Light":"Leicht","Moderate":"Moderat","More than 15 minutes has passed since this calculation was started.":"Seit Beginn dieser Berechnung sind mehr als 15 Minuten vergangen.","NO":"NEIN","No":"Nein","No, return to dashboard":"Nein, zur\xFCck zum Dashboard","OFF":"AUS","OK":"OK","Please go through the calculation steps with new measurements to ensure a safe recommendation.":"Bitte f\xFChren Sie die Berechnungsschritte mit neuen Messungen durch, um eine sichere Empfehlung zu erstellen.","Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?":function(a){return["Die Empfehlung von ",a("day")," um ",a("time")," wurden nicht in Ihr Tagebuch eingetragen.",a("0"),"Haben Sie sich an die Empfehlung gehalten?"]},"Recommended":"Empfohlen","Recommended amount of rapid-acting insulin for immidiate injection":"Recommended amount of rapid-acting insulin for immidiate injection","Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose":"Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose","Remind me to remeasure in":"Ich w\xFCnsche eine Erinnerung an eine erneute Messung in","Return to dashboard":"Zur\xFCck zum Dashboard","Save data before closing?":"\xC4nderungen vor dem Schlie\xDFen speichern?","Save to logbook":"Im Tagebuch speichern","Start new calculation":"Neue Berechnung starten","Total":"Gesamt","Units":"Einheiten","Untitled Activity":"Unbenannte Aktivit\xE4t","We recommend eating an additional:":"Wir empfehlen Ihnen, zus\xE4tzlich Folgendes zu essen:","Would you like to add this to your current calculation?":"M\xF6chten Sie dies zu Ihrer aktuellen Berechnung hinzuf\xFCgen?","Yes":"Ja","Yes, save to logbook":"Ja, im Tagebuch speichern","You have a high blood glucose level.":"Sie haben einen hohen Blutzucker.","You should take rapid-acting insulin and measure ketones.":"Sie sollten schnell wirkendes Insulin einnehmen und die Ketone messen.","You will be reminded to measure your blood glucose level in 15 min.":"Bitte messen Sie Ihren Blutzucker in 15 Minuten.","Your blood glucose level is very low.":"Ihr Blutzucker ist sehr niedrig.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Ihr Blutzucker ist sehr niedrig. Nehmen Sie Glucagon ein oder essen Sie, wenn m\xF6glich, Kohlenhydrate. Suchen Sie einen Arzt auf.","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["Ihre Empfehlung w\xE4re h\xF6her als ",a("0")," Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgr\xFCnden begrenzt.",a("1")," Hedia empfiehlt nie mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen k\xF6rperlichen Aktivit\xE4t wurden sie um ",a("2"),"% auf ",a("3")," weiter reduziert."]},"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["Ihre Empfehlung w\xE4re h\xF6her als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgr\xFCnden begrenzt. Hedia empfiehlt nie mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung."]},"Your saved data will be used for future calculations.":"Ihre gespeicherten Daten werden f\xFCr zuk\xFCnftige Berechnungen verwendet.","grams":"Gramm","grams of carbohydrates":"Gramm Kohlenhydrate","hours":"Stunden","min":"Minuten","units":"Einheiten"}};
1
+ /* eslint-disable */module.exports={languageData:{"plurals":function(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return"other";return n==1&&v0?"one":"other"}},messages:{"Active Insulin":"Aktives Insulin","Activity":"Aktivit\xE4t","Additional":"Zus\xE4tzlich","Attention":"Achtung","Based on the selected activity your insulin recommendation is reduced by:":"Aufgrund der gew\xE4hlten Aktivit\xE4t wird Ihre Insulinempfehlung reduziert um:","Blood Glucose Level":"Blutzucker","Blood Ketone Level":"Blutketonspiegel","Carbohydrates":"Kohlenhydrate","Close calculation":"Berechnung schlie\xDFen","Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity.":"Bet\xE4tigen Sie sich erst dann k\xF6rperlich, wenn Ihr Blutzucker vor der k\xF6rperlichen Aktivit\xE4t innerhalb des empfohlenen Wertebereichs liegt.","Edit":"Edit","Entered":"Eingegeben","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["Fehler. Der Hedia-Rechner unterst\xFCtzt keine Insulindosis, die mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten hat."]},"Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours":"Fehler. Der Hedia-Rechner unterst\xFCtzt keine Insulinempfehlungen mit Boli, die \xE4lter als 4 Stunden sind.","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":"Fehler. Der Hedia-Rechner unterst\xFCtzt den Wert Ihrer Aktivit\xE4tsintensit\xE4t nicht.","Error. Hedia Calculator does not support your activity type value":"Fehler. Der Hedia-Rechner unterst\xFCtzt den Wert des Aktivit\xE4tstyps nicht.","Error. Hedia Calculator does not support your current blood glucose level.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihren aktuellen Blutzucker nicht.","Error. Hedia Calculator does not support your current blood glucose unit.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre aktuelle Blutzuckereinheit nicht.","Error. Hedia Calculator does not support your current blood ketone level.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihren aktuellen Blutketonspiegel nicht.","Error. Hedia Calculator does not support your current blood ketone unit.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre aktuelle Messeinheit f\xFCr Blutketone nicht.","Error. Hedia Calculator does not support your current language.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre aktuelle Spracheinstellung nicht.","Error. Hedia Calculator does not support your injection method.":"Fehler. Der Hedia-Rechner unterst\xFCtzt Ihre Injektionsmethode nicht.","Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes.":"Fehler. Der Hedia-Rechner unterst\xFCtzt nur Aktivit\xE4ten mit einer Dauer von maximal 60 Minuten.","Error. Please verify that your activity settings are set up correctly.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihre Aktivit\xE4tseinstellungen korrekt eingestellt sind.","Error. Please verify that your activity target blood glucose value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihr gew\xFCnschter Blutzuckerwert f\xFCr Aktivit\xE4ten korrekt ist.","Error. Please verify that your insulin sensitivity value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihr Insulinintensit\xE4tswert korrekt ist.","Error. Please verify that your insulin to carb ratio value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob der Wert von Ihrem Insulin-Kohlenhydrat-Verh\xE4ltnis korrekt ist.","Error. Please verify that your target blood glucose value is correct.":"Fehler. Bitte \xFCberpr\xFCfen Sie, ob Ihr gew\xFCnschter Blutzuckerwert korrekt ist.","Error. Please verify your notifications settings.":"Fehler. Bitte \xFCberpr\xFCfen Sie Ihre Benachrichtigungseinstellungen.","Error. Your blood ketone settings are invalid.":"Error. Your blood ketone settings are invalid.","Food":"Lebensmittel","Forecasted Glucose":"Forecasted Glucose","Forecasted time:":"Forecasted time:","Hard":"Hart","Have you taken rapid-acting insulin within the last 4 hours?":"Have you taken rapid-acting insulin within the last 4 hours?","Hedia Calculator does not support activities that finished more than 4 hours ago.":"Der Hedia-Rechner unterst\xFCtzt keine Aktivit\xE4ten, die vor \xFCber 4 Stunden beendet wurden.","Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.":"Der Hedia-Rechner unterst\xFCtzt keine Insulinempfehlungen, die mehr als 300 Gramm Kohlenhydrate enthalten.","Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia unterst\xFCtzt nicht mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung."]},"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 unterst\xFCtzt nicht mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen k\xF6rperlichen Aktivit\xE4t wurden sie bei dieser Berechnung um ",a("0"),"% auf ",a("1")," Einheiten weiter reduziert."]},"How are you feeling?":"Wie f\xFChlen Sie sich?","If it is possible, postpone your planned exercise.":"Wenn m\xF6glich, verschieben Sie Ihr geplantes Training.","Instead of taking insulin":"Statt der Einnahme von Insulin","Insulin recommendation":"Insulin empfehlung","Light":"Leicht","Moderate":"Moderat","More than 15 minutes has passed since this calculation was started.":"Seit Beginn dieser Berechnung sind mehr als 15 Minuten vergangen.","NO":"NEIN","No":"Nein","No, return to dashboard":"Nein, zur\xFCck zum Dashboard","OFF":"AUS","OK":"OK","Please go through the calculation steps with new measurements to ensure a safe recommendation.":"Bitte f\xFChren Sie die Berechnungsschritte mit neuen Messungen durch, um eine sichere Empfehlung zu erstellen.","Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?":function(a){return["Die Empfehlung von ",a("day")," um ",a("time")," wurden nicht in Ihr Tagebuch eingetragen.",a("0"),"Haben Sie sich an die Empfehlung gehalten?"]},"Recommended":"Empfohlen","Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose":"Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose","Remind me to remeasure in":"Ich w\xFCnsche eine Erinnerung an eine erneute Messung in","Return to dashboard":"Zur\xFCck zum Dashboard","Save data before closing?":"\xC4nderungen vor dem Schlie\xDFen speichern?","Save to logbook":"Im Tagebuch speichern","Start new calculation":"Neue Berechnung starten","Total":"Gesamt","Units":"Einheiten","Untitled Activity":"Unbenannte Aktivit\xE4t","We recommend eating an additional:":"Wir empfehlen Ihnen, zus\xE4tzlich Folgendes zu essen:","Would you like to add this to your current calculation?":"M\xF6chten Sie dies zu Ihrer aktuellen Berechnung hinzuf\xFCgen?","Yes":"Ja","Yes, save to logbook":"Ja, im Tagebuch speichern","You have a high blood glucose level.":"Sie haben einen hohen Blutzucker.","You should take rapid-acting insulin and measure ketones.":"Sie sollten schnell wirkendes Insulin einnehmen und die Ketone messen.","You will be reminded to measure your blood glucose level in 15 min.":"Bitte messen Sie Ihren Blutzucker in 15 Minuten.","Your blood glucose level is very low.":"Ihr Blutzucker ist sehr niedrig.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Ihr Blutzucker ist sehr niedrig. Nehmen Sie Glucagon ein oder essen Sie, wenn m\xF6glich, Kohlenhydrate. Suchen Sie einen Arzt auf.","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["Ihre Empfehlung w\xE4re h\xF6her als ",a("0")," Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgr\xFCnden begrenzt.",a("1")," Hedia empfiehlt nie mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung, aber aufgrund der von Ihnen eingegebenen k\xF6rperlichen Aktivit\xE4t wurden sie um ",a("2"),"% auf ",a("3")," weiter reduziert."]},"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["Ihre Empfehlung w\xE4re h\xF6her als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin gewesen, aber sie wurde aus Sicherheitsgr\xFCnden begrenzt. Hedia empfiehlt nie mehr als ",a("SAFETY_INSULIN_LIMIT")," Einheiten Insulin pro Berechnung."]},"Your saved data will be used for future calculations.":"Ihre gespeicherten Daten werden f\xFCr zuk\xFCnftige Berechnungen verwendet.","grams":"Gramm","grams of carbohydrates":"Gramm Kohlenhydrate","hours":"Stunden","min":"Minuten","units":"Einheiten"}};
@@ -56,15 +56,7 @@ msgstr "Berechnung schließen"
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 "Betätigen Sie sich erst dann körperlich, wenn Ihr Blutzucker vor der körperlichen Aktivität innerhalb des empfohlenen Wertebereichs liegt."
58
58
 
59
- #: src/__tests__/components/ForecastInfoBar.test.tsx:23
60
- msgid "Current glucose: {0} mmol/L"
61
- msgstr ""
62
-
63
- #: src/components/ForecastInfoBar.tsx:55
64
- msgid "Current glucose: {0} {1}"
65
- msgstr ""
66
-
67
- #: src/components/RecommendedInsulin.tsx:110
59
+ #: src/components/RecommendedInsulin.tsx:108
68
60
  msgid "Edit"
69
61
  msgstr ""
70
62
 
@@ -152,22 +144,18 @@ msgstr "Fehler. Bitte überprüfen Sie Ihre Benachrichtigungseinstellungen."
152
144
  msgid "Error. Your blood ketone settings are invalid."
153
145
  msgstr ""
154
146
 
155
- #: src/utils/RecommendationError.tsx:64
156
- msgid "Error. Your forecasted cgm glucose is very low."
157
- msgstr ""
158
-
159
147
  #: src/components/RecommendedCarbs.tsx:167
160
148
  msgid "Food"
161
149
  msgstr "Lebensmittel"
162
150
 
163
- #: src/components/ForecastInfoBar.tsx:48
164
- msgid "Forecast time:"
165
- msgstr ""
166
-
167
151
  #: src/RecommendationScreen.tsx:454
168
152
  msgid "Forecasted Glucose"
169
153
  msgstr ""
170
154
 
155
+ #: src/components/ForecastInfoBar.tsx:54
156
+ msgid "Forecasted time:"
157
+ msgstr ""
158
+
171
159
  #: src/utils/Translations.ts:13
172
160
  msgid "Hard"
173
161
  msgstr "Hart"
@@ -256,11 +244,7 @@ msgstr "Die Empfehlung von {day} um {time} wurden nicht in Ihr Tagebuch eingetra
256
244
  msgid "Recommended"
257
245
  msgstr "Empfohlen"
258
246
 
259
- #: src/components/RecommendedInsulin.tsx:96
260
- msgid "Recommended amount of rapid-acting insulin for immidiate injection"
261
- msgstr ""
262
-
263
- #: src/components/RecommendedInsulin.tsx:95
247
+ #: src/components/RecommendedInsulin.tsx:97
264
248
  msgid "Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose"
265
249
  msgstr ""
266
250
 
@@ -289,7 +273,7 @@ msgstr "Neue Berechnung starten"
289
273
  msgid "Total"
290
274
  msgstr "Gesamt"
291
275
 
292
- #: src/components/RecommendedInsulin.tsx:106
276
+ #: src/components/RecommendedInsulin.tsx:104
293
277
  msgid "Units"
294
278
  msgstr "Einheiten"
295
279
 
@@ -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","Blood Ketone Level":"Blood ketone 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 is within the recommended ranges prior to physical activity.","Current glucose: {0} mmol/L":function(a){return["Current glucose: ",a("0")," mmol/L"]},"Current glucose: {0} {1}":function(a){return["Current glucose: ",a("0")," ",a("1")]},"Edit":"Edit","Entered":"Entered","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["Error. Hedia Calculator does not support an insulin dose greater than ",a("SAFETY_INSULIN_LIMIT")," 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 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":"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.","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 blood ketone level.":"Error. Hedia Calculator does not support your current blood ketone level.","Error. Hedia Calculator does not support your current blood ketone unit.":"Error. Hedia Calculator does not support your current blood ketone 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 desired blood glucose during activity 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 is correct.","Error. Please verify your notifications settings.":"Error. Please verify your notifications settings.","Error. Your blood ketone settings are invalid.":"Error. Your blood ketone settings are invalid.","Error. Your forecasted cgm glucose is very low.":"Error. Your forecasted cgm glucose is very low.","Food":"Food","Forecast time:":"Forecast time:","Forecasted Glucose":"Forecasted Glucose","Hard":"Hard","Have you taken rapid-acting insulin within the last 4 hours?":"Have you taken rapid-acting 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 {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia does not support more than ",a("SAFETY_INSULIN_LIMIT")," units of insulin per calculation."]},"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 doesn't support more than ",a("SAFETY_INSULIN_LIMIT")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("0"),"% to ",a("1")," units for this calculation."]},"How are you feeling?":"How are you feeling?","If it is possible, postpone your planned exercise.":"If it is possible, postpone your planned exercise.","Instead of taking insulin":"Instead of taking insulin","Insulin recommendation":"Insulin recommendation","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 rapid-acting insulin for immidiate injection":"Recommended amount of rapid-acting insulin for immidiate injection","Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose":"Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose","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","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 high blood glucose.","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 in 15 min.","Your blood glucose level is very low.":"Your blood glucose is very low.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Your blood glucose 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.{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["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("SAFETY_INSULIN_LIMIT")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("2"),"% to ",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["Your recommendation would have been higher than ",a("SAFETY_INSULIN_LIMIT")," units of insulin, but it has been limited for safety reasons. Hedia never recommends more than ",a("SAFETY_INSULIN_LIMIT")," units of insulin per calculation."]},"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"}};
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","Blood Ketone Level":"Blood ketone 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 is within the recommended ranges prior to physical activity.","Edit":"Edit","Entered":"Entered","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["Error. Hedia Calculator does not support an insulin dose greater than ",a("SAFETY_INSULIN_LIMIT")," 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 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":"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.","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 blood ketone level.":"Error. Hedia Calculator does not support your current blood ketone level.","Error. Hedia Calculator does not support your current blood ketone unit.":"Error. Hedia Calculator does not support your current blood ketone 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 desired blood glucose during activity 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 is correct.","Error. Please verify your notifications settings.":"Error. Please verify your notifications settings.","Error. Your blood ketone settings are invalid.":"Error. Your blood ketone settings are invalid.","Food":"Food","Forecasted Glucose":"Forecasted Glucose","Forecasted time:":"Forecasted time:","Hard":"Hard","Have you taken rapid-acting insulin within the last 4 hours?":"Have you taken rapid-acting 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 {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia does not support more than ",a("SAFETY_INSULIN_LIMIT")," units of insulin per calculation."]},"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 doesn't support more than ",a("SAFETY_INSULIN_LIMIT")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("0"),"% to ",a("1")," units for this calculation."]},"How are you feeling?":"How are you feeling?","If it is possible, postpone your planned exercise.":"If it is possible, postpone your planned exercise.","Instead of taking insulin":"Instead of taking insulin","Insulin recommendation":"Insulin recommendation","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 rapid-acting insulin for immidiate injection based on forecasted glucose":"Recommended amount of rapid-acting insulin for immidiate injection based on forecasted glucose","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","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 high blood glucose.","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 in 15 min.","Your blood glucose level is very low.":"Your blood glucose is very low.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Your blood glucose 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.{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["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("SAFETY_INSULIN_LIMIT")," units of insulin per calculation, but because of the physical activity you entered it has been further reduced by ",a("2"),"% to ",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["Your recommendation would have been higher than ",a("SAFETY_INSULIN_LIMIT")," units of insulin, but it has been limited for safety reasons. Hedia never recommends more than ",a("SAFETY_INSULIN_LIMIT")," units of insulin per calculation."]},"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"}};