create new string for "Delivering .."

This commit is contained in:
Andrei Vereha 2021-11-12 18:15:03 +01:00
parent 041f1a962e
commit 90b8b8ed00
2 changed files with 2 additions and 1 deletions

View file

@ -694,7 +694,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
} }
val percent = (waited.toFloat() / estimatedDeliveryTimeSeconds) * 100 val percent = (waited.toFloat() / estimatedDeliveryTimeSeconds) * 100
updateBolusProgressDialog( updateBolusProgressDialog(
rh.gs(R.string.bolusdelivering, requestedBolusAmount), rh.gs(R.string.dash_bolusdelivering, requestedBolusAmount),
percent.toInt() percent.toInt()
) )
} }

View file

@ -46,4 +46,5 @@
<string name="omnipod_dash_unknown">Unknown state for the command</string> <string name="omnipod_dash_unknown">Unknown state for the command</string>
<string name="omnipod_common_history_tbr_value">Rate: %1$.2f U, duration: %2$d minutes</string> <string name="omnipod_common_history_tbr_value">Rate: %1$.2f U, duration: %2$d minutes</string>
<string name="omnipod_common_history_bolus_value">%1$.2f U</string> <string name="omnipod_common_history_bolus_value">%1$.2f U</string>
<string name="dash_bolusdelivering">Delivering %1$.2f U</string>
</resources> </resources>