From 90b8b8ed00df3887264bd38ee1acac1edfe9270d Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Fri, 12 Nov 2021 18:15:03 +0100 Subject: [PATCH] create new string for "Delivering .." --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt | 2 +- omnipod-dash/src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt index ce3a4a3e7b..02158e0aa5 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt @@ -694,7 +694,7 @@ class OmnipodDashPumpPlugin @Inject constructor( } val percent = (waited.toFloat() / estimatedDeliveryTimeSeconds) * 100 updateBolusProgressDialog( - rh.gs(R.string.bolusdelivering, requestedBolusAmount), + rh.gs(R.string.dash_bolusdelivering, requestedBolusAmount), percent.toInt() ) } diff --git a/omnipod-dash/src/main/res/values/strings.xml b/omnipod-dash/src/main/res/values/strings.xml index 1b6f4dbb45..607f6ebdc5 100644 --- a/omnipod-dash/src/main/res/values/strings.xml +++ b/omnipod-dash/src/main/res/values/strings.xml @@ -46,4 +46,5 @@ Unknown state for the command Rate: %1$.2f U, duration: %2$d minutes %1$.2f U + Delivering %1$.2f U