@hedia/recommendation-screen 2.1.34-alpha.8 → 2.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src → dist/src}/RecommendationScreen.d.ts +3 -3
- package/{src → dist/src}/RecommendationScreen.js +9 -9
- package/{src → dist/src}/locale/da/messages.po +92 -92
- package/{src → dist/src}/locale/de/messages.po +92 -92
- package/{src → dist/src}/locale/en/messages.po +92 -92
- package/{src → dist/src}/locale/es/messages.js +1 -1
- package/{src → dist/src}/locale/es/messages.po +92 -92
- package/{src → dist/src}/locale/fr/messages.po +92 -92
- package/{src → dist/src}/locale/it/messages.po +92 -92
- package/package.json +22 -21
- package/.flowconfig +0 -65
- package/.github/pull_request_template.md +0 -6
- package/.github/workflows/ci.yaml +0 -17
- package/.github/workflows/publish-release-package.yaml +0 -17
- package/.github/workflows/validate-pr-title.yaml +0 -20
- package/.linguirc +0 -6
- package/.npmpackagejsonlintrc.json +0 -12
- package/.prettierignore +0 -2
- package/.prettierrc +0 -25
- package/Changelog.md +0 -9
- package/android/app/BUCK +0 -55
- package/android/app/build.gradle +0 -228
- package/android/app/build_defs.bzl +0 -19
- package/android/app/debug.keystore +0 -0
- package/android/app/proguard-rules.pro +0 -10
- package/android/app/src/debug/AndroidManifest.xml +0 -13
- package/android/app/src/debug/java/com/hediarecommendationscreen/ReactNativeFlipper.java +0 -72
- package/android/app/src/main/AndroidManifest.xml +0 -25
- package/android/app/src/main/assets/fonts/AntDesign.ttf +0 -0
- package/android/app/src/main/assets/fonts/Entypo.ttf +0 -0
- package/android/app/src/main/assets/fonts/EvilIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Feather.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf +0 -0
- package/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf +0 -0
- package/android/app/src/main/assets/fonts/Fontisto.ttf +0 -0
- package/android/app/src/main/assets/fonts/Foundation.ttf +0 -0
- package/android/app/src/main/assets/fonts/Ionicons.ttf +0 -0
- package/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/MaterialIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Octicons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Black.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-BlackItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Bold.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-BoldItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Italic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Light.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-LightItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Medium.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-MediumItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Regular.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-Thin.ttf +0 -0
- package/android/app/src/main/assets/fonts/Roboto-ThinItalic.ttf +0 -0
- package/android/app/src/main/assets/fonts/SimpleLineIcons.ttf +0 -0
- package/android/app/src/main/assets/fonts/Zocial.ttf +0 -0
- package/android/app/src/main/java/com/hediarecommendationscreen/MainActivity.java +0 -15
- package/android/app/src/main/java/com/hediarecommendationscreen/MainApplication.java +0 -80
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/android/app/src/main/res/values/color.xml +0 -3
- package/android/app/src/main/res/values/strings.xml +0 -3
- package/android/app/src/main/res/values/styles.xml +0 -11
- package/android/build.gradle +0 -38
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradle.properties +0 -28
- package/android/gradlew +0 -185
- package/android/gradlew.bat +0 -89
- package/android/settings.gradle +0 -3
- package/assets/fonts/Roboto/LICENSE.txt +0 -202
- package/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/babel.config.js +0 -18
- package/ignore-git.sh +0 -46
- package/ignore-publish.sh +0 -33
- package/index-git.sh +0 -5
- package/ios/HediaRecommendationScreen/AppDelegate.h +0 -8
- package/ios/HediaRecommendationScreen/AppDelegate.m +0 -61
- package/ios/HediaRecommendationScreen/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- package/ios/HediaRecommendationScreen/Images.xcassets/Contents.json +0 -6
- package/ios/HediaRecommendationScreen/Info.plist +0 -90
- package/ios/HediaRecommendationScreen/LaunchScreen.storyboard +0 -47
- package/ios/HediaRecommendationScreen/main.m +0 -9
- package/ios/HediaRecommendationScreen.xcodeproj/project.pbxproj +0 -778
- package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen-tvOS.xcscheme +0 -88
- package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen.xcscheme +0 -88
- package/ios/HediaRecommendationScreen.xcworkspace/contents.xcworkspacedata +0 -10
- package/ios/HediaRecommendationScreen.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/HediaRecommendationScreenTests/HediaRecommendationScreenTests.m +0 -65
- package/ios/HediaRecommendationScreenTests/Info.plist +0 -24
- package/ios/Podfile +0 -32
- package/ios/Podfile.lock +0 -544
- package/jest.config.js +0 -197
- package/jest.mock.js +0 -1
- package/metro.config.js +0 -17
- package/react-native.config.js +0 -7
- package/src/__tests__/RecommendationScreen.test.d.ts +0 -1
- package/src/__tests__/RecommendationScreen.test.js +0 -965
- package/src/__tests__/RecommendationUtils.test.d.ts +0 -1
- package/src/__tests__/RecommendationUtils.test.js +0 -216
- package/src/__tests__/Translate.test.d.ts +0 -1
- package/src/__tests__/Translate.test.js +0 -27
- package/src/__tests__/Utils.test.d.ts +0 -1
- package/src/__tests__/Utils.test.js +0 -66
- package/src/__tests__/Validations.test.d.ts +0 -1
- package/src/__tests__/Validations.test.js +0 -465
- package/src/__tests__/components/Activity.test.d.ts +0 -1
- package/src/__tests__/components/Activity.test.js +0 -86
- package/src/__tests__/components/Emotion.test.d.ts +0 -1
- package/src/__tests__/components/Emotion.test.js +0 -70
- package/src/__tests__/components/Header.test.d.ts +0 -1
- package/src/__tests__/components/Header.test.js +0 -36
- package/src/__tests__/components/InfoBars.test.d.ts +0 -1
- package/src/__tests__/components/InfoBars.test.js +0 -130
- package/src/__tests__/components/InvisibleNumberInput.test.d.ts +0 -1
- package/src/__tests__/components/InvisibleNumberInput.test.js +0 -160
- package/src/__tests__/components/LimitationMessage.test.d.ts +0 -1
- package/src/__tests__/components/LimitationMessage.test.js +0 -47
- package/src/__tests__/components/MoodIcon.test.d.ts +0 -1
- package/src/__tests__/components/MoodIcon.test.js +0 -30
- package/src/__tests__/components/RecommendationModal.test.d.ts +0 -1
- package/src/__tests__/components/RecommendationModal.test.js +0 -98
- package/src/__tests__/components/RecommendedCarbs.test.d.ts +0 -1
- package/src/__tests__/components/RecommendedCarbs.test.js +0 -120
- package/src/__tests__/components/RecommendedInsulin.test.d.ts +0 -1
- package/src/__tests__/components/RecommendedInsulin.test.js +0 -154
- package/src/__tests__/components/Remeasure.test.d.ts +0 -1
- package/src/__tests__/components/Remeasure.test.js +0 -78
- package/src/__tests__/components/TransferToLogbook.test.d.ts +0 -1
- package/src/__tests__/components/TransferToLogbook.test.js +0 -30
- package/src/__tests__/components/TwoOptionModal.test.d.ts +0 -1
- package/src/__tests__/components/TwoOptionModal.test.js +0 -65
- package/src/__tests__/utils.d.ts +0 -16
- package/src/__tests__/utils.js +0 -126
- package/tsconfig.json +0 -72
- package/tslint.json +0 -193
- package/typedoc.json +0 -13
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{src → dist/src}/assets/activity/Cyclist.png +0 -0
- /package/{src → dist/src}/assets/activity/Other.png +0 -0
- /package/{src → dist/src}/assets/activity/Runner.png +0 -0
- /package/{src → dist/src}/assets/activity/Swimmer.png +0 -0
- /package/{src → dist/src}/assets/activity/Walk.png +0 -0
- /package/{src → dist/src}/assets/mood/happy.png +0 -0
- /package/{src → dist/src}/assets/mood/happy_active.png +0 -0
- /package/{src → dist/src}/assets/mood/neutral.png +0 -0
- /package/{src → dist/src}/assets/mood/neutral_active.png +0 -0
- /package/{src → dist/src}/assets/mood/sad.png +0 -0
- /package/{src → dist/src}/assets/mood/sad_active.png +0 -0
- /package/{src → dist/src}/assets/mood/semi_happy.png +0 -0
- /package/{src → dist/src}/assets/mood/semi_happy_active.png +0 -0
- /package/{src → dist/src}/assets/mood/semi_sad.png +0 -0
- /package/{src → dist/src}/assets/mood/semi_sad_active.png +0 -0
- /package/{src → dist/src}/components/Header.d.ts +0 -0
- /package/{src → dist/src}/components/Header.js +0 -0
- /package/{src → dist/src}/components/Icon.d.ts +0 -0
- /package/{src → dist/src}/components/Icon.js +0 -0
- /package/{src → dist/src}/components/InfoBars.d.ts +0 -0
- /package/{src → dist/src}/components/InfoBars.js +0 -0
- /package/{src → dist/src}/components/InvisibleNumberInput.d.ts +0 -0
- /package/{src → dist/src}/components/InvisibleNumberInput.js +0 -0
- /package/{src → dist/src}/components/LimitationMessage.d.ts +0 -0
- /package/{src → dist/src}/components/LimitationMessage.js +0 -0
- /package/{src → dist/src}/components/LineSeparator.d.ts +0 -0
- /package/{src → dist/src}/components/LineSeparator.js +0 -0
- /package/{src → dist/src}/components/RecentInsulin.d.ts +0 -0
- /package/{src → dist/src}/components/RecentInsulin.js +0 -0
- /package/{src → dist/src}/components/RecommendationModal.d.ts +0 -0
- /package/{src → dist/src}/components/RecommendationModal.js +0 -0
- /package/{src → dist/src}/components/RecommendedCarbs.d.ts +0 -0
- /package/{src → dist/src}/components/RecommendedCarbs.js +0 -0
- /package/{src → dist/src}/components/RecommendedInsulin.d.ts +0 -0
- /package/{src → dist/src}/components/RecommendedInsulin.js +0 -0
- /package/{src → dist/src}/components/Remeasure.d.ts +0 -0
- /package/{src → dist/src}/components/Remeasure.js +0 -0
- /package/{src → dist/src}/components/TransferToLogbook.d.ts +0 -0
- /package/{src → dist/src}/components/TransferToLogbook.js +0 -0
- /package/{src → dist/src}/components/TwoOptionModal.d.ts +0 -0
- /package/{src → dist/src}/components/TwoOptionModal.js +0 -0
- /package/{src → dist/src}/components/activity/Activity.d.ts +0 -0
- /package/{src → dist/src}/components/activity/Activity.js +0 -0
- /package/{src → dist/src}/components/activity/ActivityIcon.d.ts +0 -0
- /package/{src → dist/src}/components/activity/ActivityIcon.js +0 -0
- /package/{src → dist/src}/components/activity/ActivityIntensity.d.ts +0 -0
- /package/{src → dist/src}/components/activity/ActivityIntensity.js +0 -0
- /package/{src → dist/src}/components/mood/Emotion.d.ts +0 -0
- /package/{src → dist/src}/components/mood/Emotion.js +0 -0
- /package/{src → dist/src}/components/mood/MoodIcon.d.ts +0 -0
- /package/{src → dist/src}/components/mood/MoodIcon.js +0 -0
- /package/{src → dist/src}/locale/da/messages.js +0 -0
- /package/{src → dist/src}/locale/de/messages.js +0 -0
- /package/{src → dist/src}/locale/en/messages.js +0 -0
- /package/{src → dist/src}/locale/fr/messages.js +0 -0
- /package/{src → dist/src}/locale/i18nUtils.d.ts +0 -0
- /package/{src → dist/src}/locale/i18nUtils.js +0 -0
- /package/{src → dist/src}/locale/it/messages.js +0 -0
- /package/{src → dist/src}/types/enum.d.ts +0 -0
- /package/{src → dist/src}/types/enum.js +0 -0
- /package/{src → dist/src}/types/types.d.ts +0 -0
- /package/{src → dist/src}/types/types.js +0 -0
- /package/{src → dist/src}/utils/AttentionMessages.d.ts +0 -0
- /package/{src → dist/src}/utils/AttentionMessages.js +0 -0
- /package/{src → dist/src}/utils/Constants.d.ts +0 -0
- /package/{src → dist/src}/utils/Constants.js +0 -0
- /package/{src → dist/src}/utils/RecommendationError.d.ts +0 -0
- /package/{src → dist/src}/utils/RecommendationError.js +0 -0
- /package/{src → dist/src}/utils/RecommendationUtils.d.ts +0 -0
- /package/{src → dist/src}/utils/RecommendationUtils.js +0 -0
- /package/{src → dist/src}/utils/Translations.d.ts +0 -0
- /package/{src → dist/src}/utils/Translations.js +0 -0
- /package/{src → dist/src}/utils/Utils.d.ts +0 -0
- /package/{src → dist/src}/utils/Utils.js +0 -0
- /package/{src → dist/src}/utils/Validations.d.ts +0 -0
- /package/{src → dist/src}/utils/Validations.js +0 -0
|
@@ -141,7 +141,7 @@ export default class RecommendationScreen extends React.Component<IRecommendatio
|
|
|
141
141
|
* A reference to the screens scrollview allowing us to programmatically scroll the screen in the handleNoRecentInsulin() method.
|
|
142
142
|
* The member is initiated without a value but will be set as soon as the component is being rendered.
|
|
143
143
|
*/
|
|
144
|
-
private
|
|
144
|
+
private scrollView?;
|
|
145
145
|
/**
|
|
146
146
|
* A reference to the eventSubscription that'll be returned by AppState.addEventListener().
|
|
147
147
|
* It'll allow us to later remove the subscription.
|
|
@@ -284,8 +284,8 @@ export default class RecommendationScreen extends React.Component<IRecommendatio
|
|
|
284
284
|
*
|
|
285
285
|
* Steps:
|
|
286
286
|
* 1. Set the isRecommendationDisplayed state variable to be true.
|
|
287
|
-
* 2. As a callback to the setState() method, define a new anonymous function that calls
|
|
288
|
-
*
|
|
287
|
+
* 2. As a callback to the setState() method, define a new anonymous function that calls setTimeout() with a duration of 0 milliseconds.
|
|
288
|
+
* When the time expires, call the scrollToEnd() method of the scrollView member, with the animated argument set to true.
|
|
289
289
|
* This ensures that the scroll event happens after all other events that get queued to happen at the same time,
|
|
290
290
|
* so all relevant elements are visible on the screen and the scroll happens reliably.
|
|
291
291
|
*/
|
|
@@ -191,16 +191,16 @@ export default class RecommendationScreen extends React.Component {
|
|
|
191
191
|
*
|
|
192
192
|
* Steps:
|
|
193
193
|
* 1. Set the isRecommendationDisplayed state variable to be true.
|
|
194
|
-
* 2. As a callback to the setState() method, define a new anonymous function that calls
|
|
195
|
-
*
|
|
194
|
+
* 2. As a callback to the setState() method, define a new anonymous function that calls setTimeout() with a duration of 0 milliseconds.
|
|
195
|
+
* When the time expires, call the scrollToEnd() method of the scrollView member, with the animated argument set to true.
|
|
196
196
|
* This ensures that the scroll event happens after all other events that get queued to happen at the same time,
|
|
197
197
|
* so all relevant elements are visible on the screen and the scroll happens reliably.
|
|
198
198
|
*/
|
|
199
199
|
this.handleNoRecentInsulin = () => {
|
|
200
200
|
this.setState({ isRecommendationDisplayed: true }, () => {
|
|
201
|
-
|
|
202
|
-
this.
|
|
203
|
-
});
|
|
201
|
+
setTimeout(() => {
|
|
202
|
+
this.scrollView?.scrollToEnd({ animated: true });
|
|
203
|
+
}, 0);
|
|
204
204
|
});
|
|
205
205
|
};
|
|
206
206
|
/**
|
|
@@ -311,7 +311,7 @@ export default class RecommendationScreen extends React.Component {
|
|
|
311
311
|
* - Set the recommendationDate argument to the recommendationDate member variable.
|
|
312
312
|
*/
|
|
313
313
|
this.handleTransfer = () => {
|
|
314
|
-
const { enteredCarbs, enteredInsulin, insulinRecommendation, remeasureTime, showExitModal, selectedMood
|
|
314
|
+
const { enteredCarbs, enteredInsulin, insulinRecommendation, remeasureTime, showExitModal, selectedMood } = this.state;
|
|
315
315
|
const carbs = { suggested: this.suggestedCarbs, entered: enteredCarbs };
|
|
316
316
|
const insulin = { suggested: insulinRecommendation, entered: enteredInsulin };
|
|
317
317
|
showExitModal ? this.hideExitModal() : this.hideTimeoutModal();
|
|
@@ -368,7 +368,7 @@ export default class RecommendationScreen extends React.Component {
|
|
|
368
368
|
this.recommendationDate = new Date(global.Date.now());
|
|
369
369
|
changeLanguage(props.language);
|
|
370
370
|
const { recentBoluses } = props.calculatorParams;
|
|
371
|
-
const { bolus, carbRecommendation, activityReduction, wasLimited, activeInsulin
|
|
371
|
+
const { bolus, carbRecommendation, activityReduction, wasLimited, activeInsulin } = Calculator.calculateRecommendation(props.calculatorParams);
|
|
372
372
|
this.suggestedCarbs = carbRecommendation;
|
|
373
373
|
this.state = {
|
|
374
374
|
remeasureTime: this.getBGLevelRemeasurementReminder(),
|
|
@@ -439,7 +439,7 @@ export default class RecommendationScreen extends React.Component {
|
|
|
439
439
|
return (<I18nProvider language={this.props.language} i18n={i18n}>
|
|
440
440
|
<ScrollView testID={RecommendationScreenTestIds.RecommendationScrollView} style={containerStyles.container} ref={(view) => {
|
|
441
441
|
if (view !== null) {
|
|
442
|
-
this.
|
|
442
|
+
this.scrollView = view;
|
|
443
443
|
}
|
|
444
444
|
}}>
|
|
445
445
|
<Header exitCallback={this.onExit}/>
|
|
@@ -460,7 +460,7 @@ export default class RecommendationScreen extends React.Component {
|
|
|
460
460
|
</View>
|
|
461
461
|
{this.props.calculatorParams.activity && this.props.activityDisplayProps ? (<Activity activity={this.props.calculatorParams.activity} activityType={this.props.activityDisplayProps.activityType} activityTitle={this.props.activityDisplayProps.activityTitle} activityReduction={this.state.activityReduction}/>) : null}
|
|
462
462
|
<Remeasure onSliderChange={this.updateRemeasureTime} remeasureTime={this.state.remeasureTime}/>
|
|
463
|
-
{!isRecommendationDisplayed ? (<RecentInsulin onRecentInsulinYes={this.props.onRecentInsulinYes} onRecentInsulinNo={this.handleNoRecentInsulin}/>) : (<RecommendedInsulin injectionMethod={this.props.injectionMethod} insulinRecommendation={insulinRecommendation} enteredInsulin={enteredInsulin} activityReduction={activityReduction} updateRecommendedInsulin={this.updateInsulinRecommendation}/>)}
|
|
463
|
+
{!this.state.isRecommendationDisplayed ? (<RecentInsulin onRecentInsulinYes={this.props.onRecentInsulinYes} onRecentInsulinNo={this.handleNoRecentInsulin}/>) : (<RecommendedInsulin injectionMethod={this.props.injectionMethod} insulinRecommendation={insulinRecommendation} enteredInsulin={enteredInsulin} activityReduction={activityReduction} updateRecommendedInsulin={this.updateInsulinRecommendation}/>)}
|
|
464
464
|
<Emotion moodSelected={this.handleMoodSelected} currentMood={this.state.selectedMood}/>
|
|
465
465
|
<TransferToLogbook visible={isRecommendationDisplayed} transfer={this.handleTransfer}/>
|
|
466
466
|
<RecommendationModal isVisible={recommendationModal} suggestedCarbohydrates={carbRecommendationProp} attentionMessage={this.getBGLevelAttentionMessage()} limitationMessage={this.getLimitationAttentionMessage()} onClickOkButton={this.hideAttentionModal} onAcceptCarbohydrates={this.acceptCarbRecommendation} onDeclineCarbohydrates={this.declineCarbRecommendation}/>
|
|
@@ -13,337 +13,337 @@ msgstr ""
|
|
|
13
13
|
"Language-Team: \n"
|
|
14
14
|
"Plural-Forms: \n"
|
|
15
15
|
|
|
16
|
-
#: src/RecommendationScreen.tsx:
|
|
16
|
+
#: src/RecommendationScreen.tsx:448
|
|
17
17
|
msgid "Active Insulin"
|
|
18
18
|
msgstr "Aktiv insulin"
|
|
19
19
|
|
|
20
|
-
#: src/components/activity/Activity.tsx:
|
|
20
|
+
#: src/components/activity/Activity.tsx:32
|
|
21
21
|
msgid "Activity"
|
|
22
22
|
msgstr "Aktivitet"
|
|
23
23
|
|
|
24
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
24
|
+
#: src/components/RecommendedCarbs.tsx:101
|
|
25
25
|
msgid "Additional"
|
|
26
26
|
msgstr "Supplerende"
|
|
27
27
|
|
|
28
|
-
#: src/components/LimitationMessage.tsx:
|
|
29
|
-
#: src/components/RecommendationModal.tsx:
|
|
30
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
31
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
28
|
+
#: src/components/LimitationMessage.tsx:19
|
|
29
|
+
#: src/components/RecommendationModal.tsx:96
|
|
30
|
+
#: src/components/RecommendedCarbs.tsx:63
|
|
31
|
+
#: src/components/RecommendedInsulin.tsx:74
|
|
32
32
|
msgid "Attention"
|
|
33
33
|
msgstr "OBS"
|
|
34
34
|
|
|
35
|
-
#: src/components/activity/Activity.tsx:
|
|
35
|
+
#: src/components/activity/Activity.tsx:47
|
|
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:
|
|
39
|
+
#: src/RecommendationScreen.tsx:449
|
|
40
40
|
msgid "Blood Glucose Level"
|
|
41
41
|
msgstr "Blodsukker"
|
|
42
42
|
|
|
43
|
-
#: src/RecommendationScreen.tsx:
|
|
43
|
+
#: src/RecommendationScreen.tsx:450
|
|
44
44
|
msgid "Blood Ketone Level"
|
|
45
45
|
msgstr "Blodketonniveau"
|
|
46
46
|
|
|
47
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
47
|
+
#: src/components/RecommendedCarbs.tsx:165
|
|
48
48
|
msgid "Carbohydrates"
|
|
49
49
|
msgstr "Kulhydrater"
|
|
50
50
|
|
|
51
|
-
#: src/RecommendationScreen.tsx:
|
|
51
|
+
#: src/RecommendationScreen.tsx:470
|
|
52
52
|
msgid "Close calculation"
|
|
53
53
|
msgstr "Luk beregning"
|
|
54
54
|
|
|
55
|
-
#: src/utils/AttentionMessages.tsx:
|
|
55
|
+
#: src/utils/AttentionMessages.tsx:86
|
|
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/components/RecommendedCarbs.tsx:
|
|
59
|
+
#: src/components/RecommendedCarbs.tsx:168
|
|
60
60
|
msgid "Entered"
|
|
61
61
|
msgstr "Indtastet"
|
|
62
62
|
|
|
63
|
-
#: src/utils/RecommendationError.tsx:
|
|
63
|
+
#: src/utils/RecommendationError.tsx:50
|
|
64
64
|
msgid "Error. Hedia Calculator could not find your recent boluses"
|
|
65
65
|
msgstr ""
|
|
66
66
|
|
|
67
|
-
#: src/utils/RecommendationError.tsx:
|
|
67
|
+
#: src/utils/RecommendationError.tsx:46
|
|
68
68
|
msgid "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units"
|
|
69
69
|
msgstr "Ups! Hedia kan ikke anbefale mere end {SAFETY_INSULIN_LIMIT} enheder hurtigtvirkende insulin i én dosis"
|
|
70
70
|
|
|
71
|
-
#: src/utils/RecommendationError.tsx:
|
|
71
|
+
#: src/utils/RecommendationError.tsx:48
|
|
72
72
|
msgid "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
|
|
73
73
|
msgstr "Ups! Indtast kun de hurtigtvirkende insulindoser der er under 4 timer gamle, så tager Hedia højde for aktiv insulin"
|
|
74
74
|
|
|
75
|
-
#: src/utils/RecommendationError.tsx:
|
|
75
|
+
#: src/utils/RecommendationError.tsx:40
|
|
76
76
|
msgid "Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours."
|
|
77
77
|
msgstr ""
|
|
78
78
|
|
|
79
|
-
#: src/utils/RecommendationError.tsx:
|
|
79
|
+
#: src/utils/RecommendationError.tsx:26
|
|
80
80
|
msgid "Error. Hedia Calculator does not support your activity intensity value"
|
|
81
81
|
msgstr "Ups! Hedia har lavet en fejl. Vælg venligst intensitet for aktivitet igen"
|
|
82
82
|
|
|
83
|
-
#: src/utils/RecommendationError.tsx:
|
|
83
|
+
#: src/utils/RecommendationError.tsx:28
|
|
84
84
|
msgid "Error. Hedia Calculator does not support your activity type value"
|
|
85
85
|
msgstr "Ups! Der er sket en fejl ved den valgte aktivitetstype. Gå venligst til “aktivitet” og indtast type igen"
|
|
86
86
|
|
|
87
|
-
#: src/utils/RecommendationError.tsx:
|
|
87
|
+
#: src/utils/RecommendationError.tsx:38
|
|
88
88
|
msgid "Error. Hedia Calculator does not support your current blood glucose level."
|
|
89
89
|
msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en blodsukkerværdi indenfor Hedia’s definerede grænser for blodsukker"
|
|
90
90
|
|
|
91
|
-
#: src/utils/RecommendationError.tsx:
|
|
91
|
+
#: src/utils/RecommendationError.tsx:60
|
|
92
92
|
msgid "Error. Hedia Calculator does not support your current blood glucose unit."
|
|
93
93
|
msgstr "Ups! Gå venligst til indstillinger blodsukker og opdater blodsukker enhed til mmol/L eller mg/dL"
|
|
94
94
|
|
|
95
|
-
#: src/utils/RecommendationError.tsx:
|
|
95
|
+
#: src/utils/RecommendationError.tsx:42
|
|
96
96
|
msgid "Error. Hedia Calculator does not support your current blood ketone level."
|
|
97
97
|
msgstr "Fejl. Hedia beregneren understøtter ikke dit nuværende blodketonniveau."
|
|
98
98
|
|
|
99
|
-
#: src/utils/RecommendationError.tsx:
|
|
99
|
+
#: src/utils/RecommendationError.tsx:58
|
|
100
100
|
msgid "Error. Hedia Calculator does not support your current blood ketone unit."
|
|
101
101
|
msgstr "Fejl. Hedia beregneren understøtter ikke din nuværende blodketon enhed."
|
|
102
102
|
|
|
103
|
-
#: src/utils/RecommendationError.tsx:
|
|
103
|
+
#: src/utils/RecommendationError.tsx:56
|
|
104
104
|
msgid "Error. Hedia Calculator does not support your current language."
|
|
105
105
|
msgstr "Ups! Gå venligst til indstillinger for sprog og vælg dansk eller engelsk"
|
|
106
106
|
|
|
107
|
-
#: src/utils/RecommendationError.tsx:
|
|
107
|
+
#: src/utils/RecommendationError.tsx:54
|
|
108
108
|
msgid "Error. Hedia Calculator does not support your injection method."
|
|
109
109
|
msgstr "Ups! Gå venligst til indstillinger for insulinberegner og vælg behandlingstype"
|
|
110
110
|
|
|
111
|
-
#: src/utils/RecommendationError.tsx:
|
|
111
|
+
#: src/utils/RecommendationError.tsx:22
|
|
112
112
|
msgid "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
|
|
113
113
|
msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en aktivitet på max 60 minutters varighed"
|
|
114
114
|
|
|
115
|
-
#: src/utils/RecommendationError.tsx:
|
|
115
|
+
#: src/utils/RecommendationError.tsx:20
|
|
116
116
|
msgid "Error. Please verify that your activity settings are set up correctly."
|
|
117
117
|
msgstr "Ups! Gå venligst til indstillinger for aktivitet og bekræft at de er korrekte"
|
|
118
118
|
|
|
119
|
-
#: src/utils/RecommendationError.tsx:
|
|
119
|
+
#: src/utils/RecommendationError.tsx:30
|
|
120
120
|
msgid "Error. Please verify that your activity target blood glucose value is correct."
|
|
121
121
|
msgstr "Ups! Gå venligst til indstillinger for aktivitet og bekræft at dit ønskede blodsukker er korrekt"
|
|
122
122
|
|
|
123
|
-
#: src/utils/RecommendationError.tsx:
|
|
123
|
+
#: src/utils/RecommendationError.tsx:34
|
|
124
124
|
msgid "Error. Please verify that your insulin sensitivity value is correct."
|
|
125
125
|
msgstr "Ups! Gå venligst til insulinindstillinger under indstillinger for insulinberegner og bekræft at din insulin sensitivitet er korrekt"
|
|
126
126
|
|
|
127
|
-
#: src/utils/RecommendationError.tsx:
|
|
127
|
+
#: src/utils/RecommendationError.tsx:36
|
|
128
128
|
msgid "Error. Please verify that your insulin to carb ratio value is correct."
|
|
129
129
|
msgstr "Ups! Gå venligst til insulinindstillinger under indstillinger for insulinberegner og bekræft at din kulhydrat-insulinratio er korrekt"
|
|
130
130
|
|
|
131
|
-
#: src/utils/RecommendationError.tsx:
|
|
131
|
+
#: src/utils/RecommendationError.tsx:44
|
|
132
132
|
msgid "Error. Please verify that your target blood glucose value is correct."
|
|
133
133
|
msgstr "Ups! Gå venligst til indstillinger for blodsukker og bekræft at dit ønskede blodsukker er indstillet efter dine personlige mål"
|
|
134
134
|
|
|
135
|
-
#: src/utils/RecommendationError.tsx:
|
|
135
|
+
#: src/utils/RecommendationError.tsx:52
|
|
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:
|
|
139
|
+
#: src/utils/RecommendationError.tsx:62
|
|
140
140
|
msgid "Error. Your blood ketone settings are invalid."
|
|
141
141
|
msgstr ""
|
|
142
142
|
|
|
143
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
143
|
+
#: src/components/RecommendedCarbs.tsx:164
|
|
144
144
|
msgid "Food"
|
|
145
145
|
msgstr "Mad"
|
|
146
146
|
|
|
147
|
-
#: src/utils/Translations.ts:
|
|
147
|
+
#: src/utils/Translations.ts:13
|
|
148
148
|
msgid "Hard"
|
|
149
149
|
msgstr "Hård"
|
|
150
150
|
|
|
151
|
-
#: src/components/RecentInsulin.tsx:
|
|
151
|
+
#: src/components/RecentInsulin.tsx:24
|
|
152
152
|
msgid "Have you taken insulin within the last 4 hours?"
|
|
153
153
|
msgstr "Har du taget insulin inden for de sidste 4 timer?"
|
|
154
154
|
|
|
155
|
-
#: src/utils/RecommendationError.tsx:
|
|
155
|
+
#: src/utils/RecommendationError.tsx:24
|
|
156
156
|
msgid "Hedia Calculator does not support activities that finished more than 4 hours ago."
|
|
157
157
|
msgstr "Ups! Det lader til at du bruger en gammel version af Hedia. Det er ikke længere muligt at indtaste tidligere aktiviter i Hedia."
|
|
158
158
|
|
|
159
|
-
#: src/utils/RecommendationError.tsx:
|
|
159
|
+
#: src/utils/RecommendationError.tsx:32
|
|
160
160
|
msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
|
|
161
161
|
msgstr "Ups! Hedia har lavet en fejl. Indtast venligst en værdi mellem 0 og 300 gram"
|
|
162
162
|
|
|
163
|
-
#: src/utils/AttentionMessages.tsx:
|
|
163
|
+
#: src/utils/AttentionMessages.tsx:105
|
|
164
164
|
msgid "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation."
|
|
165
165
|
msgstr "Hedia understøtter maksimalt {SAFETY_INSULIN_LIMIT} units af insulin per beregning"
|
|
166
166
|
|
|
167
|
-
#: src/utils/AttentionMessages.tsx:
|
|
167
|
+
#: src/utils/AttentionMessages.tsx:103
|
|
168
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."
|
|
169
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."
|
|
170
170
|
|
|
171
|
-
#: src/components/mood/Emotion.tsx:
|
|
171
|
+
#: src/components/mood/Emotion.tsx:45
|
|
172
172
|
msgid "How are you feeling?"
|
|
173
173
|
msgstr "Hvordan har du det?"
|
|
174
174
|
|
|
175
|
-
#: src/components/Header.tsx:
|
|
175
|
+
#: src/components/Header.tsx:26
|
|
176
176
|
msgid "INSULIN{0}RECOMMENDATION"
|
|
177
177
|
msgstr "INSULIN{0}ANBEFALING"
|
|
178
178
|
|
|
179
|
-
#: src/utils/AttentionMessages.tsx:
|
|
179
|
+
#: src/utils/AttentionMessages.tsx:84
|
|
180
180
|
msgid "If it is possible, postpone your planned exercise."
|
|
181
181
|
msgstr "Hvis det er muligt, udsæt din planlagte træning."
|
|
182
182
|
|
|
183
|
-
#: src/components/RecommendationModal.tsx:
|
|
183
|
+
#: src/components/RecommendationModal.tsx:76
|
|
184
184
|
msgid "Instead of taking insulin"
|
|
185
185
|
msgstr "I stedet for at tage insulin"
|
|
186
186
|
|
|
187
|
-
#: src/utils/Translations.ts:
|
|
187
|
+
#: src/utils/Translations.ts:11
|
|
188
188
|
msgid "Light"
|
|
189
189
|
msgstr "Let"
|
|
190
190
|
|
|
191
|
-
#: src/utils/Translations.ts:
|
|
191
|
+
#: src/utils/Translations.ts:12
|
|
192
192
|
msgid "Moderate"
|
|
193
193
|
msgstr "Moderat"
|
|
194
194
|
|
|
195
|
-
#: src/utils/AttentionMessages.tsx:
|
|
195
|
+
#: src/utils/AttentionMessages.tsx:107
|
|
196
196
|
msgid "More than 15 minutes has passed since this calculation was started."
|
|
197
197
|
msgstr "Der er gået mere end 15 minutter siden udregningen blev startet."
|
|
198
198
|
|
|
199
|
-
#: src/components/RecommendationModal.tsx:
|
|
199
|
+
#: src/components/RecommendationModal.tsx:51
|
|
200
200
|
msgid "NO"
|
|
201
201
|
msgstr "NEJ"
|
|
202
202
|
|
|
203
|
-
#: src/components/RecentInsulin.tsx:
|
|
203
|
+
#: src/components/RecentInsulin.tsx:33
|
|
204
204
|
msgid "No"
|
|
205
205
|
msgstr "Nej"
|
|
206
206
|
|
|
207
|
-
#: src/RecommendationScreen.tsx:
|
|
207
|
+
#: src/RecommendationScreen.tsx:474
|
|
208
208
|
msgid "No, return to dashboard"
|
|
209
209
|
msgstr "Nej, tilbage til dashboard"
|
|
210
210
|
|
|
211
|
-
#: src/components/Remeasure.tsx:
|
|
211
|
+
#: src/components/Remeasure.tsx:69
|
|
212
212
|
msgid "OFF"
|
|
213
213
|
msgstr "OFF"
|
|
214
214
|
|
|
215
|
-
#: src/components/LimitationMessage.tsx:
|
|
216
|
-
#: src/components/RecommendationModal.tsx:
|
|
217
|
-
#: src/components/RecommendationModal.tsx:
|
|
218
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
219
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
215
|
+
#: src/components/LimitationMessage.tsx:25
|
|
216
|
+
#: src/components/RecommendationModal.tsx:48
|
|
217
|
+
#: src/components/RecommendationModal.tsx:103
|
|
218
|
+
#: src/components/RecommendedCarbs.tsx:65
|
|
219
|
+
#: src/components/RecommendedInsulin.tsx:76
|
|
220
220
|
msgid "OK"
|
|
221
221
|
msgstr "OK"
|
|
222
222
|
|
|
223
|
-
#: src/utils/AttentionMessages.tsx:
|
|
223
|
+
#: src/utils/AttentionMessages.tsx:112
|
|
224
224
|
msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
|
|
225
225
|
msgstr "Gå venligst gennem udregningstrinnene igen med nye målinger for at sikre en sikker anbefaling."
|
|
226
226
|
|
|
227
|
-
#: src/utils/AttentionMessages.tsx:
|
|
227
|
+
#: src/utils/AttentionMessages.tsx:117
|
|
228
228
|
msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
|
|
229
229
|
msgstr "Hedia's anbefaling fra {day} kl. {time} blev ikke overført til din logbog.{0}Brugte du anbefalingen?"
|
|
230
230
|
|
|
231
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
231
|
+
#: src/components/RecommendedCarbs.tsx:96
|
|
232
232
|
msgid "Recommended"
|
|
233
233
|
msgstr "Anbefalet"
|
|
234
234
|
|
|
235
|
-
#: src/components/RecentInsulin.tsx:
|
|
236
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
235
|
+
#: src/components/RecentInsulin.tsx:20
|
|
236
|
+
#: src/components/RecommendedInsulin.tsx:96
|
|
237
237
|
msgid "Recommended amount of insulin"
|
|
238
238
|
msgstr "Anbefalet enhed(er) af insulin"
|
|
239
239
|
|
|
240
|
-
#: src/components/Remeasure.tsx:
|
|
240
|
+
#: src/components/Remeasure.tsx:65
|
|
241
241
|
msgid "Remind me to remeasure in"
|
|
242
242
|
msgstr "Påmind mig at genmåle om"
|
|
243
243
|
|
|
244
|
-
#: src/RecommendationScreen.tsx:
|
|
244
|
+
#: src/RecommendationScreen.tsx:474
|
|
245
245
|
msgid "Return to dashboard"
|
|
246
246
|
msgstr "Tilbage til dashboard"
|
|
247
247
|
|
|
248
|
-
#: src/RecommendationScreen.tsx:
|
|
248
|
+
#: src/RecommendationScreen.tsx:470
|
|
249
249
|
msgid "Save data before closing?"
|
|
250
250
|
msgstr "Vil du gemme din indtastning?"
|
|
251
251
|
|
|
252
|
-
#: src/RecommendationScreen.tsx:
|
|
252
|
+
#: src/RecommendationScreen.tsx:470
|
|
253
253
|
msgid "Save to logbook"
|
|
254
254
|
msgstr "Gem i logbog"
|
|
255
255
|
|
|
256
|
-
#: src/RecommendationScreen.tsx:
|
|
256
|
+
#: src/RecommendationScreen.tsx:474
|
|
257
257
|
msgid "Start new calculation"
|
|
258
258
|
msgstr "Start ny beregning"
|
|
259
259
|
|
|
260
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
260
|
+
#: src/components/RecommendedCarbs.tsx:123
|
|
261
261
|
msgid "Total"
|
|
262
262
|
msgstr "Sum"
|
|
263
263
|
|
|
264
|
-
#: src/components/TransferToLogbook.tsx:
|
|
264
|
+
#: src/components/TransferToLogbook.tsx:44
|
|
265
265
|
msgid "Transfer to logbook"
|
|
266
266
|
msgstr "Overfør til logbog"
|
|
267
267
|
|
|
268
|
-
#: src/components/TransferToLogbook.tsx:
|
|
268
|
+
#: src/components/TransferToLogbook.tsx:47
|
|
269
269
|
msgid "Transferred to logbook"
|
|
270
270
|
msgstr "Overført til logbog"
|
|
271
271
|
|
|
272
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
272
|
+
#: src/components/RecommendedInsulin.tsx:104
|
|
273
273
|
msgid "Units"
|
|
274
274
|
msgstr "Enheder"
|
|
275
275
|
|
|
276
|
-
#: src/components/activity/ActivityIcon.tsx:
|
|
276
|
+
#: src/components/activity/ActivityIcon.tsx:40
|
|
277
277
|
msgid "Untitled Activity"
|
|
278
278
|
msgstr "Unavngivet aktivitet"
|
|
279
279
|
|
|
280
|
-
#: src/components/RecommendationModal.tsx:
|
|
280
|
+
#: src/components/RecommendationModal.tsx:66
|
|
281
281
|
msgid "We recommend eating an additional:"
|
|
282
282
|
msgstr "Vi anbefaler at spise yderligere:"
|
|
283
283
|
|
|
284
|
-
#: src/components/RecommendationModal.tsx:
|
|
284
|
+
#: src/components/RecommendationModal.tsx:81
|
|
285
285
|
msgid "Would you like to add this to your current calculation?"
|
|
286
286
|
msgstr "Vil du gerne tilføje dette til din nuværende beregning?"
|
|
287
287
|
|
|
288
|
-
#: src/components/RecentInsulin.tsx:
|
|
288
|
+
#: src/components/RecentInsulin.tsx:30
|
|
289
289
|
msgid "Yes"
|
|
290
290
|
msgstr "Ja"
|
|
291
291
|
|
|
292
|
-
#: src/RecommendationScreen.tsx:
|
|
292
|
+
#: src/RecommendationScreen.tsx:474
|
|
293
293
|
msgid "Yes, save to logbook"
|
|
294
294
|
msgstr "Ja, gem i logbogen"
|
|
295
295
|
|
|
296
|
-
#: src/utils/AttentionMessages.tsx:
|
|
296
|
+
#: src/utils/AttentionMessages.tsx:88
|
|
297
297
|
msgid "You have a high blood glucose level."
|
|
298
298
|
msgstr "Du har højt blodsukker."
|
|
299
299
|
|
|
300
|
-
#: src/utils/AttentionMessages.tsx:
|
|
300
|
+
#: src/utils/AttentionMessages.tsx:90
|
|
301
301
|
msgid "You should take rapid-acting insulin and measure ketones."
|
|
302
302
|
msgstr "Du burde tage hurtigtvirkende insulin og måle ketoner."
|
|
303
303
|
|
|
304
|
-
#: src/utils/AttentionMessages.tsx:
|
|
304
|
+
#: src/utils/AttentionMessages.tsx:82
|
|
305
305
|
msgid "You will be reminded to measure your blood glucose level in 15 min."
|
|
306
306
|
msgstr "Du vil få en påmindelse om at måle dit blodsukker om 15 minutter."
|
|
307
307
|
|
|
308
|
-
#: src/utils/AttentionMessages.tsx:
|
|
308
|
+
#: src/utils/AttentionMessages.tsx:80
|
|
309
309
|
msgid "Your blood glucose level is very low."
|
|
310
310
|
msgstr "Dit blodsukker er meget lavt."
|
|
311
311
|
|
|
312
|
-
#: src/utils/AttentionMessages.tsx:
|
|
312
|
+
#: src/utils/AttentionMessages.tsx:78
|
|
313
313
|
msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
|
|
314
314
|
msgstr "Dit blodsukker er meget lavt. Tag glukagon eller spis kulhydrater, hvis det er muligt. Søg lægehjælp."
|
|
315
315
|
|
|
316
|
-
#: src/utils/AttentionMessages.tsx:
|
|
316
|
+
#: src/utils/AttentionMessages.tsx:95
|
|
317
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}."
|
|
318
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}."
|
|
319
319
|
|
|
320
|
-
#: src/utils/AttentionMessages.tsx:
|
|
320
|
+
#: src/utils/AttentionMessages.tsx:92
|
|
321
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."
|
|
322
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."
|
|
323
323
|
|
|
324
|
-
#: src/RecommendationScreen.tsx:
|
|
324
|
+
#: src/RecommendationScreen.tsx:470
|
|
325
325
|
msgid "Your saved data will be used for future calculations."
|
|
326
326
|
msgstr "Dine gemte indtastninger vil blive brugt til fremtidige beregninger."
|
|
327
327
|
|
|
328
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
329
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
330
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
328
|
+
#: src/components/RecommendedCarbs.tsx:115
|
|
329
|
+
#: src/components/RecommendedCarbs.tsx:125
|
|
330
|
+
#: src/components/RecommendedCarbs.tsx:170
|
|
331
331
|
msgid "grams"
|
|
332
332
|
msgstr "gram"
|
|
333
333
|
|
|
334
|
-
#: src/components/RecommendationModal.tsx:
|
|
334
|
+
#: src/components/RecommendationModal.tsx:72
|
|
335
335
|
msgid "grams of carbohydrates"
|
|
336
336
|
msgstr "gram kulhydrater"
|
|
337
337
|
|
|
338
|
-
#: src/components/Remeasure.tsx:
|
|
338
|
+
#: src/components/Remeasure.tsx:72
|
|
339
339
|
msgid "hours"
|
|
340
340
|
msgstr "timer"
|
|
341
341
|
|
|
342
|
-
#: src/components/activity/Activity.tsx:
|
|
342
|
+
#: src/components/activity/Activity.tsx:39
|
|
343
343
|
msgid "min"
|
|
344
344
|
msgstr "min"
|
|
345
345
|
|
|
346
|
-
#: src/
|
|
347
|
-
#: src/
|
|
346
|
+
#: src/RecommendationScreen.tsx:448
|
|
347
|
+
#: src/components/InfoBars.tsx:41
|
|
348
348
|
msgid "units"
|
|
349
349
|
msgstr "enheder"
|