xdripswift/xdrip/Storyboards/en.lproj/Treatments.strings

19 lines
787 B
Plaintext
Raw Normal View History

"treatments_title" = "Treatments";
"treatments_new_button" = "New";
"treatments_new_entry" = "New Treatment";
"treatments_carbs_with_unit" = "Carbs (g)";
"treatments_insulin_with_unit" = "Insulin (U)";
"treatments_exercise_with_unit" = "Exercise (min)";
"treatments_carbs_unit" = "g";
"treatments_insulin_unit" = "U";
"treatments_exercise_unit" = "min";
"treatments_carbs" = "Carbs";
"treatments_insulin" = "Bolus";
"treatments_exercise" = "Exercise";
"treatments_bgcheck" = "BG Check";
"treatments_question_mark" = "?";
"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.";
"treatments_filterTreatmentsLabel" = "Filter";
"treatments_cannotStoreFutureBGCheck" = "You cannot store a BG Check in the future.\n\nIt will be stored at the actual time.";