@hedia/recommendation-screen 2.1.0 → 2.1.2

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 (70) hide show
  1. package/coverage/clover.xml +378 -367
  2. package/coverage/coverage-final.json +18 -18
  3. package/coverage/lcov-report/index.html +15 -15
  4. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +112 -67
  5. package/coverage/lcov-report/src/__tests__/index.html +1 -1
  6. package/coverage/lcov-report/src/__tests__/utils.tsx.html +11 -11
  7. package/coverage/lcov-report/src/components/Header.tsx.html +2 -2
  8. package/coverage/lcov-report/src/components/InfoBars.tsx.html +49 -19
  9. package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/LineSeparator.tsx.html +2 -2
  12. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +17 -17
  14. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +13 -13
  15. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +11 -11
  16. package/coverage/lcov-report/src/components/Remeasure.tsx.html +12 -12
  17. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +5 -5
  18. package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/activity/Activity.tsx.html +1 -1
  20. package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +1 -1
  22. package/coverage/lcov-report/src/components/activity/index.html +1 -1
  23. package/coverage/lcov-report/src/components/index.html +7 -7
  24. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +8 -8
  25. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +8 -8
  26. package/coverage/lcov-report/src/components/mood/index.html +1 -1
  27. package/coverage/lcov-report/src/index.html +7 -7
  28. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +5 -5
  29. package/coverage/lcov-report/src/locale/index.html +1 -1
  30. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +5 -5
  31. package/coverage/lcov-report/src/utils/Constants.ts.html +1 -1
  32. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +41 -8
  33. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +33 -33
  34. package/coverage/lcov-report/src/utils/Translations.ts.html +1 -1
  35. package/coverage/lcov-report/src/utils/Utils.ts.html +23 -17
  36. package/coverage/lcov-report/src/utils/Validations.ts.html +77 -50
  37. package/coverage/lcov-report/src/utils/index.html +12 -12
  38. package/coverage/lcov.info +821 -794
  39. package/ios/Podfile.lock +1 -1
  40. package/package.json +6 -5
  41. package/src/RecommendationScreen.d.ts +2 -2
  42. package/src/RecommendationScreen.jsx +8 -5
  43. package/src/__tests__/RecommendationScreen.test.jsx +44 -25
  44. package/src/__tests__/Validations.test.js +18 -0
  45. package/src/components/InfoBars.d.ts +7 -2
  46. package/src/components/InfoBars.jsx +11 -3
  47. package/src/locale/da/messages.js +1 -1
  48. package/src/locale/da/messages.po +31 -27
  49. package/src/locale/de/messages.js +1 -1
  50. package/src/locale/de/messages.po +31 -27
  51. package/src/locale/en/messages.js +1 -1
  52. package/src/locale/en/messages.po +31 -27
  53. package/src/locale/es/messages.js +1 -1
  54. package/src/locale/es/messages.po +31 -27
  55. package/src/locale/fr/messages.js +1 -1
  56. package/src/locale/fr/messages.po +31 -27
  57. package/src/locale/it/messages.js +1 -1
  58. package/src/locale/it/messages.po +31 -27
  59. package/src/types/enum.d.ts +20 -2
  60. package/src/types/enum.js +23 -1
  61. package/src/utils/RecommendationError.d.ts +1 -0
  62. package/src/utils/RecommendationError.jsx +3 -1
  63. package/src/utils/RecommendationUtils.d.ts +1 -1
  64. package/src/utils/Utils.d.ts +2 -2
  65. package/src/utils/Utils.js +2 -2
  66. package/src/utils/Validations.d.ts +4 -3
  67. package/src/utils/Validations.js +13 -4
  68. package/App.d.ts +0 -27
  69. package/App.jsx +0 -98
  70. package/app.json +0 -4
package/ios/Podfile.lock CHANGED
@@ -471,4 +471,4 @@ SPEC CHECKSUMS:
471
471
 
472
472
  PODFILE CHECKSUM: 3215c12293cb7ac3f4e9ab5a94a4f0e6bc248a46
473
473
 
474
- COCOAPODS: 1.9.3
474
+ COCOAPODS: 1.10.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,9 +18,9 @@
18
18
  "prepublish": "npm run lint && npm run lint-pkg && npm run test-coverage && npm run tsc",
19
19
  "add-locale": "lingui add-locale",
20
20
  "extract": "lingui extract",
21
+ "extract-clean": "lingui extract --clean",
21
22
  "compile": "npm run cleanLanguage && lingui compile",
22
- "cleanLanguage": "node ./src/locale/CleanLanguage.ts",
23
- "upgrade": "npm i --save-exact @hedia/types@latest @hedia/recommendation-calculator@latest"
23
+ "cleanLanguage": "node ./src/locale/CleanLanguage.ts"
24
24
  },
25
25
  "keywords": [
26
26
  "Hedia",
@@ -35,11 +35,12 @@
35
35
  "devDependencies": {
36
36
  "@babel/core": "7.10.3",
37
37
  "@babel/plugin-proposal-decorators": "7.8.3",
38
+ "@babel/plugin-transform-typescript": "7.13.0",
38
39
  "@babel/preset-env": "7.10.2",
39
40
  "@babel/preset-react": "7.10.1",
40
41
  "@babel/preset-typescript": "7.10.1",
41
- "@hedia/recommendation-calculator": "2.0.1",
42
- "@hedia/types": "2.1.9",
42
+ "@hedia/recommendation-calculator": "2.0.3",
43
+ "@hedia/types": "2.1.14",
43
44
  "@lingui/babel-preset-react": "2.9.1",
44
45
  "@lingui/cli": "2.9.1",
45
46
  "@lingui/macro": "2.9.1",
@@ -13,8 +13,8 @@ export interface IRecommendationProps {
13
13
  userReminder: number;
14
14
  calculatorParams: IRecommendationParams;
15
15
  injectionMethod: UserSettings.Enums.InjectionMethod;
16
- currentBKL: number;
17
- bloodKetoneUnit: BloodKetonesUnit;
16
+ currentBKL: number | null;
17
+ bloodKetoneUnit: BloodKetonesUnit | null;
18
18
  latestLogbookFrom6Hours: logbookEntry | null;
19
19
  activityDisplayProps: IActivityDisplayProps | null;
20
20
  carbRecommendationAnswer(carbRecommendationAnswer: boolean): void;
@@ -42,6 +42,7 @@ const LimitationMessage_1 = __importDefault(require("./components/LimitationMess
42
42
  const RecommendationModal_1 = __importDefault(require("./components/RecommendationModal"));
43
43
  const TwoOptionModal_1 = __importStar(require("./components/TwoOptionModal"));
44
44
  const i18nUtils_1 = require("./locale/i18nUtils");
45
+ const enum_1 = require("./types/enum");
45
46
  const AttentionMessages_1 = require("./utils/AttentionMessages");
46
47
  const RecommendationUtils_1 = require("./utils/RecommendationUtils");
47
48
  const Utils_1 = require("./utils/Utils");
@@ -202,12 +203,14 @@ class RecommendationScreen extends react_1.default.Component {
202
203
  return <react_native_1.View style={containerStyles.container}/>;
203
204
  }
204
205
  const { activeInsulin, recommendationModal, carbRecommendation: carbRecommendationProp, enteredCarbs, enteredInsulin, insulinRecommendation, activityReduction, isRecommendationDisplayed, } = this.state;
206
+ const { BloodGlucose: BGValueTestID, BloodKetone: BKValueTestID, ActiveInsulin: ActiveInsulinValueTestID, } = enum_1.InfoBarTestIds.Value;
207
+ const { ActiveInsulin: ActiveInsulinUnitTestID, BloodGlucose: BGUnitTestID, BloodKetone: BKUnitTestID, } = enum_1.InfoBarTestIds.Unit;
205
208
  const carbRecommendation = carbRecommendationProp !== null ? Math.round(carbRecommendationProp) : null;
206
209
  const recommendedCarbs = enteredCarbs ?? carbRecommendation;
207
210
  const { calculatorParams, bloodGlucoseUnit, currentBKL, bloodKetoneUnit } = this.props;
208
211
  const { currentBGL, carbohydrates: providedCarbs } = calculatorParams;
209
- const displayedBGL = Utils_1.Utils.displayedBGLValue(currentBGL, bloodGlucoseUnit);
210
- const displayedBKL = Utils_1.Utils.displayedBKLValue(currentBKL, bloodKetoneUnit);
212
+ const displayedBGL = currentBGL ? Utils_1.Utils.displayedBGLValue(currentBGL, bloodGlucoseUnit) : null;
213
+ const displayedBKL = currentBKL !== null && bloodKetoneUnit ? Utils_1.Utils.displayedBKLValue(currentBKL, bloodKetoneUnit) : null;
211
214
  return (<react_2.I18nProvider language={this.props.language} i18n={i18nUtils_1.i18n}>
212
215
  <react_native_1.ScrollView style={containerStyles.container} ref={(view) => {
213
216
  if (view !== null) {
@@ -215,9 +218,9 @@ class RecommendationScreen extends react_1.default.Component {
215
218
  }
216
219
  }}>
217
220
  <Header_1.default exitCallback={this.onExit}/>
218
- <InfoBars_1.default label={i18nUtils_1.i18n._(macro_1.t `Active Insulin`)} value={activeInsulin ? `${activeInsulin.toFixed(1)}` : null} unit={i18nUtils_1.i18n._(macro_1.t `units`)} showNullAsDash={false}/>
219
- <InfoBars_1.default label={i18nUtils_1.i18n._(macro_1.t `Blood Glucose Level`)} value={currentBGL ? `${displayedBGL}` : null} unit={this.props.bloodGlucoseUnit} showNullAsDash={true}/>
220
- <InfoBars_1.default label={i18nUtils_1.i18n._(macro_1.t `Blood Ketone Level`)} value={currentBKL !== null ? `${displayedBKL}` : null} unit={this.props.bloodKetoneUnit} showNullAsDash={true}/>
221
+ <InfoBars_1.default label={i18nUtils_1.i18n._(macro_1.t `Active Insulin`)} value={activeInsulin ? `${activeInsulin.toFixed(1)}` : null} unit={i18nUtils_1.i18n._(macro_1.t `units`)} showNullAsDash={false} testID={{ unitID: ActiveInsulinUnitTestID, valueID: ActiveInsulinValueTestID }}/>
222
+ <InfoBars_1.default label={i18nUtils_1.i18n._(macro_1.t `Blood Glucose Level`)} value={displayedBGL} unit={this.props.bloodGlucoseUnit} showNullAsDash={true} testID={{ unitID: BGUnitTestID, valueID: BGValueTestID }}/>
223
+ <InfoBars_1.default label={i18nUtils_1.i18n._(macro_1.t `Blood Ketone Level`)} value={displayedBKL} unit={this.props.bloodKetoneUnit} showNullAsDash={true} testID={{ unitID: BKUnitTestID, valueID: BKValueTestID }}/>
221
224
  <react_native_1.View style={containerStyles.calcContainer}>
222
225
  <react_native_1.View style={containerStyles.calcMargin}>
223
226
  <react_native_1.View style={[
@@ -506,55 +506,74 @@ describe(`RecommendationScreen`, () => {
506
506
  utils_1.expectTextExists(wrapper, `0`);
507
507
  });
508
508
  test(`InfoBars behave as expected with BGL & Active Insulin`, () => {
509
+ const { BloodGlucose: BGValueTestID, BloodKetone: BKValueTestID, ActiveInsulin: ActiveInsulinValueTestID, } = enum_1.InfoBarTestIds.Value;
510
+ const { ActiveInsulin: ActiveInsulinUnitTestID } = enum_1.InfoBarTestIds.Unit;
509
511
  const props = {
510
512
  ...utils_1.getRecommendationProps({
511
513
  calculatorParams: {
512
514
  ...utils_1.getRecommendationProps().calculatorParams,
513
- // @ts-ignore
514
515
  currentBGL: null,
515
516
  },
516
517
  }),
517
518
  currentBKL: null,
518
519
  };
519
- // @ts-ignore
520
520
  const wrapper = react_native_testing_library_1.render(<RecommendationScreen_1.default {...props}/>);
521
- utils_1.expectTextExists(wrapper, /2\./);
522
- expect(wrapper.queryAllByText(`-.-`)).toHaveLength(2);
523
- });
524
- test(`InfoBars displays bgl and ketones in mg/dL`, () => {
521
+ const shownKetoneValue = utils_1.queryTextFromComponent(wrapper, BKValueTestID);
522
+ const shownGlucoseValue = utils_1.queryTextFromComponent(wrapper, BGValueTestID);
523
+ const shownActiveInsulinValue = utils_1.queryTextFromComponent(wrapper, ActiveInsulinValueTestID);
524
+ const shownActiveInsulinUnit = utils_1.queryTextFromComponent(wrapper, ActiveInsulinUnitTestID);
525
+ expect(shownKetoneValue).toBe(`-.-`);
526
+ expect(shownGlucoseValue).toBe(`-.-`);
527
+ expect(shownActiveInsulinValue).not.toBe(`0`);
528
+ expect(shownActiveInsulinUnit).toBe(`units`);
529
+ });
530
+ test(`InfoBars displays bgl and ketones in mg/dL`, () => {
531
+ const { BloodGlucose: BGValueTestID, BloodKetone: BKValueTestID } = enum_1.InfoBarTestIds.Value;
532
+ const { BloodGlucose: BGUnitTestID, BloodKetone: BKUnitTestID } = enum_1.InfoBarTestIds.Unit;
525
533
  const props = utils_1.getRecommendationProps({
526
- calculatorParams: {
527
- ...utils_1.getRecommendationProps().calculatorParams,
528
- currentBGL: 1.1,
529
- },
530
534
  bloodGlucoseUnit: types_1.BloodGlucoseUnit.MG_DL,
531
535
  bloodKetoneUnit: types_1.BloodKetonesUnit.MG_DL,
532
536
  });
533
- const bklMGDL = Utils_1.Utils.convertBKLToMGDL(props.currentBKL);
534
- const bglMGDL = Utils_1.Utils.convertBGLToMGDL(props.calculatorParams.currentBGL);
535
- const wrapper = react_native_testing_library_1.render(<RecommendationScreen_1.default {...props}/>);
536
- utils_1.expectTextExists(wrapper, /2\./);
537
- utils_1.expectTextExists(wrapper, `${bglMGDL}`);
538
- utils_1.expectTextExists(wrapper, `${bklMGDL}`);
537
+ const { currentBKL, calculatorParams: { currentBGL }, } = props;
538
+ const wrapper = react_native_testing_library_1.render(<RecommendationScreen_1.default {...props}/>);
539
+ const shownKetoneUnit = utils_1.queryTextFromComponent(wrapper, BKUnitTestID);
540
+ const shownKetoneValue = utils_1.queryTextFromComponent(wrapper, BKValueTestID);
541
+ const bklMGDL = Utils_1.Utils.convertBKLToMGDL(currentBKL);
542
+ expect(shownKetoneUnit).toBe(`mg/dL`);
543
+ expect(shownKetoneValue).toBe(`${bklMGDL}`);
544
+ const shownGlucoseUnit = utils_1.queryTextFromComponent(wrapper, BGUnitTestID);
545
+ const shownGlucoseValue = utils_1.queryTextFromComponent(wrapper, BGValueTestID);
546
+ const bglMGDL = Utils_1.Utils.convertBGLToMGDL(currentBGL);
547
+ expect(shownGlucoseUnit).toBe(`mg/dL`);
548
+ expect(shownGlucoseValue).toBe(`${bglMGDL}`);
539
549
  });
540
550
  test(`InfoBars displays negative level currentBKL as 0`, () => {
551
+ const { BloodKetone: BKValueTestID } = enum_1.InfoBarTestIds.Value;
552
+ const { BloodKetone: BKUnitTestID } = enum_1.InfoBarTestIds.Unit;
541
553
  const props = utils_1.getRecommendationProps({
542
- calculatorParams: {
543
- ...utils_1.getRecommendationProps().calculatorParams,
544
- currentBGL: 33,
545
- carbohydrates: 1,
546
- },
547
554
  currentBKL: 0,
548
555
  bloodKetoneUnit: types_1.BloodKetonesUnit.MG_DL,
549
556
  });
550
557
  const wrapper = react_native_testing_library_1.render(<RecommendationScreen_1.default {...props}/>);
551
- utils_1.expectTextExists(wrapper, `0`);
552
- utils_1.expectTextNotExists(wrapper, `-`);
558
+ const shownKetoneUnit = utils_1.queryTextFromComponent(wrapper, BKUnitTestID);
559
+ const shownKetoneValue = utils_1.queryTextFromComponent(wrapper, BKValueTestID);
560
+ expect(shownKetoneValue).toBe(`0`);
561
+ expect(shownKetoneUnit).toBe(`mg/dL`);
562
+ });
563
+ test(`InfoBars displays null curentBKL and null BloodKetoneUnit as -`, () => {
564
+ const { BloodKetone: BKValueTestID } = enum_1.InfoBarTestIds.Value;
565
+ const { BloodKetone: BKUnitTestID } = enum_1.InfoBarTestIds.Unit;
566
+ const props = { ...utils_1.getRecommendationProps(), currentBKL: null, bloodKetoneUnit: null };
567
+ const wrapper = react_native_testing_library_1.render(<RecommendationScreen_1.default {...props}/>);
568
+ const shownKetoneUnit = utils_1.queryTextFromComponent(wrapper, BKUnitTestID);
569
+ const shownKetoneValue = utils_1.queryTextFromComponent(wrapper, BKValueTestID);
570
+ expect(shownKetoneUnit).toBe(``);
571
+ expect(shownKetoneValue).toBe(`-`);
553
572
  });
554
- test(`Can display with undefined activityDisplayProps`, () => {
573
+ test(`Can display with null activityDisplayProps`, () => {
555
574
  const props = utils_1.getRecommendationProps({
556
575
  calculatorParams: utils_1.getRecommendationProps().calculatorParams,
557
- activityDisplayProps: undefined,
576
+ activityDisplayProps: null,
558
577
  });
559
578
  const wrapper = react_native_testing_library_1.render(<RecommendationScreen_1.default {...props}/>);
560
579
  utils_1.expectTextExists(wrapper, `INSULIN\nRECOMMENDATION`);
@@ -60,10 +60,28 @@ describe(`Test validations functions for the recommendation props`, () => {
60
60
  `(`Validation checking on invalid blood glucose unit types $invalidUnit throws error`, ({ invalidUnit }) => {
61
61
  expect(() => Validations.checkBGLUnit(invalidUnit)).toThrowError(Errors.BloodGlucoseUnitError());
62
62
  });
63
+ test.each `
64
+ validKetoneProps
65
+ ${{ bloodKetoneUnit: types_1.BloodKetonesUnit.MG_DL, currentBKL: 0 }}
66
+ ${{ bloodKetoneUnit: types_1.BloodKetonesUnit.MMOL_L, currentBKL: null }}
67
+ ${{ bloodKetoneUnit: null, currentBKL: null }}
68
+ `(`Validation checking on valid blood ketones props $validKetoneProps`, ({ validKetoneProps }) => {
69
+ const { bloodKetoneUnit, currentBKL } = validKetoneProps;
70
+ expect(() => Validations.checkBKProps(bloodKetoneUnit, currentBKL)).not.toThrowError(Errors.BloodKetonePropsError());
71
+ });
72
+ test.each `
73
+ invalidKetoneProps
74
+ ${{ bloodKetoneUnit: null, currentBKL: 0 }}
75
+ ${{ bloodKetoneUnit: null, currentBKL: 8 }}
76
+ `(`Validation checking on invalid blood ketones props $invalidKetoneProps`, ({ invalidKetoneProps }) => {
77
+ const { bloodKetoneUnit, currentBKL } = invalidKetoneProps;
78
+ expect(() => Validations.checkBKProps(bloodKetoneUnit, currentBKL)).toThrowError(Errors.BloodKetonePropsError());
79
+ });
63
80
  test.each `
64
81
  validUnit
65
82
  ${types_1.BloodKetonesUnit.MG_DL}
66
83
  ${types_1.BloodKetonesUnit.MMOL_L}
84
+ ${null}
67
85
  `(`Validation checking on blood ketones unit types $validUnit`, ({ validUnit }) => {
68
86
  expect(() => Validations.checkBKLUnit(validUnit)).not.toThrowError(Errors.BloodKetoneUnitError());
69
87
  });
@@ -1,14 +1,19 @@
1
1
  import { BloodGlucoseUnit, BloodKetonesUnit } from "@hedia/types";
2
2
  import React from "react";
3
+ import { InfoBarTestIds } from "../types/enum";
3
4
  export interface IProps {
4
5
  label: string;
5
6
  value: string | null;
6
- unit: string | BloodGlucoseUnit | BloodKetonesUnit;
7
+ unit: string | BloodGlucoseUnit | BloodKetonesUnit | null;
7
8
  showNullAsDash: boolean;
9
+ testID?: {
10
+ valueID: InfoBarTestIds.Value;
11
+ unitID: InfoBarTestIds.Unit;
12
+ };
8
13
  }
9
14
  export default class InfoBars extends React.Component<IProps> {
10
15
  displayValue: () => string;
11
- displayUnit: () => string;
16
+ displayUnit: () => string | null;
12
17
  render(): JSX.Element;
13
18
  }
14
19
  export declare const infoStyles: {
@@ -17,15 +17,19 @@ class InfoBars extends react_1.default.Component {
17
17
  this.displayValue = () => {
18
18
  const { showNullAsDash, unit, value } = this.props;
19
19
  const noDecimal = unit === types_1.BloodGlucoseUnit.MG_DL || unit === types_1.BloodKetonesUnit.MG_DL;
20
- const nullPlaceholder = noDecimal ? `-` : `-.-`;
20
+ const nullPlaceholder = noDecimal || !unit ? `-` : `-.-`;
21
21
  return value ?? (showNullAsDash ? nullPlaceholder : `0`);
22
22
  };
23
23
  this.displayUnit = () => {
24
24
  const { unit } = this.props;
25
+ if (!unit) {
26
+ return null;
27
+ }
25
28
  return unit === i18nUtils_1.i18n._(macro_1.t `units`) ? unit : Utils_1.Utils.formatUnit(unit);
26
29
  };
27
30
  }
28
31
  render() {
32
+ const { testID } = this.props;
29
33
  return (<react_native_1.View style={exports.infoStyles.container}>
30
34
  <react_native_1.View style={exports.infoStyles.margin}>
31
35
  <react_native_1.View style={exports.infoStyles.border}>
@@ -35,10 +39,14 @@ class InfoBars extends react_1.default.Component {
35
39
  </react_native_1.View>
36
40
  <react_native_1.View style={exports.infoStyles.valueUnitContainer}>
37
41
  <react_native_1.View style={exports.infoStyles.valueContainer}>
38
- <react_native_1.Text style={exports.infoStyles.value}>{this.displayValue()}</react_native_1.Text>
42
+ <react_native_1.Text style={exports.infoStyles.value} testID={testID?.valueID}>
43
+ {this.displayValue()}
44
+ </react_native_1.Text>
39
45
  </react_native_1.View>
40
46
  <react_native_1.View style={exports.infoStyles.unitContainer}>
41
- <react_native_1.Text style={exports.infoStyles.units}>{this.displayUnit()}</react_native_1.Text>
47
+ <react_native_1.Text style={exports.infoStyles.units} testID={testID?.unitID}>
48
+ {this.displayUnit()}
49
+ </react_native_1.Text>
42
50
  </react_native_1.View>
43
51
  </react_native_1.View>
44
52
  </react_native_1.View>
@@ -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","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 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 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 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 {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia underst\xF8tter maksimalt ",a("SAFETY_INSULIN_LIMIT")," units 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")," units 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")," 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.{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")," units af insulin, men den er blevet begr\xE6nset af sikkerhedshensyn.",a("1")," Hedia anbefaler aldrig mere end ",a("SAFETY_INSULIN_LIMIT")," units 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")," units af insulin, men den er blevet begr\xE6nset af sikkerhedshensyn. Hedia anbefaler aldrig mere end ",a("SAFETY_INSULIN_LIMIT")," units 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":"Blodsukkerniveau","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 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 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 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","Error. Your blood ketone settings are invalid.":"Error. Your blood ketone settings are invalid.","Food":"Mad","Hard":"H\xE5rd","Have you taken insulin within the last 4 hours?":"Har du taget insulin inden for de sidste 4 timer?","Hedia Calculator does not support activities that finished more than 4 hours ago.":"Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke l\xE6ngere muligt at indtaste tidligere aktiviter i Hedia.","Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present.":"Ups! Hedia har lavet en fejl. Indtast venligst en v\xE6rdi mellem 0 og 300 gram","Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation.":function(a){return["Hedia underst\xF8tter maksimalt ",a("SAFETY_INSULIN_LIMIT")," units 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")," units 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")," 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.{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")," units af insulin, men den er blevet begr\xE6nset af sikkerhedshensyn.",a("1")," Hedia anbefaler aldrig mere end ",a("SAFETY_INSULIN_LIMIT")," units 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")," units af insulin, men den er blevet begr\xE6nset af sikkerhedshensyn. Hedia anbefaler aldrig mere end ",a("SAFETY_INSULIN_LIMIT")," units 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"}};
@@ -13,7 +13,7 @@ msgstr ""
13
13
  "Language-Team: \n"
14
14
  "Plural-Forms: \n"
15
15
 
16
- #: src/RecommendationScreen.tsx:195
16
+ #: src/RecommendationScreen.tsx:196
17
17
  msgid "Active Insulin"
18
18
  msgstr "Aktiv Insulin"
19
19
 
@@ -36,11 +36,11 @@ msgstr "OBS"
36
36
  msgid "Based on the selected activity your insulin recommendation is reduced by:"
37
37
  msgstr "Baseret på din valgte aktivitet er din insulin anbefaling reduceret med:"
38
38
 
39
- #: src/RecommendationScreen.tsx:196
39
+ #: src/RecommendationScreen.tsx:200
40
40
  msgid "Blood Glucose Level"
41
41
  msgstr "Blodsukkerniveau"
42
42
 
43
- #: src/RecommendationScreen.tsx:197
43
+ #: src/RecommendationScreen.tsx:204
44
44
  msgid "Blood Ketone Level"
45
45
  msgstr "Blodketonniveau"
46
46
 
@@ -48,11 +48,11 @@ msgstr "Blodketonniveau"
48
48
  msgid "Carbohydrates"
49
49
  msgstr "Kulhydrater"
50
50
 
51
- #: src/RecommendationScreen.tsx:217
51
+ #: src/RecommendationScreen.tsx:227
52
52
  msgid "Close calculation"
53
53
  msgstr "Luk beregning"
54
54
 
55
- #: src/utils/AttentionMessages.tsx:27
55
+ #: src/utils/AttentionMessages.tsx:33
56
56
  msgid "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity."
57
57
  msgstr "Dit blodsukkerniveau ligger udenfor de anbefalede grænser for blodsukker før en aktivitet. Du bør overveje at udskyde fysisk aktivitet."
58
58
 
@@ -136,6 +136,10 @@ msgstr "Ups! Gå venligst til indstillinger for blodsukker og bekræft at blodsu
136
136
  msgid "Error. Please verify your notifications settings."
137
137
  msgstr "Ups! Gå venligst til indstillinger for notifikationer og bekræft at notifikationer er indstillet korrekt"
138
138
 
139
+ #: src/utils/RecommendationError.tsx:33
140
+ msgid "Error. Your blood ketone settings are invalid."
141
+ msgstr ""
142
+
139
143
  #: src/components/RecommendedCarbs.tsx:107
140
144
  msgid "Food"
141
145
  msgstr "Mad"
@@ -156,11 +160,11 @@ msgstr "Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke
156
160
  msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
157
161
  msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en værdi mellem 0 og 300 gram"
158
162
 
159
- #: src/utils/AttentionMessages.tsx:41
163
+ #: src/utils/AttentionMessages.tsx:47
160
164
  msgid "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation."
161
165
  msgstr "Hedia understøtter maksimalt {SAFETY_INSULIN_LIMIT} units af insulin per beregning"
162
166
 
163
- #: src/utils/AttentionMessages.tsx:39
167
+ #: src/utils/AttentionMessages.tsx:45
164
168
  msgid "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."
165
169
  msgstr "Hedia understøtter maksimalt {SAFETY_INSULIN_LIMIT} units af insulin per beregning, men på grund af den fysiske aktivitet du har indtastet er grænsen reduceret med yderligere {0}% til {1} for denne beregning."
166
170
 
@@ -172,7 +176,7 @@ msgstr "Hvordan har du det?"
172
176
  msgid "INSULIN{0}RECOMMENDATION"
173
177
  msgstr "INSULIN{0}ANBEFALING"
174
178
 
175
- #: src/utils/AttentionMessages.tsx:26
179
+ #: src/utils/AttentionMessages.tsx:32
176
180
  msgid "If it is possible, postpone your planned exercise."
177
181
  msgstr "Hvis det er muligt, udsæt din planlagte træning."
178
182
 
@@ -188,7 +192,7 @@ msgstr "Let"
188
192
  msgid "Moderate"
189
193
  msgstr "Moderat"
190
194
 
191
- #: src/utils/AttentionMessages.tsx:42
195
+ #: src/utils/AttentionMessages.tsx:48
192
196
  msgid "More than 15 minutes has passed since this calculation was started."
193
197
  msgstr "Der er gået mere end 15 minutter siden udregningen blev startet."
194
198
 
@@ -200,7 +204,7 @@ msgstr "NEJ"
200
204
  msgid "No"
201
205
  msgstr "Nej"
202
206
 
203
- #: src/RecommendationScreen.tsx:221
207
+ #: src/RecommendationScreen.tsx:231
204
208
  msgid "No, return to dashboard"
205
209
  msgstr "Nej, tilbage til dashboard"
206
210
 
@@ -216,11 +220,11 @@ msgstr "OFF"
216
220
  msgid "OK"
217
221
  msgstr "OK"
218
222
 
219
- #: src/utils/AttentionMessages.tsx:43
223
+ #: src/utils/AttentionMessages.tsx:49
220
224
  msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
221
225
  msgstr "Gå venligst gennem udregningstrinnene igen med nye målinger for at sikre en sikker anbefaling."
222
226
 
223
- #: src/utils/AttentionMessages.tsx:47
227
+ #: src/utils/AttentionMessages.tsx:53
224
228
  msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
225
229
  msgstr "Hedia's anbefaling fra {day} kl. {time} blev ikke overført til din logbog.{0}Brugte du anbefalingen?"
226
230
 
@@ -237,19 +241,19 @@ msgstr "Anbefalet enhed(er) af insulin"
237
241
  msgid "Remind me to remeasure in"
238
242
  msgstr "Påmind mig at genmåle om"
239
243
 
240
- #: src/RecommendationScreen.tsx:221
244
+ #: src/RecommendationScreen.tsx:231
241
245
  msgid "Return to dashboard"
242
246
  msgstr "Tilbage til dashboard"
243
247
 
244
- #: src/RecommendationScreen.tsx:217
248
+ #: src/RecommendationScreen.tsx:227
245
249
  msgid "Save data before closing?"
246
250
  msgstr "Vil du gemme din indtastning?"
247
251
 
248
- #: src/RecommendationScreen.tsx:217
252
+ #: src/RecommendationScreen.tsx:227
249
253
  msgid "Save to logbook"
250
254
  msgstr "Gem i logbog"
251
255
 
252
- #: src/RecommendationScreen.tsx:221
256
+ #: src/RecommendationScreen.tsx:231
253
257
  msgid "Start new calculation"
254
258
  msgstr "Start ny beregning"
255
259
 
@@ -285,39 +289,39 @@ msgstr "Vil du gerne tilføje dette til din nuværende beregning?"
285
289
  msgid "Yes"
286
290
  msgstr "Ja"
287
291
 
288
- #: src/RecommendationScreen.tsx:221
292
+ #: src/RecommendationScreen.tsx:231
289
293
  msgid "Yes, save to logbook"
290
294
  msgstr "Ja, gem i logbogen"
291
295
 
292
- #: src/utils/AttentionMessages.tsx:28
296
+ #: src/utils/AttentionMessages.tsx:34
293
297
  msgid "You have a high blood glucose level."
294
298
  msgstr "Du har et højt blodsukkerniveau."
295
299
 
296
- #: src/utils/AttentionMessages.tsx:29
300
+ #: src/utils/AttentionMessages.tsx:35
297
301
  msgid "You should take rapid-acting insulin and measure ketones."
298
302
  msgstr "Du burde tage hurtigtvirkende insulin og måle ketoner."
299
303
 
300
- #: src/utils/AttentionMessages.tsx:25
304
+ #: src/utils/AttentionMessages.tsx:31
301
305
  msgid "You will be reminded to measure your blood glucose level in 15 min."
302
306
  msgstr "Du vil få påmindelser om at måle dit blodsukkerniveau om 15 minutter."
303
307
 
304
- #: src/utils/AttentionMessages.tsx:24
308
+ #: src/utils/AttentionMessages.tsx:30
305
309
  msgid "Your blood glucose level is very low."
306
310
  msgstr "Dit blodsukkerniveau er meget lavt."
307
311
 
308
- #: src/utils/AttentionMessages.tsx:23
312
+ #: src/utils/AttentionMessages.tsx:29
309
313
  msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
310
314
  msgstr "Dit blodsukkerniveau er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. Søg lægehjælp."
311
315
 
312
- #: src/utils/AttentionMessages.tsx:32
316
+ #: src/utils/AttentionMessages.tsx:38
313
317
  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 {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}."
314
318
  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 {SAFETY_INSULIN_LIMIT} units af insulin per beregning, men på grund af den fysiske aktivitet du har indtastet er grænsen reduceret med yderligere {2}% til {3}."
315
319
 
316
- #: src/utils/AttentionMessages.tsx:30
320
+ #: src/utils/AttentionMessages.tsx:36
317
321
  msgid "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."
318
322
  msgstr "Din anbefaling ville have været højere end {SAFETY_INSULIN_LIMIT} units af insulin, men den er blevet begrænset af sikkerhedshensyn. Hedia anbefaler aldrig mere end {SAFETY_INSULIN_LIMIT} units af insulin per beregning."
319
323
 
320
- #: src/RecommendationScreen.tsx:217
324
+ #: src/RecommendationScreen.tsx:227
321
325
  msgid "Your saved data will be used for future calculations."
322
326
  msgstr "Dine gemte indtastninger vil blive brugt til fremtidige beregninger."
323
327
 
@@ -339,7 +343,7 @@ msgstr "timer"
339
343
  msgid "min"
340
344
  msgstr "min"
341
345
 
342
- #: src/components/InfoBars.tsx:19
343
- #: src/RecommendationScreen.tsx:195
346
+ #: src/RecommendationScreen.tsx:196
347
+ #: src/components/InfoBars.tsx:22
344
348
  msgid "units"
345
349
  msgstr "enheder"
@@ -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":"Blutzuckerspiegel","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 Blutzuckerspiegel vor der k\xF6rperlichen Aktivit\xE4t innerhalb des empfohlenen Wertebereichs liegt.","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 Blutzuckerspiegel 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 Blutzuckerzielwert 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 Ziel-Blutzuckerwert korrekt ist.","Error. Please verify your notifications settings.":"Fehler. Bitte \xFCberpr\xFCfen Sie Ihre Benachrichtigungseinstellungen.","Food":"Lebensmittel","Hard":"Hart","Have you taken insulin within the last 4 hours?":"Haben Sie innerhalb der letzten 4 Stunden Insulin eingenommen?","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?","INSULIN{0}RECOMMENDATION":function(a){return["INSULIN",a("0"),"EMPFEHLUNG"]},"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","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 insulin":"Empfohlene Insulinmenge","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","Transfer to logbook":"\xDCbertragung ins Tagebuch","Transferred to logbook":"Ins Tagebuch \xFCbertragen","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 Blutzuckerspiegel.","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 Blutzuckerspiegel in 15 Minuten.","Your blood glucose level is very low.":"Ihr Blutzuckerspiegel ist sehr niedrig.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Ihr Blutzuckerspiegel 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":"Blutzuckerspiegel","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 Blutzuckerspiegel vor der k\xF6rperlichen Aktivit\xE4t innerhalb des empfohlenen Wertebereichs liegt.","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 Blutzuckerspiegel 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 Blutzuckerzielwert 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 Ziel-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","Hard":"Hart","Have you taken insulin within the last 4 hours?":"Haben Sie innerhalb der letzten 4 Stunden Insulin eingenommen?","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?","INSULIN{0}RECOMMENDATION":function(a){return["INSULIN",a("0"),"EMPFEHLUNG"]},"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","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 insulin":"Empfohlene Insulinmenge","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","Transfer to logbook":"\xDCbertragung ins Tagebuch","Transferred to logbook":"Ins Tagebuch \xFCbertragen","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 Blutzuckerspiegel.","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 Blutzuckerspiegel in 15 Minuten.","Your blood glucose level is very low.":"Ihr Blutzuckerspiegel ist sehr niedrig.","Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention.":"Ihr Blutzuckerspiegel 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"}};