Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github "LoopKit/LoopKit" "dev"
github "LoopKit/CGMBLEKit" "dev"
github "LoopKit/LoopKit" == 2.1.2
github "LoopKit/CGMBLEKit" == 2.1.1
github "i-schuetz/SwiftCharts" == 0.6.1
github "mddub/dexcom-share-client-swift" == 0.4.1
github "mddub/G4ShareSpy" == 0.3.3
github "ps2/rileylink_ios" "dev"
github "ps2/rileylink_ios" == 2.0.3
github "LoopKit/Amplitude-iOS" "decreepify"
6 changes: 3 additions & 3 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github "LoopKit/Amplitude-iOS" "2137d5fd44bf630ed33e1e72d7af6d8f8612f270"
github "LoopKit/CGMBLEKit" "1f9d0f221b886f12bcb2c46dc0b551589b623210"
github "LoopKit/LoopKit" "7082c64333113ad83238e483e83029c161ac35bb"
github "LoopKit/CGMBLEKit" "v2.1.1"
github "LoopKit/LoopKit" "v2.1.2"
github "i-schuetz/SwiftCharts" "0.6.1"
github "mddub/G4ShareSpy" "v0.3.3"
github "mddub/dexcom-share-client-swift" "v0.4.1"
github "ps2/rileylink_ios" "4a714a59d399aeb2984cbbe0434f02e6b59cfec5"
github "ps2/rileylink_ios" "v2.0.3"
8 changes: 8 additions & 0 deletions Common/Extensions/OSLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ extension OSLog {
log(message, type: .info, args)
}

func `default`(_ message: StaticString, _ args: CVarArg...) {
log(message, type: .default, args)
}

func error(_ message: StaticString, _ args: CVarArg...) {
log(message, type: .error, args)
}
Expand All @@ -35,6 +39,10 @@ extension OSLog {
os_log(message, log: self, type: type, args[0], args[1])
case 3:
os_log(message, log: self, type: type, args[0], args[1], args[2])
case 4:
os_log(message, log: self, type: type, args[0], args[1], args[2], args[3])
case 5:
os_log(message, log: self, type: type, args[0], args[1], args[2], args[3], args[4])
default:
os_log(message, log: self, type: type, args)
}
Expand Down
1 change: 1 addition & 0 deletions DoseMathTests/Base.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* No Localized Strings */
26 changes: 26 additions & 0 deletions DoseMathTests/Base.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Current glucose of %1$@ is below correction range.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Predicted glucose at %1$@ is %2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "Predicted glucose of %1$@ is below your suspend threshold setting.";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "U";
3 changes: 3 additions & 0 deletions DoseMathTests/de.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/* Bundle name */
"CFBundleName" = "$(PRODUCT_NAME)";

27 changes: 27 additions & 0 deletions DoseMathTests/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Der aktuell Blutzucker von %1$@ liegt unterhalb des Korrekturbereiches.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Der Vorhergesagte Blutzucker um %1$@ ist %2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "Der vorhergesagte Blutzucker von %1$@ liegt unterhalb des eingestellten Schwellwertes zur Unterbrechung der Basalrate. ";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "E";

1 change: 0 additions & 1 deletion DoseMathTests/es.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
/* No Localized Strings */
16 changes: 14 additions & 2 deletions DoseMathTests/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Glucosa actual de %1$@ está debajo del rango correctivo.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Glucosa proyectada en %1$@ es %2$@.";

Expand All @@ -10,6 +22,6 @@
/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";
/* The short unit display string for international units of insulin */
"U" = "U";

1 change: 1 addition & 0 deletions DoseMathTests/fr.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* No Localized Strings */
27 changes: 27 additions & 0 deletions DoseMathTests/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Glycémie actuelle %1$@ sous la plage de correction.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Glycémie de %2$@ prédite pour %1$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "Prédiction de la glycémie à %1$@ sous le seuil de suspension défini.";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "U";

3 changes: 3 additions & 0 deletions DoseMathTests/it.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/* Bundle name */
"CFBundleName" = "$(PRODUCT_NAME)";

27 changes: 27 additions & 0 deletions DoseMathTests/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "La glicemia corrente %1$@ é al di sotto dell'intervallo glicemico selezionato.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "La glicemia prevista a %1$@ è %2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "La glicemia prevista %1$@ è inferiore al valore glicemico previsto per la sospensione dell'erogazione.";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "U";

1 change: 1 addition & 0 deletions DoseMathTests/nb.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* No Localized Strings */
27 changes: 27 additions & 0 deletions DoseMathTests/nb.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Nåværende blodsukker på %1$@ er under målområde.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Forventet blodsukker om %1$@ er %2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "Forventet blodsukker %1$@ er under innstillingen for insulinstopp.";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "E";

1 change: 1 addition & 0 deletions DoseMathTests/nl.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* No Localized Strings */
27 changes: 27 additions & 0 deletions DoseMathTests/nl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Huidige glucose van %1$@ is onder het correctie bereik.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "gr";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Voorspelde glucose van %1$@ is %2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "Voorspelde glucose van %1$@ is onder het onderbreken van basaal instelling.";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "E";

1 change: 1 addition & 0 deletions DoseMathTests/pl.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* No Localized Strings */
26 changes: 26 additions & 0 deletions DoseMathTests/pl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "Obecny cukier jest %1$@ poniżej poziomu korekcji.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "g";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "mg/dL";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "mmol/L";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Przewidywany cukier o %1$@ wyniesie %2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "Przewidywany poziom cukru %1$@ jest poniżej progu wstrzymania.";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "J";
1 change: 0 additions & 1 deletion DoseMathTests/ru.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
/* No Localized Strings */
16 changes: 14 additions & 2 deletions DoseMathTests/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = " Текущая гликемия %1$@ ниже диапазона коррекции";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "г";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "мг/дл";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "ммоль/л";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "Предсказываемая гликемия в %1$@ - %2$@.";

Expand All @@ -10,6 +22,6 @@
/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The unit display string for millimoles of glucose per liter */
"mmol/L" = "ммоль/л";
/* The short unit display string for international units of insulin */
"U" = "ед";

3 changes: 3 additions & 0 deletions DoseMathTests/zh-Hans.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/* Bundle name */
"CFBundleName" = "$(PRODUCT_NAME)";

27 changes: 27 additions & 0 deletions DoseMathTests/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Message when offering bolus recommendation even though bg is below range. (1: glucose value) */
"Current glucose of %1$@ is below correction range." = "当前血糖%1$@低于纠正目标.";

/* The short unit display string for decibles */
"dB" = "dB";

/* The short unit display string for grams */
"g" = "克";

/* The short unit display string for milligrams of glucose per decilter */
"mg/dL" = "毫克/分升";

/* The short unit display string for millimoles of glucose per liter */
"mmol/L" = "毫摩尔/升";

/* Message when offering bolus recommendation even though bg is below range and minBG is in future. (1: glucose time)(2: glucose number) */
"Predicted glucose at %1$@ is %2$@." = "未来%1$@时间的血糖为%2$@.";

/* Notice message when recommending bolus when BG is below the suspend threshold. (1: glucose value) */
"Predicted glucose of %1$@ is below your suspend threshold setting." = "预计血糖%1$@低于低血糖暂停阈值";

/* Format string for combining localized numeric value and unit. (1: numeric value)(2: unit) */
"QUANTITY_VALUE_AND_UNIT" = "%1$@ %2$@";

/* The short unit display string for international units of insulin */
"U" = "单位";

6 changes: 6 additions & 0 deletions Loop Status Extension/Base.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* (No Comment) */
"CFBundleDisplayName" = "Loop";

/* (No Comment) */
"CFBundleName" = "$(PRODUCT_NAME)";

Loading