Skip to content

Commit

Permalink
New Meal view and bolus views (nightscout#310)
Browse files Browse the repository at this point in the history
* Chart for predictions Bolus view
* A bit cleaner Carbs View with better presets summary
* Back button and view meal entries in Bolus views
  • Loading branch information
Jon-b-m authored Nov 8, 2023
1 parent 7d9aca9 commit db99798
Show file tree
Hide file tree
Showing 15 changed files with 459 additions and 291 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* No glucose value representation (3 dashes for mg/dL) */
"– – –" = "– – –";
"– – –" = "";

/* Format string for glucose trend per minute. (1: glucose value and unit) */
"%@/min" = "%@/min";
Expand Down Expand Up @@ -99,7 +99,7 @@
"Sensor failed" = "Sensorfehler";

/* title for g7 settings row showing sensor start time */
"Sensor Start" = "Start sensor";
"Sensor Start" = "Starte den Sensor";

/* G7 Status highlight text for signal loss */
"Signal\nLoss" = "Signal\nVerlust";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"– – –" = "– – –";

/* Format string for glucose trend per minute. (1: glucose value and unit) */
"%@/min" = "%@/minuto";
"%@/min" = "%@/min";

/* No comment provided by engineer. */
"Are you sure you want to delete this CGM?" = "Sei sicuro di voler cancellare questo CGM?";
Expand Down Expand Up @@ -63,7 +63,7 @@
"Name" = "Nome";

/* No comment provided by engineer. */
"Scan for new sensor" = "Scansiona per nuovo sensore";
"Scan for new sensor" = "Scansiona nuovo sensore";

/* title for g7 settings connection status when scanning */
"Scanning" = "Lettura";
Expand Down Expand Up @@ -99,7 +99,7 @@
"Sensor failed" = "Sensore fallito";

/* title for g7 settings row showing sensor start time */
"Sensor Start" = "Start sensor";
"Sensor Start" = "Avvia sensore";

/* G7 Status highlight text for signal loss */
"Signal\nLoss" = "Perdita segnale \n";
Expand Down
8 changes: 4 additions & 4 deletions FreeAPS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
19D466A529AA2BD4004D5F33 /* FPUConfigProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D466A429AA2BD4004D5F33 /* FPUConfigProvider.swift */; };
19D466A729AA2C22004D5F33 /* FPUConfigStateModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D466A629AA2C22004D5F33 /* FPUConfigStateModel.swift */; };
19D466AA29AA3099004D5F33 /* FPUConfigRootView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D466A929AA3099004D5F33 /* FPUConfigRootView.swift */; };
19D4E4EB29FC6A9F00351451 /* TIRforChart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D4E4EA29FC6A9F00351451 /* TIRforChart.swift */; };
19D4E4EB29FC6A9F00351451 /* Charts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D4E4EA29FC6A9F00351451 /* Charts.swift */; };
19DA48E829CD339B00EEA1E7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 19DA487F29CD2B8400EEA1E7 /* Assets.xcassets */; };
19DA48E929CD339C00EEA1E7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 19DA487F29CD2B8400EEA1E7 /* Assets.xcassets */; };
19DA48EA29CD339C00EEA1E7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 19DA487F29CD2B8400EEA1E7 /* Assets.xcassets */; };
Expand Down Expand Up @@ -568,7 +568,7 @@
19D466A429AA2BD4004D5F33 /* FPUConfigProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FPUConfigProvider.swift; sourceTree = "<group>"; };
19D466A629AA2C22004D5F33 /* FPUConfigStateModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FPUConfigStateModel.swift; sourceTree = "<group>"; };
19D466A929AA3099004D5F33 /* FPUConfigRootView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FPUConfigRootView.swift; sourceTree = "<group>"; };
19D4E4EA29FC6A9F00351451 /* TIRforChart.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TIRforChart.swift; sourceTree = "<group>"; };
19D4E4EA29FC6A9F00351451 /* Charts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Charts.swift; sourceTree = "<group>"; };
19DA487F29CD2B8400EEA1E7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
19DC677E29CA675700FD9EC4 /* OverrideProfilesDataFlow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OverrideProfilesDataFlow.swift; sourceTree = "<group>"; };
19DC678029CA676A00FD9EC4 /* OverrideProfilesProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OverrideProfilesProvider.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1655,7 +1655,7 @@
FE41E4D529463EE20047FD55 /* NightscoutPreferences.swift */,
191F62672AD6B05A004D7911 /* NightscoutSettings.swift */,
1967DFBD29D052C200759F30 /* Icons.swift */,
19D4E4EA29FC6A9F00351451 /* TIRforChart.swift */,
19D4E4EA29FC6A9F00351451 /* Charts.swift */,
19A910352A24D6D700C8951B /* DateFilter.swift */,
193F6CDC2A512C8F001240FD /* Loops.swift */,
CC6C406D2ACDD69E009B8058 /* RawFetchedProfile.swift */,
Expand Down Expand Up @@ -2862,7 +2862,7 @@
0CEA2EA070AB041AF3E3745B /* BolusRootView.swift in Sources */,
1967DFC029D053AC00759F30 /* IconSelection.swift in Sources */,
BDFD165C2AE40688007F0DDA /* DefaultBolusCalcRootView.swift in Sources */,
19D4E4EB29FC6A9F00351451 /* TIRforChart.swift in Sources */,
19D4E4EB29FC6A9F00351451 /* Charts.swift in Sources */,
FEFFA7A22929FE49007B8193 /* UIDevice+Extensions.swift in Sources */,
F90692D3274B9A130037068D /* AppleHealthKitRootView.swift in Sources */,
3862CC1F273FDC9200BF832C /* CalibrationsChart.swift in Sources */,
Expand Down
52 changes: 26 additions & 26 deletions FreeAPS/Sources/Localizations/Main/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,37 +56,37 @@
"Error at" = "Fehler um";

/* Bolus View Meal Summary Header */
"Meal Summary" = "Meal Summary";
"Meal Summary" = "Mahlzeitenübersicht";

/* Bolus View Meal Edit Meal Button */
"Edit Meal" = "Edit Meal";
"Edit Meal" = "Mahlzeit bearbeiten";

/* Bolus View Meal Add Meal Button */
"Add Meal" = "Add Meal";
"Add Meal" = "Mahlzeit hinzufügen";

/* Bolus View Bolus Summary Header */
"Bolus Summary" = "Bolus Summary";
"Bolus Summary" = "Bolusübersicht";

/* For the Bolus View pop-up */
"Calculations" = "Calculations";
"Calculations" = "Berechnungen";

/* For the Bolus View pop-up */
"Fatty Meal" = "Fatty Meal";
"Fatty Meal" = "Fette Mahlzeit";

/* For the Bolus View pop-up */
"Full Bolus" = "Full Bolus";
"Full Bolus" = "Voller Bolus";

/* For the Bolus View pop-up */
"Fraction" = "Fraction";
"Fraction" = "Fraktion";

/* For the Bolus View pop-up */
"Fatty Meal Factor" = "Fatty Meal Factor";
"Fatty Meal Factor" = "Fettspeise Faktor";

/* For the Bolus View pop-up */
"Result" = "Result";
"Result" = "Ergebnis";

/* For the Bolus View pop-up */
"Your entered amount was limited by your max Bolus setting of %d%@" = "Your entered amount was limited by your max Bolus setting of %d%@";
"Your entered amount was limited by your max Bolus setting of %d%@" = "Dein eingegebener Wert wurde durch deine maximale Bolus-Einstellung von %d%@ begrenzt";

/* Home title */
"Home" = "Hauptseite";
Expand Down Expand Up @@ -348,43 +348,43 @@ Enact a temp Basal or a temp target */
"Remote control" = "Fernbedienung";

/* Imported Profiles Alert */
"\nNow please verify all of your new settings thoroughly:\n\n* Basal Settings\n * Carb Ratios\n * Glucose Targets\n * Insulin Sensitivities\n * DIA\n\n in iAPS Settings > Configuration.\n\nBad or invalid profile settings could have disatrous effects." = "\nNow please verify all of your new settings thoroughly:\n\n* Basal Settings\n * Carb Ratios\n * Glucose Targets\n * Insulin Sensitivities\n * DIA\n\n in iAPS Settings > Configuration.\n\nBad or invalid profile settings could have disatrous effects.";
"\nNow please verify all of your new settings thoroughly:\n\n* Basal Settings\n * Carb Ratios\n * Glucose Targets\n * Insulin Sensitivities\n * DIA\n\n in iAPS Settings > Configuration.\n\nBad or invalid profile settings could have disatrous effects." = "\nBitte überprüfen Sie jetzt alle Ihre neuen Einstellungen gründlich:\n\n* Basaleinstellungen\n * Carb Ratios\n * Glukose-Ziele\n * Insulinempfindlichkeiten\n * DIA\n\n in iAPS-Einstellungen > Konfiguration.\n\nSchlechte oder ungültige Profileinstellungen können abscheuliche Effekte haben.";

/* Profile Import Alert */
"This will replace some or all of your current pump settings. Are you sure you want to import profile settings from Nightscout?" = "This will replace some or all of your current pump settings. Are you sure you want to import profile settings from Nightscout?";
"This will replace some or all of your current pump settings. Are you sure you want to import profile settings from Nightscout?" = "Dies wird einige oder alle deine aktuellen Pumpeneinstellungen ersetzen. Bist du sicher, dass du die Profileinstellungen von Nightscout importieren möchtest?";

/* Import Error */
"\nInvalid Nightcsout Basal Settings. \n\nImport aborted. Please check your Nightscout Profile Basal Settings!" = "\nInvalid Nightcsout Basal Settings. \n\nImport aborted. Please check your Nightscout Profile Basal Settings!";
"\nInvalid Nightcsout Basal Settings. \n\nImport aborted. Please check your Nightscout Profile Basal Settings!" = "\nUngültige Nightcsout Basal-Einstellungen. \n\nImport abgebrochen. Bitte überprüfen Sie Ihre Nightscout Profil Basal-Einstellungen!";

/* Import Error */
"\nSettings were imported but the Basals couldn't be saved to pump (No pump). Check your basal settings and tap ´Save on Pump´ to sync the new basal settings" = "\nSettings were imported but the Basals couldn't be saved to pump (No pump). Check your basal settings and tap ´Save on Pump´ to sync the new basal settings";
"\nSettings were imported but the Basals couldn't be saved to pump (No pump). Check your basal settings and tap ´Save on Pump´ to sync the new basal settings" = "\nEinstellungen wurden importiert, aber die Basalen konnten nicht in Pumpe gespeichert werden (keine Pump). Überprüfen Sie Ihre Basiseinstellungen und tippen Sie auf <unk> Speichern auf Pump, um die neuen Basiseinstellungen zu synchronisieren";

/* Import Error Headline */
"Import Error" = "Import Error";
"Import Error" = "Fehler beim Import";

/* */
"Yes, Import" = "Yes, Import";
"Yes, Import" = "Ja, importieren";

/* */
"Import settings from Nightscout" = "Import settings from Nightscout";
"Import settings from Nightscout" = "Einstellungen von Nightscout importieren";

/* */
"Import settings?" = "Import settings?";
"Import settings?" = "Einstellungen importieren?";

/* */
"Import from Nightscout" = "Import from Nightscout";
"Import from Nightscout" = "Einstellungen von Nightscout importieren";

/* */
"Settings imported" = "Settings imported";
"Settings imported" = "Einstellungen importiert";

/* Import Error */
"\nMismatching glucose units in Nightscout and Pump Settings. Import settings aborted." = "\nMismatching glucose units in Nightscout and Pump Settings. Import settings aborted.";
"\nMismatching glucose units in Nightscout and Pump Settings. Import settings aborted." = "\nFalsch übereinstimmende Glukoseeinheiten in Nightscout und Pump-Einstellungen. Import abgebrochen.";

/* Import Error */
"Can't find the default Nightscout Profile." = "Can't find the default Nightscout Profile.";
"Can't find the default Nightscout Profile." = "Kann das Standard-Nightscout-Profil nicht finden.";

/* Add Blood Glucose Test, header */
"Blood Glucose Test" = "Blood Glucose Test";
"Blood Glucose Test" = "Blutzucker Einheit";

/* Add Medtronic pump */
"Add Medtronic" = "Medtronic-Pumpe hinzufügen";
Expand Down Expand Up @@ -603,7 +603,7 @@ Enact a temp Basal or a temp target */
"Automatic" = "Automatisch";

/* External insulin treatments */
"External" = "External";
"External" = "Externe";

/* */
"Other" = "Sonstiges";
Expand Down Expand Up @@ -1134,7 +1134,7 @@ Enact a temp Basal or a temp target */
"Only Autotune Basal Insulin" = "Nur Autotune Basalinsulin";

/* */
"Save as your Normal Basal Rates" = "Save as your Normal Basal Rates";
"Save as your Normal Basal Rates" = "Als deine normalen Basalraten speichern";

/* */
"Save on Pump" = "Auf Pumpe speichern";
Expand Down
Loading

0 comments on commit db99798

Please sign in to comment.