@hedia/recommendation-screen 1.8.2 → 2.0.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.
- package/.github/workflows/ci.yml +0 -0
- package/.github/workflows/publish.yml +48 -0
- package/.github/workflows/version-check.yml +45 -0
- package/.linguirc +0 -0
- package/.npmpackagejsonlintrc.json +0 -0
- package/.prettierignore +0 -0
- package/.prettierrc +0 -0
- package/App.d.ts +4 -5
- package/App.jsx +23 -34
- package/App.tsx +36 -41
- package/Changelog.md +0 -0
- package/README.md +0 -0
- package/android/app/BUCK +0 -0
- package/android/app/build.gradle +0 -0
- package/android/app/build_defs.bzl +0 -0
- package/android/app/debug.keystore +0 -0
- package/android/app/proguard-rules.pro +0 -0
- package/android/app/src/debug/AndroidManifest.xml +0 -0
- package/android/app/src/debug/java/com/hediarecommendationscreen/ReactNativeFlipper.java +0 -0
- package/android/app/src/main/AndroidManifest.xml +0 -0
- 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/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 -0
- package/android/app/src/main/java/com/hediarecommendationscreen/MainApplication.java +0 -0
- 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 -0
- package/android/app/src/main/res/values/strings.xml +0 -0
- package/android/app/src/main/res/values/styles.xml +0 -0
- package/android/build.gradle +0 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -0
- package/android/gradle.properties +0 -0
- package/android/gradlew.bat +0 -0
- package/android/settings.gradle +0 -0
- package/app.json +0 -0
- package/assets/fonts/Roboto/LICENSE.txt +0 -0
- package/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/babel.config.js +0 -0
- package/ignore-git.sh +1 -1
- package/ignore-publish.sh +2 -1
- package/index.d.ts +2 -2
- package/index.js +2 -3
- package/index.ts +2 -2
- package/ios/HediaRecommendationScreen/AppDelegate.h +0 -0
- package/ios/HediaRecommendationScreen/AppDelegate.m +0 -0
- package/ios/HediaRecommendationScreen/Base.lproj/LaunchScreen.xib +0 -0
- package/ios/HediaRecommendationScreen/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- package/ios/HediaRecommendationScreen/Images.xcassets/Contents.json +0 -0
- package/ios/HediaRecommendationScreen/Info.plist +0 -0
- package/ios/HediaRecommendationScreen/main.m +0 -0
- package/ios/HediaRecommendationScreen-tvOS/Info.plist +0 -0
- package/ios/HediaRecommendationScreen-tvOSTests/Info.plist +0 -0
- package/ios/HediaRecommendationScreen.xcodeproj/project.pbxproj +0 -0
- package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen-tvOS.xcscheme +0 -0
- package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen.xcscheme +0 -0
- package/ios/HediaRecommendationScreen.xcworkspace/contents.xcworkspacedata +0 -0
- package/ios/HediaRecommendationScreen.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
- package/ios/HediaRecommendationScreenTests/HediaRecommendationScreenTests.m +0 -0
- package/ios/HediaRecommendationScreenTests/Info.plist +0 -0
- package/ios/Podfile +0 -0
- package/ios/Podfile.lock +0 -0
- package/jest.config.js +0 -0
- package/jest.mock.js +0 -0
- package/metro.config.js +0 -0
- package/package.json +8 -10
- package/react-native.config.js +0 -0
- package/src/RecommendationScreen.d.ts +18 -20
- package/src/RecommendationScreen.jsx +26 -15
- package/src/RecommendationScreen.tsx +60 -37
- package/src/__tests__/RecommendationScreen.test.d.ts +0 -0
- package/src/__tests__/RecommendationScreen.test.jsx +163 -138
- package/src/__tests__/RecommendationScreen.test.tsx +256 -159
- package/src/__tests__/RecommendationUtils.test.d.ts +0 -0
- package/src/__tests__/RecommendationUtils.test.js +30 -39
- package/src/__tests__/RecommendationUtils.test.ts +38 -43
- package/src/__tests__/Translate.test.d.ts +0 -0
- package/src/__tests__/Translate.test.jsx +13 -12
- package/src/__tests__/Translate.test.tsx +15 -14
- package/src/__tests__/Utils.test.d.ts +0 -0
- package/src/__tests__/Utils.test.js +22 -20
- package/src/__tests__/Utils.test.ts +32 -21
- package/src/__tests__/Validations.test.d.ts +0 -0
- package/src/__tests__/Validations.test.js +59 -33
- package/src/__tests__/Validations.test.ts +83 -41
- package/src/__tests__/components/Activity.test.d.ts +0 -0
- package/src/__tests__/components/Activity.test.jsx +39 -18
- package/src/__tests__/components/Activity.test.tsx +99 -45
- package/src/__tests__/components/Emotion.test.d.ts +0 -0
- package/src/__tests__/components/Emotion.test.jsx +34 -25
- package/src/__tests__/components/Emotion.test.tsx +41 -24
- package/src/__tests__/components/Header.test.d.ts +0 -0
- package/src/__tests__/components/Header.test.jsx +10 -9
- package/src/__tests__/components/Header.test.tsx +12 -11
- package/src/__tests__/components/InfoBars.test.d.ts +0 -0
- package/src/__tests__/components/InfoBars.test.jsx +1 -0
- package/src/__tests__/components/InfoBars.test.tsx +7 -6
- package/src/__tests__/components/InvisibleNumberInput.test.d.ts +0 -0
- package/src/__tests__/components/InvisibleNumberInput.test.jsx +40 -24
- package/src/__tests__/components/InvisibleNumberInput.test.tsx +41 -17
- package/src/__tests__/components/LimitationMessage.test.d.ts +0 -0
- package/src/__tests__/components/LimitationMessage.test.jsx +11 -30
- package/src/__tests__/components/LimitationMessage.test.tsx +15 -13
- package/src/__tests__/components/MoodIcon.test.d.ts +0 -0
- package/src/__tests__/components/MoodIcon.test.jsx +12 -8
- package/src/__tests__/components/MoodIcon.test.tsx +13 -5
- package/src/__tests__/components/RecommendationModal.test.d.ts +0 -0
- package/src/__tests__/components/RecommendationModal.test.jsx +22 -21
- package/src/__tests__/components/RecommendationModal.test.tsx +29 -27
- package/src/__tests__/components/RecommendedCarbs.test.d.ts +0 -0
- package/src/__tests__/components/RecommendedCarbs.test.jsx +7 -10
- package/src/__tests__/components/RecommendedCarbs.test.tsx +9 -10
- package/src/__tests__/components/RecommendedInsulin.test.d.ts +0 -0
- package/src/__tests__/components/RecommendedInsulin.test.jsx +57 -41
- package/src/__tests__/components/RecommendedInsulin.test.tsx +57 -31
- package/src/__tests__/components/Remeasure.test.d.ts +0 -0
- package/src/__tests__/components/Remeasure.test.jsx +7 -3
- package/src/__tests__/components/Remeasure.test.tsx +11 -3
- package/src/__tests__/components/TransferToLogbook.test.d.ts +0 -0
- package/src/__tests__/components/TransferToLogbook.test.jsx +2 -2
- package/src/__tests__/components/TransferToLogbook.test.tsx +2 -2
- package/src/__tests__/components/TwoOptionModal.test.d.ts +0 -0
- package/src/__tests__/components/TwoOptionModal.test.jsx +5 -4
- package/src/__tests__/components/TwoOptionModal.test.tsx +6 -4
- package/src/__tests__/utils.d.ts +7 -2
- package/src/__tests__/utils.jsx +59 -15
- package/src/__tests__/utils.tsx +63 -16
- package/src/assets/activity/Cyclist.png +0 -0
- package/src/assets/activity/Other.png +0 -0
- package/src/assets/activity/Runner.png +0 -0
- package/src/assets/activity/Swimmer.png +0 -0
- package/src/assets/activity/Walk.png +0 -0
- package/src/assets/mood/happy.png +0 -0
- package/src/assets/mood/happy_active.png +0 -0
- package/src/assets/mood/neutral.png +0 -0
- package/src/assets/mood/neutral_active.png +0 -0
- package/src/assets/mood/sad.png +0 -0
- package/src/assets/mood/sad_active.png +0 -0
- package/src/assets/mood/semi_happy.png +0 -0
- package/src/assets/mood/semi_happy_active.png +0 -0
- package/src/assets/mood/semi_sad.png +0 -0
- package/src/assets/mood/semi_sad_active.png +0 -0
- package/src/components/Header.d.ts +0 -0
- package/src/components/Header.jsx +2 -1
- package/src/components/Header.tsx +2 -1
- package/src/components/Icon.js +0 -0
- package/src/components/InfoBars.d.ts +1 -1
- package/src/components/InfoBars.jsx +0 -0
- package/src/components/InfoBars.tsx +1 -1
- package/src/components/InvisibleNumberInput.d.ts +2 -1
- package/src/components/InvisibleNumberInput.jsx +7 -2
- package/src/components/InvisibleNumberInput.tsx +10 -3
- package/src/components/LimitationMessage.d.ts +1 -1
- package/src/components/LimitationMessage.jsx +3 -2
- package/src/components/LimitationMessage.tsx +3 -1
- package/src/components/LineSeparator.d.ts +0 -0
- package/src/components/LineSeparator.jsx +0 -0
- package/src/components/LineSeparator.tsx +0 -0
- package/src/components/RecentInsulin.d.ts +0 -0
- package/src/components/RecentInsulin.jsx +3 -2
- package/src/components/RecentInsulin.tsx +3 -0
- package/src/components/RecommendationModal.d.ts +4 -4
- package/src/components/RecommendationModal.jsx +10 -9
- package/src/components/RecommendationModal.tsx +19 -8
- package/src/components/RecommendedCarbs.d.ts +4 -3
- package/src/components/RecommendedCarbs.jsx +12 -9
- package/src/components/RecommendedCarbs.tsx +31 -16
- package/src/components/RecommendedInsulin.d.ts +7 -7
- package/src/components/RecommendedInsulin.jsx +11 -7
- package/src/components/RecommendedInsulin.tsx +24 -12
- package/src/components/Remeasure.d.ts +2 -2
- package/src/components/Remeasure.jsx +7 -2
- package/src/components/Remeasure.tsx +10 -4
- package/src/components/TransferToLogbook.d.ts +0 -0
- package/src/components/TransferToLogbook.jsx +2 -1
- package/src/components/TransferToLogbook.tsx +2 -0
- package/src/components/TwoOptionModal.d.ts +5 -3
- package/src/components/TwoOptionModal.jsx +44 -13
- package/src/components/TwoOptionModal.tsx +50 -14
- package/src/components/activity/Activity.d.ts +2 -3
- package/src/components/activity/Activity.jsx +5 -2
- package/src/components/activity/Activity.tsx +7 -5
- package/src/components/activity/ActivityIcon.d.ts +1 -1
- package/src/components/activity/ActivityIcon.jsx +9 -8
- package/src/components/activity/ActivityIcon.tsx +12 -10
- package/src/components/activity/ActivityIntensity.d.ts +1 -1
- package/src/components/activity/ActivityIntensity.jsx +2 -8
- package/src/components/activity/ActivityIntensity.tsx +3 -12
- package/src/components/mood/Emotion.d.ts +5 -4
- package/src/components/mood/Emotion.jsx +4 -3
- package/src/components/mood/Emotion.tsx +9 -7
- package/src/components/mood/MoodIcon.d.ts +2 -2
- package/src/components/mood/MoodIcon.jsx +3 -2
- package/src/components/mood/MoodIcon.tsx +4 -2
- package/src/locale/CleanLanguage.ts +0 -0
- package/src/locale/da/messages.js +1 -1
- package/src/locale/da/messages.po +115 -107
- package/src/locale/de/messages.js +1 -1
- package/src/locale/de/messages.po +115 -107
- package/src/locale/en/messages.js +1 -1
- package/src/locale/en/messages.po +118 -110
- package/src/locale/es/messages.js +1 -1
- package/src/locale/es/messages.po +112 -104
- package/src/locale/fr/messages.js +1 -1
- package/src/locale/fr/messages.po +111 -103
- package/src/locale/i18nUtils.d.ts +3 -4
- package/src/locale/i18nUtils.js +13 -12
- package/src/locale/i18nUtils.ts +14 -14
- package/src/locale/it/messages.js +1 -1
- package/src/locale/it/messages.po +113 -105
- package/src/types/enum.d.ts +52 -44
- package/src/types/enum.js +67 -56
- package/src/types/enum.ts +58 -34
- package/src/types/types.d.ts +9 -23
- package/src/types/types.js +0 -0
- package/src/types/types.ts +9 -25
- package/src/utils/AttentionMessages.d.ts +1 -4
- package/src/utils/AttentionMessages.jsx +8 -30
- package/src/utils/AttentionMessages.tsx +11 -16
- package/src/utils/Constants.d.ts +0 -0
- package/src/utils/Constants.js +0 -0
- package/src/utils/Constants.ts +0 -0
- package/src/utils/RecommendationError.d.ts +2 -0
- package/src/utils/RecommendationError.jsx +45 -40
- package/src/utils/RecommendationError.tsx +17 -4
- package/src/utils/RecommendationUtils.d.ts +7 -8
- package/src/utils/RecommendationUtils.js +15 -7
- package/src/utils/RecommendationUtils.ts +24 -14
- package/src/utils/Translations.d.ts +2 -0
- package/src/utils/Translations.js +10 -0
- package/src/utils/Translations.ts +9 -0
- package/src/utils/Utils.d.ts +4 -5
- package/src/utils/Utils.js +6 -5
- package/src/utils/Utils.ts +10 -8
- package/src/utils/Validations.d.ts +10 -9
- package/src/utils/Validations.js +61 -65
- package/src/utils/Validations.ts +76 -81
- package/tsconfig.json +2 -2
- package/tslint.json +0 -0
|
@@ -13,325 +13,333 @@ msgstr ""
|
|
|
13
13
|
"Language-Team: \n"
|
|
14
14
|
"Plural-Forms: \n"
|
|
15
15
|
|
|
16
|
-
#: src/RecommendationScreen.tsx:
|
|
16
|
+
#: src/RecommendationScreen.tsx:195
|
|
17
17
|
msgid "Active Insulin"
|
|
18
18
|
msgstr "Insulina attiva"
|
|
19
19
|
|
|
20
|
-
#: src/components/activity/Activity.tsx:
|
|
20
|
+
#: src/components/activity/Activity.tsx:18
|
|
21
21
|
msgid "Activity"
|
|
22
22
|
msgstr "Attività fisica"
|
|
23
23
|
|
|
24
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
24
|
+
#: src/components/RecommendedCarbs.tsx:56
|
|
25
25
|
msgid "Additional"
|
|
26
26
|
msgstr "Ulteriori"
|
|
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:15
|
|
29
|
+
#: src/components/RecommendationModal.tsx:60
|
|
30
|
+
#: src/components/RecommendedCarbs.tsx:31
|
|
31
|
+
#: src/components/RecommendedInsulin.tsx:36
|
|
32
32
|
msgid "Attention"
|
|
33
33
|
msgstr "Attenzione"
|
|
34
34
|
|
|
35
|
-
#: src/components/activity/Activity.tsx:
|
|
35
|
+
#: src/components/activity/Activity.tsx:33
|
|
36
36
|
msgid "Based on the selected activity your insulin recommendation is reduced by:"
|
|
37
37
|
msgstr "In base all'attività selezionata, la prescrizione per l'insulina è ridotta di:"
|
|
38
38
|
|
|
39
|
-
#: src/RecommendationScreen.tsx:
|
|
39
|
+
#: src/RecommendationScreen.tsx:196
|
|
40
40
|
msgid "Blood Glucose Level"
|
|
41
|
-
msgstr "
|
|
41
|
+
msgstr "Livello di glucosio nel sangue"
|
|
42
42
|
|
|
43
|
-
#: src/RecommendationScreen.tsx:
|
|
43
|
+
#: src/RecommendationScreen.tsx:197
|
|
44
44
|
msgid "Blood Ketone Level"
|
|
45
45
|
msgstr "Livello di chetoni nel sangue"
|
|
46
46
|
|
|
47
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
47
|
+
#: src/components/RecommendedCarbs.tsx:108
|
|
48
48
|
msgid "Carbohydrates"
|
|
49
49
|
msgstr "Carboidrati"
|
|
50
50
|
|
|
51
|
-
#: src/RecommendationScreen.tsx:
|
|
51
|
+
#: src/RecommendationScreen.tsx:217
|
|
52
52
|
msgid "Close calculation"
|
|
53
53
|
msgstr "Chiudi calcolo"
|
|
54
54
|
|
|
55
|
-
#: src/utils/AttentionMessages.tsx:
|
|
55
|
+
#: src/utils/AttentionMessages.tsx:27
|
|
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 "Ricorda di non iniziare l'attività fisica prima che il livello di glucosio nel sangue non sia rientrato negli intervalli raccomandati prima dell'attività fisica."
|
|
58
58
|
|
|
59
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
59
|
+
#: src/components/RecommendedCarbs.tsx:111
|
|
60
60
|
msgid "Entered"
|
|
61
61
|
msgstr "Inserito"
|
|
62
62
|
|
|
63
|
-
#: src/utils/RecommendationError.tsx:
|
|
64
|
-
msgid "Error. Hedia Calculator
|
|
65
|
-
msgstr "
|
|
63
|
+
#: src/utils/RecommendationError.tsx:27
|
|
64
|
+
msgid "Error. Hedia Calculator could not find your recent boluses"
|
|
65
|
+
msgstr ""
|
|
66
66
|
|
|
67
|
-
#: src/utils/RecommendationError.tsx:
|
|
67
|
+
#: src/utils/RecommendationError.tsx:25
|
|
68
|
+
msgid "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units"
|
|
69
|
+
msgstr "Errore. Hedia Calculator non supporta una dose di insulina superiore a {SAFETY_INSULIN_LIMIT} unità"
|
|
70
|
+
|
|
71
|
+
#: src/utils/RecommendationError.tsx:26
|
|
68
72
|
msgid "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
|
|
69
73
|
msgstr "Errore. Hedia Calculator non supporta le raccomandazioni di insulina con boli più vecchi di 4 ore"
|
|
70
74
|
|
|
71
|
-
#: src/utils/RecommendationError.tsx:
|
|
75
|
+
#: src/utils/RecommendationError.tsx:22
|
|
76
|
+
msgid "Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours."
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
#: src/utils/RecommendationError.tsx:15
|
|
72
80
|
msgid "Error. Hedia Calculator does not support your activity intensity value"
|
|
73
81
|
msgstr "Errore. Hedia Calculator non supporta il valore dell'intensità dell'attività"
|
|
74
82
|
|
|
75
|
-
#: src/utils/RecommendationError.tsx:
|
|
83
|
+
#: src/utils/RecommendationError.tsx:16
|
|
76
84
|
msgid "Error. Hedia Calculator does not support your activity type value"
|
|
77
85
|
msgstr "Errore. Hedia Calculator non supporta il valore del tipo di attività"
|
|
78
86
|
|
|
79
|
-
#: src/utils/RecommendationError.tsx:
|
|
87
|
+
#: src/utils/RecommendationError.tsx:21
|
|
80
88
|
msgid "Error. Hedia Calculator does not support your current blood glucose level."
|
|
81
|
-
msgstr "Errore. Hedia Calculator non supporta
|
|
89
|
+
msgstr "Errore. Hedia Calculator non supporta il livello attuale di glucosio nel sangue."
|
|
82
90
|
|
|
83
|
-
#: src/utils/RecommendationError.tsx:
|
|
91
|
+
#: src/utils/RecommendationError.tsx:32
|
|
84
92
|
msgid "Error. Hedia Calculator does not support your current blood glucose unit."
|
|
85
93
|
msgstr "Errore. Hedia Calculator non supporta l'attuale unità misura di glucosio nel sangue."
|
|
86
94
|
|
|
87
|
-
#: src/utils/RecommendationError.tsx:
|
|
95
|
+
#: src/utils/RecommendationError.tsx:23
|
|
88
96
|
msgid "Error. Hedia Calculator does not support your current blood ketone level."
|
|
89
97
|
msgstr "Errore. Hedia Calculator non supporta l'attuale livello di chetoni nel sangue."
|
|
90
98
|
|
|
91
|
-
#: src/utils/RecommendationError.tsx:
|
|
99
|
+
#: src/utils/RecommendationError.tsx:31
|
|
92
100
|
msgid "Error. Hedia Calculator does not support your current blood ketone unit."
|
|
93
101
|
msgstr "Errore. Hedia Calculator non supporta l'attuale unità di misura di chetoni del sangue."
|
|
94
102
|
|
|
95
|
-
#: src/utils/RecommendationError.tsx:
|
|
103
|
+
#: src/utils/RecommendationError.tsx:30
|
|
96
104
|
msgid "Error. Hedia Calculator does not support your current language."
|
|
97
105
|
msgstr "Errore. Hedia Calculator non supporta la lingua corrente."
|
|
98
106
|
|
|
99
|
-
#: src/utils/RecommendationError.tsx:
|
|
107
|
+
#: src/utils/RecommendationError.tsx:29
|
|
100
108
|
msgid "Error. Hedia Calculator does not support your injection method."
|
|
101
109
|
msgstr "Errore. Hedia Calculator non supporta il metodo di iniezione."
|
|
102
110
|
|
|
103
|
-
#: src/utils/RecommendationError.tsx:
|
|
111
|
+
#: src/utils/RecommendationError.tsx:13
|
|
104
112
|
msgid "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
|
|
105
113
|
msgstr "Errore. Hedia Calculator supporta solo attività della durata massima di 60 minuti."
|
|
106
114
|
|
|
107
|
-
#: src/utils/RecommendationError.tsx:
|
|
115
|
+
#: src/utils/RecommendationError.tsx:12
|
|
108
116
|
msgid "Error. Please verify that your activity settings are set up correctly."
|
|
109
117
|
msgstr "Errore. Verificare che le impostazioni delle attività siano impostate correttamente."
|
|
110
118
|
|
|
111
|
-
#: src/utils/RecommendationError.tsx:
|
|
119
|
+
#: src/utils/RecommendationError.tsx:17
|
|
112
120
|
msgid "Error. Please verify that your activity target blood glucose value is correct."
|
|
113
|
-
msgstr "Errore. Verificare che il
|
|
121
|
+
msgstr "Errore. Verificare che il valore obiettivo della glicemia dell’attività sia corretto."
|
|
114
122
|
|
|
115
|
-
#: src/utils/RecommendationError.tsx:
|
|
123
|
+
#: src/utils/RecommendationError.tsx:19
|
|
116
124
|
msgid "Error. Please verify that your insulin sensitivity value is correct."
|
|
117
125
|
msgstr "Errore. Verificare che il valore della sensibilità all'insulina sia corretto."
|
|
118
126
|
|
|
119
|
-
#: src/utils/RecommendationError.tsx:
|
|
127
|
+
#: src/utils/RecommendationError.tsx:20
|
|
120
128
|
msgid "Error. Please verify that your insulin to carb ratio value is correct."
|
|
121
129
|
msgstr "Errore. Verificare che il valore del rapporto insulina/carboidrati sia corretto."
|
|
122
130
|
|
|
123
|
-
#: src/utils/RecommendationError.tsx:
|
|
131
|
+
#: src/utils/RecommendationError.tsx:24
|
|
124
132
|
msgid "Error. Please verify that your target blood glucose value is correct."
|
|
125
133
|
msgstr "Errore. Verificare che il valore obiettivo della glicemia sia corretto."
|
|
126
134
|
|
|
127
|
-
#: src/utils/RecommendationError.tsx:
|
|
135
|
+
#: src/utils/RecommendationError.tsx:28
|
|
128
136
|
msgid "Error. Please verify your notifications settings."
|
|
129
137
|
msgstr "Errore. Verificare le impostazioni di notifica."
|
|
130
138
|
|
|
131
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
139
|
+
#: src/components/RecommendedCarbs.tsx:107
|
|
132
140
|
msgid "Food"
|
|
133
141
|
msgstr "Cibo"
|
|
134
142
|
|
|
135
|
-
#: src/
|
|
143
|
+
#: src/utils/Translations.ts:6
|
|
136
144
|
msgid "Hard"
|
|
137
145
|
msgstr "Intensa"
|
|
138
146
|
|
|
139
|
-
#: src/components/RecentInsulin.tsx:
|
|
147
|
+
#: src/components/RecentInsulin.tsx:17
|
|
140
148
|
msgid "Have you taken insulin within the last 4 hours?"
|
|
141
149
|
msgstr "Hai assunto insulina nelle ultime 4 ore?"
|
|
142
150
|
|
|
143
|
-
#: src/utils/RecommendationError.tsx:
|
|
151
|
+
#: src/utils/RecommendationError.tsx:14
|
|
144
152
|
msgid "Hedia Calculator does not support activities that finished more than 4 hours ago."
|
|
145
153
|
msgstr "Hedia Calculator non supporta attività che siano terminate più di 4 ore fa."
|
|
146
154
|
|
|
147
|
-
#: src/utils/RecommendationError.tsx:
|
|
155
|
+
#: src/utils/RecommendationError.tsx:18
|
|
148
156
|
msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
|
|
149
157
|
msgstr "Hedia Calculator non supporta le prescrizioni di insulina con più di 300 grammi di carboidrati presenti."
|
|
150
158
|
|
|
151
|
-
#: src/utils/AttentionMessages.tsx:
|
|
152
|
-
msgid "Hedia does not support more than {
|
|
153
|
-
msgstr "Hedia non supporta più di {
|
|
159
|
+
#: src/utils/AttentionMessages.tsx:41
|
|
160
|
+
msgid "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation."
|
|
161
|
+
msgstr "Hedia non supporta più di {SAFETY_INSULIN_LIMIT} unità di insulina per ogni calcolo."
|
|
154
162
|
|
|
155
|
-
#: src/utils/AttentionMessages.tsx:
|
|
156
|
-
msgid "Hedia doesn't support more than {
|
|
157
|
-
msgstr "Hedia non supporta più di {
|
|
163
|
+
#: src/utils/AttentionMessages.tsx:39
|
|
164
|
+
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
|
+
msgstr "Hedia non supporta più di {SAFETY_INSULIN_LIMIT} unità di insulina per ogni calcolo, ma, a seguito dell'attività fisica che hai inserito, è stata ulteriormente ridotta del {0}% a {1} unità per questo calcolo."
|
|
158
166
|
|
|
159
|
-
#: src/components/mood/Emotion.tsx:
|
|
167
|
+
#: src/components/mood/Emotion.tsx:25
|
|
160
168
|
msgid "How are you feeling?"
|
|
161
169
|
msgstr "Come ti senti?"
|
|
162
170
|
|
|
163
|
-
#: src/components/Header.tsx:
|
|
171
|
+
#: src/components/Header.tsx:24
|
|
164
172
|
msgid "INSULIN{0}RECOMMENDATION"
|
|
165
173
|
msgstr "PRESCRIZIONE DI{0}INSULINA"
|
|
166
174
|
|
|
167
|
-
#: src/utils/AttentionMessages.tsx:
|
|
175
|
+
#: src/utils/AttentionMessages.tsx:26
|
|
168
176
|
msgid "If it is possible, postpone your planned exercise."
|
|
169
177
|
msgstr "Se possibile, posticipa l'allenamento pianificato."
|
|
170
178
|
|
|
171
|
-
#: src/components/RecommendationModal.tsx:
|
|
179
|
+
#: src/components/RecommendationModal.tsx:43
|
|
172
180
|
msgid "Instead of taking insulin"
|
|
173
181
|
msgstr "Invece di assumere insulina"
|
|
174
182
|
|
|
175
|
-
#: src/
|
|
183
|
+
#: src/utils/Translations.ts:4
|
|
176
184
|
msgid "Light"
|
|
177
185
|
msgstr "Leggera"
|
|
178
186
|
|
|
179
|
-
#: src/
|
|
187
|
+
#: src/utils/Translations.ts:5
|
|
180
188
|
msgid "Moderate"
|
|
181
189
|
msgstr "Moderata"
|
|
182
190
|
|
|
183
|
-
#: src/utils/AttentionMessages.tsx:
|
|
191
|
+
#: src/utils/AttentionMessages.tsx:42
|
|
184
192
|
msgid "More than 15 minutes has passed since this calculation was started."
|
|
185
193
|
msgstr "Sono passati più di 15 minuti dall'inizio di questo calcolo."
|
|
186
194
|
|
|
187
|
-
#: src/components/RecommendationModal.tsx:
|
|
195
|
+
#: src/components/RecommendationModal.tsx:23
|
|
188
196
|
msgid "NO"
|
|
189
197
|
msgstr "NO"
|
|
190
198
|
|
|
191
|
-
#: src/components/RecentInsulin.tsx:
|
|
199
|
+
#: src/components/RecentInsulin.tsx:26
|
|
192
200
|
msgid "No"
|
|
193
201
|
msgstr "No"
|
|
194
202
|
|
|
195
|
-
#: src/RecommendationScreen.tsx:
|
|
203
|
+
#: src/RecommendationScreen.tsx:221
|
|
196
204
|
msgid "No, return to dashboard"
|
|
197
205
|
msgstr "No, torna al pannello di controllo"
|
|
198
206
|
|
|
199
|
-
#: src/components/Remeasure.tsx:
|
|
207
|
+
#: src/components/Remeasure.tsx:38
|
|
200
208
|
msgid "OFF"
|
|
201
209
|
msgstr "SPENTO"
|
|
202
210
|
|
|
203
|
-
#: src/components/LimitationMessage.tsx:
|
|
204
|
-
#: src/components/RecommendationModal.tsx:
|
|
205
|
-
#: src/components/RecommendationModal.tsx:
|
|
206
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
207
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
211
|
+
#: src/components/LimitationMessage.tsx:21
|
|
212
|
+
#: src/components/RecommendationModal.tsx:20
|
|
213
|
+
#: src/components/RecommendationModal.tsx:67
|
|
214
|
+
#: src/components/RecommendedCarbs.tsx:33
|
|
215
|
+
#: src/components/RecommendedInsulin.tsx:38
|
|
208
216
|
msgid "OK"
|
|
209
217
|
msgstr "OK"
|
|
210
218
|
|
|
211
|
-
#: src/utils/AttentionMessages.tsx:
|
|
219
|
+
#: src/utils/AttentionMessages.tsx:43
|
|
212
220
|
msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
|
|
213
221
|
msgstr "Completa tutte le fasi del calcolo con nuove misurazioni per assicurare una prescrizione sicura."
|
|
214
222
|
|
|
215
|
-
#: src/utils/AttentionMessages.tsx:
|
|
223
|
+
#: src/utils/AttentionMessages.tsx:47
|
|
216
224
|
msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
|
|
217
225
|
msgstr "La prescrizione del {day} alle {time} non è stata trasferita nel tuo diario.{0} Hai usato la prescrizione?"
|
|
218
226
|
|
|
219
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
227
|
+
#: src/components/RecommendedCarbs.tsx:51
|
|
220
228
|
msgid "Recommended"
|
|
221
229
|
msgstr "Prescritta"
|
|
222
230
|
|
|
223
|
-
#: src/components/RecentInsulin.tsx:
|
|
224
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
231
|
+
#: src/components/RecentInsulin.tsx:13
|
|
232
|
+
#: src/components/RecommendedInsulin.tsx:54
|
|
225
233
|
msgid "Recommended amount of insulin"
|
|
226
234
|
msgstr "Quantità prescritta di insulina"
|
|
227
235
|
|
|
228
|
-
#: src/components/Remeasure.tsx:
|
|
236
|
+
#: src/components/Remeasure.tsx:34
|
|
229
237
|
msgid "Remind me to remeasure in"
|
|
230
238
|
msgstr "Ricordami di misurare nuovamente tra"
|
|
231
239
|
|
|
232
|
-
#: src/RecommendationScreen.tsx:
|
|
240
|
+
#: src/RecommendationScreen.tsx:221
|
|
233
241
|
msgid "Return to dashboard"
|
|
234
242
|
msgstr "Torna al pannello di controllo"
|
|
235
243
|
|
|
236
|
-
#: src/RecommendationScreen.tsx:
|
|
244
|
+
#: src/RecommendationScreen.tsx:217
|
|
237
245
|
msgid "Save data before closing?"
|
|
238
246
|
msgstr "Salvare i dati prima della chiusura?"
|
|
239
247
|
|
|
240
|
-
#: src/RecommendationScreen.tsx:
|
|
248
|
+
#: src/RecommendationScreen.tsx:217
|
|
241
249
|
msgid "Save to logbook"
|
|
242
250
|
msgstr "Salva nel diario"
|
|
243
251
|
|
|
244
|
-
#: src/RecommendationScreen.tsx:
|
|
252
|
+
#: src/RecommendationScreen.tsx:221
|
|
245
253
|
msgid "Start new calculation"
|
|
246
254
|
msgstr "Inizia il nuovo calcolo"
|
|
247
255
|
|
|
248
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
256
|
+
#: src/components/RecommendedCarbs.tsx:78
|
|
249
257
|
msgid "Total"
|
|
250
258
|
msgstr "Totale"
|
|
251
259
|
|
|
252
|
-
#: src/components/TransferToLogbook.tsx:
|
|
260
|
+
#: src/components/TransferToLogbook.tsx:26
|
|
253
261
|
msgid "Transfer to logbook"
|
|
254
262
|
msgstr "Trasferisci al diario"
|
|
255
263
|
|
|
256
|
-
#: src/components/TransferToLogbook.tsx:
|
|
264
|
+
#: src/components/TransferToLogbook.tsx:29
|
|
257
265
|
msgid "Transferred to logbook"
|
|
258
266
|
msgstr "Trasferito al diario"
|
|
259
267
|
|
|
260
|
-
#: src/components/RecommendedInsulin.tsx:
|
|
268
|
+
#: src/components/RecommendedInsulin.tsx:62
|
|
261
269
|
msgid "Units"
|
|
262
270
|
msgstr "Unità"
|
|
263
271
|
|
|
264
|
-
#: src/components/activity/ActivityIcon.tsx:
|
|
272
|
+
#: src/components/activity/ActivityIcon.tsx:27
|
|
265
273
|
msgid "Untitled Activity"
|
|
266
274
|
msgstr "Attività senza titolo"
|
|
267
275
|
|
|
268
|
-
#: src/components/RecommendationModal.tsx:
|
|
276
|
+
#: src/components/RecommendationModal.tsx:33
|
|
269
277
|
msgid "We recommend eating an additional:"
|
|
270
278
|
msgstr "Consigliamo di ingerire una quantità supplementare:"
|
|
271
279
|
|
|
272
|
-
#: src/components/RecommendationModal.tsx:
|
|
280
|
+
#: src/components/RecommendationModal.tsx:48
|
|
273
281
|
msgid "Would you like to add this to your current calculation?"
|
|
274
282
|
msgstr "Vuoi aggiungere questo al tuo calcolo corrente?"
|
|
275
283
|
|
|
276
|
-
#: src/components/RecentInsulin.tsx:
|
|
284
|
+
#: src/components/RecentInsulin.tsx:23
|
|
277
285
|
msgid "Yes"
|
|
278
286
|
msgstr "Sì"
|
|
279
287
|
|
|
280
|
-
#: src/RecommendationScreen.tsx:
|
|
288
|
+
#: src/RecommendationScreen.tsx:221
|
|
281
289
|
msgid "Yes, save to logbook"
|
|
282
290
|
msgstr "Sì, salva nel diario"
|
|
283
291
|
|
|
284
|
-
#: src/utils/AttentionMessages.tsx:
|
|
292
|
+
#: src/utils/AttentionMessages.tsx:28
|
|
285
293
|
msgid "You have a high blood glucose level."
|
|
286
|
-
msgstr "Hai un alto
|
|
294
|
+
msgstr "Hai un alto livello di glucosio nel sangue."
|
|
287
295
|
|
|
288
|
-
#: src/utils/AttentionMessages.tsx:
|
|
296
|
+
#: src/utils/AttentionMessages.tsx:29
|
|
289
297
|
msgid "You should take rapid-acting insulin and measure ketones."
|
|
290
298
|
msgstr "Devi assumere insulina ad azione rapida e misurare i chetoni."
|
|
291
299
|
|
|
292
|
-
#: src/utils/AttentionMessages.tsx:
|
|
300
|
+
#: src/utils/AttentionMessages.tsx:25
|
|
293
301
|
msgid "You will be reminded to measure your blood glucose level in 15 min."
|
|
294
|
-
msgstr "Ti verrà ricordato di misurare il
|
|
302
|
+
msgstr "Ti verrà ricordato di misurare il livello di glucosio nel sangue tra 15 min."
|
|
295
303
|
|
|
296
|
-
#: src/utils/AttentionMessages.tsx:
|
|
304
|
+
#: src/utils/AttentionMessages.tsx:24
|
|
297
305
|
msgid "Your blood glucose level is very low."
|
|
298
|
-
msgstr "Il
|
|
306
|
+
msgstr "Il livello di glucosio nel sangue è molto basso."
|
|
299
307
|
|
|
300
|
-
#: src/utils/AttentionMessages.tsx:
|
|
308
|
+
#: src/utils/AttentionMessages.tsx:23
|
|
301
309
|
msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
|
|
302
|
-
msgstr "Il
|
|
310
|
+
msgstr "Il livello di glucosio nel sangue è molto basso. Assumi glucagon o ingerisci carboidrati, se possibile. Rivolgiti a un medico."
|
|
303
311
|
|
|
304
|
-
#: src/utils/AttentionMessages.tsx:
|
|
305
|
-
msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {
|
|
306
|
-
msgstr "La tua prescrizione sarebbe stata superiore a {0} unità di insulina, ma è stata limitata per motivi di sicurezza. Hedia non prescrive mai più di {
|
|
312
|
+
#: src/utils/AttentionMessages.tsx:32
|
|
313
|
+
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
|
+
msgstr "La tua prescrizione sarebbe stata superiore a {0} unità di insulina, ma è stata limitata per motivi di sicurezza.{1} Hedia non prescrive mai più di {SAFETY_INSULIN_LIMIT} unità di insulina per calcolo, ma a seguito dell'attività fisica che hai inserito, questa è stata ulteriormente ridotta del {2}% a {3}."
|
|
307
315
|
|
|
308
|
-
#: src/utils/AttentionMessages.tsx:
|
|
309
|
-
msgid "Your recommendation would have been higher than {
|
|
310
|
-
msgstr "La tua prescrizione sarebbe stata superiore a {
|
|
316
|
+
#: src/utils/AttentionMessages.tsx:30
|
|
317
|
+
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
|
+
msgstr "La tua prescrizione sarebbe stata superiore a {SAFETY_INSULIN_LIMIT} unità di insulina, ma è stata limitata per motivi di sicurezza. Hedia non prescrive mai più di {SAFETY_INSULIN_LIMIT} unità di insulina per calcolo."
|
|
311
319
|
|
|
312
|
-
#: src/RecommendationScreen.tsx:
|
|
320
|
+
#: src/RecommendationScreen.tsx:217
|
|
313
321
|
msgid "Your saved data will be used for future calculations."
|
|
314
322
|
msgstr "I dati salvati saranno utilizzati per calcoli futuri."
|
|
315
323
|
|
|
316
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
317
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
318
|
-
#: src/components/RecommendedCarbs.tsx:
|
|
324
|
+
#: src/components/RecommendedCarbs.tsx:70
|
|
325
|
+
#: src/components/RecommendedCarbs.tsx:80
|
|
326
|
+
#: src/components/RecommendedCarbs.tsx:113
|
|
319
327
|
msgid "grams"
|
|
320
328
|
msgstr "grammi"
|
|
321
329
|
|
|
322
|
-
#: src/components/RecommendationModal.tsx:
|
|
330
|
+
#: src/components/RecommendationModal.tsx:39
|
|
323
331
|
msgid "grams of carbohydrates"
|
|
324
332
|
msgstr "grammi di carboidrati"
|
|
325
333
|
|
|
326
|
-
#: src/components/Remeasure.tsx:
|
|
334
|
+
#: src/components/Remeasure.tsx:41
|
|
327
335
|
msgid "hours"
|
|
328
336
|
msgstr "ore"
|
|
329
337
|
|
|
330
|
-
#: src/components/activity/Activity.tsx:
|
|
338
|
+
#: src/components/activity/Activity.tsx:25
|
|
331
339
|
msgid "min"
|
|
332
340
|
msgstr "min"
|
|
333
341
|
|
|
334
342
|
#: src/components/InfoBars.tsx:19
|
|
335
|
-
#: src/RecommendationScreen.tsx:
|
|
343
|
+
#: src/RecommendationScreen.tsx:195
|
|
336
344
|
msgid "units"
|
|
337
345
|
msgstr "unità"
|
package/src/types/enum.d.ts
CHANGED
|
@@ -1,35 +1,47 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
SemiSad = 2,
|
|
4
|
-
Neutral = 3,
|
|
5
|
-
SemiHappy = 4,
|
|
6
|
-
Happy = 5
|
|
1
|
+
export declare enum ActivityTestIds {
|
|
2
|
+
ActivityReduction = "activity-reduction-percentage"
|
|
7
3
|
}
|
|
8
|
-
export declare enum
|
|
9
|
-
|
|
10
|
-
Walk = 1,
|
|
11
|
-
Cycling = 2,
|
|
12
|
-
Swim = 3,
|
|
13
|
-
Other = 4
|
|
4
|
+
export declare enum HeaderTestIds {
|
|
5
|
+
ExitCalculation = "exit-calculation-button"
|
|
14
6
|
}
|
|
15
|
-
export declare enum
|
|
16
|
-
|
|
17
|
-
PenWhole = "Pen-whole",
|
|
18
|
-
Pump = "Pump"
|
|
7
|
+
export declare enum LimitationMessageTestIds {
|
|
8
|
+
OkButton = "limitation-message-ok-button"
|
|
19
9
|
}
|
|
20
|
-
export declare enum
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
de = "de",
|
|
24
|
-
es = "es",
|
|
25
|
-
it = "it",
|
|
26
|
-
fr = "fr"
|
|
10
|
+
export declare enum RecentInsulinTestIds {
|
|
11
|
+
No = "recent-insulin-no",
|
|
12
|
+
Yes = "recent-insulin-yes"
|
|
27
13
|
}
|
|
28
|
-
export declare enum
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
14
|
+
export declare enum RecommendedCarbsTestIds {
|
|
15
|
+
RecommendedCarbs = "recommended-carbs",
|
|
16
|
+
EditRecommendedCarbs = "edit-recommended-carbs",
|
|
17
|
+
InvisibleCarbInput = "invisible-recommended-carbs-input",
|
|
18
|
+
EnteredCarbs = "entered-carbs",
|
|
19
|
+
RemoveRecommendation = "remove-carb-recommendation",
|
|
20
|
+
TotalCarbs = "total-carbs"
|
|
32
21
|
}
|
|
22
|
+
export declare enum RecommendedInsulinTestIds {
|
|
23
|
+
EditRecommendedInsulin = "edit-recommended-insulin",
|
|
24
|
+
InvisibleInsulinInput = "invisible-recommended-insulin-input",
|
|
25
|
+
ShownInsulinText = "shown-insulin-text"
|
|
26
|
+
}
|
|
27
|
+
export declare enum RecommendationModalTestIds {
|
|
28
|
+
DeclineCarbs = "recommendation-modal-decline-carbs",
|
|
29
|
+
AcceptCarbs = "recommendation-modal-accept-carbs",
|
|
30
|
+
OkButton = "recommendation-modal-ok-button",
|
|
31
|
+
SuggestedCarbs = "recommendation-modal-suggested-carbs"
|
|
32
|
+
}
|
|
33
|
+
export declare enum RemeasureTestIds {
|
|
34
|
+
RemeasureSlider = "remeasure-slider"
|
|
35
|
+
}
|
|
36
|
+
export declare enum TransferToLogbookTestIds {
|
|
37
|
+
TransferButton = "transfer-to-logbook-button"
|
|
38
|
+
}
|
|
39
|
+
export declare enum TwoOptionModalTestIds {
|
|
40
|
+
ExitButton = "exit-two-option-modal",
|
|
41
|
+
FirstOption = "first-option-button",
|
|
42
|
+
SecondOption = "second-option-button"
|
|
43
|
+
}
|
|
44
|
+
export declare type TestIdEnum = ActivityTestIds | HeaderTestIds | LimitationMessageTestIds | RecentInsulinTestIds | RecommendedCarbsTestIds | RecommendedInsulinTestIds | RecommendationModalTestIds | RemeasureTestIds | TransferToLogbookTestIds | TwoOptionModalTestIds;
|
|
33
45
|
export declare enum RecommendationErrorEnum {
|
|
34
46
|
ActivityDuration = 0,
|
|
35
47
|
ActivityTargetBGL = 1,
|
|
@@ -39,23 +51,19 @@ export declare enum RecommendationErrorEnum {
|
|
|
39
51
|
ActivityType = 5,
|
|
40
52
|
BolusInsulinDose = 6,
|
|
41
53
|
BolusInsulinSecondsPassed = 7,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Second = 1000,
|
|
56
|
-
Minute = 60000,
|
|
57
|
-
Hour = 3600000,
|
|
58
|
-
Day = 86400000
|
|
54
|
+
RecentBolus = 8,
|
|
55
|
+
CarbohydrateLimit = 9,
|
|
56
|
+
InsulinSensitivity = 10,
|
|
57
|
+
InsulinToCarbsRatio = 11,
|
|
58
|
+
LatestLogbook6HoursBGL = 12,
|
|
59
|
+
CurrentBGL = 13,
|
|
60
|
+
CurrentBKL = 14,
|
|
61
|
+
TargetBGL = 15,
|
|
62
|
+
UserReminder = 16,
|
|
63
|
+
Language = 17,
|
|
64
|
+
InjectionMethod = 18,
|
|
65
|
+
BloodKetoneUnit = 19,
|
|
66
|
+
BloodGlucoseUnit = 20
|
|
59
67
|
}
|
|
60
68
|
export declare enum BgLevel {
|
|
61
69
|
SevereHypoglycemia = 0,
|