REname pump reconnection

This commit is contained in:
triplem 2018-11-04 19:29:44 +01:00
parent e524c43138
commit 4cd9b19868
2 changed files with 3 additions and 2 deletions

View file

@ -469,8 +469,8 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
if (!loopPlugin.isDisconnected()) { if (!loopPlugin.isDisconnected()) {
showSuspendtPump(menu, pumpDescription); showSuspendtPump(menu, pumpDescription);
} else if (!loopPlugin.isSuspended()){ } else {
menu.add(MainApp.gs(R.string.resume)); menu.add(MainApp.gs(R.string.reconnect));
} }
} else if (v == activeProfileView) { } else if (v == activeProfileView) {

View file

@ -584,6 +584,7 @@
<string name="disconnectpumpfor2h">Disconnect pump for 2 h</string> <string name="disconnectpumpfor2h">Disconnect pump for 2 h</string>
<string name="disconnectpumpfor3h">Disconnect pump for 3 h</string> <string name="disconnectpumpfor3h">Disconnect pump for 3 h</string>
<string name="resume">Resume</string> <string name="resume">Resume</string>
<string name="reconnect">Reconnect Pump</string>
<string name="smscommunicator_wrongduration">Wrong duration</string> <string name="smscommunicator_wrongduration">Wrong duration</string>
<string name="smscommunicator_loopsuspended">Loop suspended</string> <string name="smscommunicator_loopsuspended">Loop suspended</string>
<string name="smscommunicator_loopresumed">Loop resumed</string> <string name="smscommunicator_loopresumed">Loop resumed</string>