2021-12-27 01:44:12 +01:00
|
|
|
"treatments_title" = "Treatments";
|
|
|
|
"treatments_new_button" = "New";
|
2022-04-25 18:45:56 +02:00
|
|
|
"treatments_new_entry" = "New Treatment";
|
2023-02-03 20:42:38 +01:00
|
|
|
"treatments_carbs_with_unit" = "Carbs (g)";
|
|
|
|
"treatments_insulin_with_unit" = "Insulin (U)";
|
|
|
|
"treatments_exercise_with_unit" = "Exercise (min)";
|
2021-12-28 01:29:38 +01:00
|
|
|
"treatments_carbs_unit" = "g";
|
|
|
|
"treatments_insulin_unit" = "U";
|
|
|
|
"treatments_exercise_unit" = "min";
|
|
|
|
"treatments_carbs" = "Carbs";
|
2022-08-28 15:29:06 +02:00
|
|
|
"treatments_insulin" = "Bolus";
|
2021-12-28 01:29:38 +01:00
|
|
|
"treatments_exercise" = "Exercise";
|
2022-05-20 14:52:38 +02:00
|
|
|
"treatments_bgcheck" = "BG Check";
|
2021-12-28 01:29:38 +01:00
|
|
|
"treatments_question_mark" = "?";
|
2021-12-27 14:59:44 +01:00
|
|
|
"treatments_success" = "Success";
|
improvements treatments (not finished)
- TreatmentNSResponse : changed type of createdAt from String to Date
- TreatmentEntryAccessor : functions that use howOld as parameter, changed type from Int to TimeInterval
- created constant for maximum days to upload for treatments, default 7 days
- increased maximum amount of treatments to show in TreatmentsViewController to 100 days
- removed TODO : check that hTTPURLResponse.statusCode is 200
- removed checkIfDisReConnectAfterTimeStampFunction in comments of initializer NightScoutUploadManager (seems not used anymore)
- in DexcomShareUploadManager and NightScoutUploadManager : renamed upload to uploadLatestBgReadings to make clear distinction with other upload functions
- deleted xdrip/Texts/TextsNFCLibre.swift because it's not used (not related to treatments)
- renamed xdrip/Texts/TextsNightScoutTestResult.swift to xdrip/Texts/TextsNightScout.swift
- fix in getLatestTreatments, howOld
- removed getRequireUploadTreatments from TreatmentEntryAccessor, filter on treatments to upload is done in NightScoutUploader
- using a new value in UserDefaults to trigger a NightScout sync. Setting the value to true from anywhere will launch a new sync.
- quite some changes in NightScoutUploadManager
- TreatmentsViewController does not control the sync, it will just trigger it whenever necessary by setting UserDefaults.standard.nightScoutSyncTreatmentsRequired to true
- NightScoutSync is triggered from several places : create a new Treatment, update a Treatment, delete a Treatment, click the sync button
- Removed UIAlertController with result from NightScoutSync. It should always succeed. It's like uploading BgReading's.
- removed file TextsNightScoutTestResult.swift, seems not used
- in TreatmentNSResponse: matchesTreatmentEntry changed : check on date didn't work, not it compares date in milliseconds, that works.
- removed/changed some var's , coreDataManager for example which is now Implicitly Unwrapped Optionals, in stead of optional. This is something which could be improved throughout the project
- after download form NS : check if existing treatments are updated, and if so update locally
- delete treatments at NS : treatments deleted on the app are not permenanetly deleted from coredata, but there's a new attribute "treatmentDeleted" which is set to true. Which means will not be shown in table. It's needed to keep track of deletions at NS
2022-01-16 20:53:34 +01:00
|
|
|
"treatments_sync_complete" = "Synchronization complete.";
|
2023-02-03 20:42:38 +01:00
|
|
|
"treatments_filterTreatmentsLabel" = "Filter";
|
2022-06-23 17:33:07 +02:00
|
|
|
"treatments_cannotStoreFutureBGCheck" = "You cannot store a BG Check in the future.\n\nIt will be stored at the actual time.";
|