Use string resource.
This commit is contained in:
parent
c2ae0b7289
commit
1d53305ff9
|
@ -257,7 +257,7 @@ public class LoopPlugin implements PluginBase {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check rate for constrais
|
// check rate for constraints
|
||||||
final APSResult resultAfterConstraints = result.clone();
|
final APSResult resultAfterConstraints = result.clone();
|
||||||
resultAfterConstraints.rate = constraintsInterface.applyBasalConstraints(resultAfterConstraints.rate);
|
resultAfterConstraints.rate = constraintsInterface.applyBasalConstraints(resultAfterConstraints.rate);
|
||||||
|
|
||||||
|
|
|
@ -440,7 +440,7 @@ public class ActionStringHandler {
|
||||||
ret += "OPEN LOOP\n";
|
ret += "OPEN LOOP\n";
|
||||||
}
|
}
|
||||||
final APSInterface aps = MainApp.getConfigBuilder().getActiveAPS();
|
final APSInterface aps = MainApp.getConfigBuilder().getActiveAPS();
|
||||||
ret += "APS: " + ((aps == null) ? "NO APS SELECTED!" : ((PluginBase) aps).getName());
|
ret += "APS: " + ((aps == null) ? R.string.noapsselected : ((PluginBase) aps).getName());
|
||||||
if (activeloop.lastRun != null) {
|
if (activeloop.lastRun != null) {
|
||||||
if (activeloop.lastRun.lastAPSRun != null)
|
if (activeloop.lastRun.lastAPSRun != null)
|
||||||
ret += "\nLast Run: " + DateUtil.timeString(activeloop.lastRun.lastAPSRun);
|
ret += "\nLast Run: " + DateUtil.timeString(activeloop.lastRun.lastAPSRun);
|
||||||
|
|
Loading…
Reference in a new issue