rename to fix Crowdin

This commit is contained in:
Milos Kozak 2022-02-07 16:46:26 +01:00
parent 3a1ca9e061
commit 68161f9703
2 changed files with 6 additions and 6 deletions

View file

@ -232,8 +232,8 @@ public class LocalInsightPlugin extends PumpPluginBase implements Pump, Constrai
pumpDescription = new PumpDescription();
pumpDescription.fillFor(PumpType.ACCU_CHEK_INSIGHT);
lastBolusTimestamp = sp.getLong(R.string.key_insight_lastbolustimestamp,0L);
lastBolusAmount = sp.getDouble(R.string.key_insight_lastbolusamount, 0.0);
lastBolusTimestamp = sp.getLong(R.string.key_insight_last_bolus_timestamp,0L);
lastBolusAmount = sp.getDouble(R.string.key_insight_last_bolus_amount, 0.0);
}
public TBROverNotificationBlock getTBROverNotificationBlock() {
@ -1444,9 +1444,9 @@ public class LocalInsightPlugin extends PumpPluginBase implements Pump, Constrai
PumpType.ACCU_CHEK_INSIGHT,
serial);
lastBolusTimestamp = bolusID.getTimestamp();
sp.putLong(R.string.key_insight_lastbolustimestamp,lastBolusTimestamp);
sp.putLong(R.string.key_insight_last_bolus_timestamp,lastBolusTimestamp);
lastBolusAmount = event.getImmediateAmount();
sp.putDouble(R.string.key_insight_lastbolusamount, lastBolusAmount);
sp.putDouble(R.string.key_insight_last_bolus_amount, lastBolusAmount);
}
if (event.getBolusType() == BolusType.EXTENDED || event.getBolusType() == BolusType.MULTIWAVE) {
if (event.getDuration() > 0 && profileFunction.getProfile(bolusID.getTimestamp()) != null)

View file

@ -47,8 +47,8 @@
<string name="key_insight_min_recovery_duration" translatable="false">insight_min_recovery_duration</string>
<string name="key_insight_max_recovery_duration" translatable="false">insight_max_recovery_duration</string>
<string name="key_insight_disconnect_delay" translatable="false">insight_disconnect_delay</string>
<string name="key_insight_lastbolusamount" translatable="false">insight_lastbolusamount</string>
<string name="key_insight_lastbolustimestamp" translatable="false">insight_lastbolustimestamp</string>
<string name="key_insight_last_bolus_amount" translatable="false">insight_lastbolusamount</string>
<string name="key_insight_last_bolus_timestamp" translatable="false">insight_lastbolustimestamp</string>
<string name="disable_vibration_auto">Disable vibrations on automated bolus delivery</string>
<string name="disable_vibration_auto_summary">For SMB and Temp Basal with TBR emulation (only available with Insight firmware 3.x)</string>
<string name="timeout_during_handshake">Timeout during handshake - reset bluetooth</string>