This commit is contained in:
Philoul 2021-02-20 20:25:52 +01:00
parent 14454f6c15
commit 73ebc00085
3 changed files with 4 additions and 3 deletions

View file

@ -162,7 +162,7 @@ class LocalProfileFragment : DaggerFragment() {
if (localProfilePlugin.isEdited) { if (localProfilePlugin.isEdited) {
activity?.let { OKDialog.show(it, "", resourceHelper.gs(R.string.saveorresetchangesfirst)) } activity?.let { OKDialog.show(it, "", resourceHelper.gs(R.string.saveorresetchangesfirst)) }
} else { } else {
uel.log(resourceHelper.gs(R.string.key_new_profile)) uel.log(resourceHelper.gs(R.string.key_uel_new_profile))
localProfilePlugin.addNewProfile() localProfilePlugin.addNewProfile()
build() build()
} }

View file

@ -410,7 +410,7 @@ class BolusWizard @Inject constructor(
boluscalc = nsJSON() boluscalc = nsJSON()
source = Source.USER source = Source.USER
notes = this@BolusWizard.notes notes = this@BolusWizard.notes
uel.log("BOLUS WIZARD", "", insulinAfterConstraints, carbs) uel.log(resourceHelper.gs(R.string.key_uel_bolus_wizard), "", insulinAfterConstraints, carbs)
if (insulin > 0 || pump.pumpDescription.storesCarbInfo) { if (insulin > 0 || pump.pumpDescription.storesCarbInfo) {
commandQueue.bolus(this, object : Callback() { commandQueue.bolus(this, object : Callback() {
override fun run() { override fun run() {

View file

@ -1427,7 +1427,7 @@
<string name="key_uel_accepts_temp_basal" translatable="false">ACCEPT TEMP BASAL</string> <string name="key_uel_accepts_temp_basal" translatable="false">ACCEPT TEMP BASAL</string>
<string name="key_uel_otp_reset" translatable="false">OTP RESET</string> <string name="key_uel_otp_reset" translatable="false">OTP RESET</string>
<string name="key_uel_otp_export" translatable="false">OTP EXPORT</string> <string name="key_uel_otp_export" translatable="false">OTP EXPORT</string>
<string name="key_new_profile" translatable="false">NEW PROFILE</string> <string name="key_uel_new_profile" translatable="false">NEW PROFILE</string>
<string name="key_uel_clone_profile" translatable="false">CLONE PROFILE</string> <string name="key_uel_clone_profile" translatable="false">CLONE PROFILE</string>
<string name="key_uel_remove_profile" translatable="false">REMOVE PROFILE</string> <string name="key_uel_remove_profile" translatable="false">REMOVE PROFILE</string>
<string name="key_uel_bg_removed" translatable="false">BG REMOVED</string> <string name="key_uel_bg_removed" translatable="false">BG REMOVED</string>
@ -1446,6 +1446,7 @@
<string name="key_uel_tt_remove" translatable="false">TT REMOVE</string> <string name="key_uel_tt_remove" translatable="false">TT REMOVE</string>
<string name="key_uel_bolus_advisor" translatable="false">BOLUS ADVISOR</string> <string name="key_uel_bolus_advisor" translatable="false">BOLUS ADVISOR</string>
<string name="key_uel_superbolus_tbr" translatable="false">SUPERBOLUS TBR</string> <string name="key_uel_superbolus_tbr" translatable="false">SUPERBOLUS TBR</string>
<string name="key_uel_bolus_wizard" translatable="false">BOLUS WIZARD</string>
<string name="key_uel_ns_queue_cleared" translatable="false">NS QUEUE CLEARED</string> <string name="key_uel_ns_queue_cleared" translatable="false">NS QUEUE CLEARED</string>
<string name="key_uel_ns_paused" translatable="false">NS PAUSED</string> <string name="key_uel_ns_paused" translatable="false">NS PAUSED</string>
<string name="key_uel_hw_pump_allowed" translatable="false">HW PUMP ALLOWED</string> <string name="key_uel_hw_pump_allowed" translatable="false">HW PUMP ALLOWED</string>