Use string resource.
This commit is contained in:
parent
c2ae0b7289
commit
1d53305ff9
2 changed files with 2 additions and 2 deletions
|
@ -257,7 +257,7 @@ public class LoopPlugin implements PluginBase {
|
|||
return;
|
||||
}
|
||||
|
||||
// check rate for constrais
|
||||
// check rate for constraints
|
||||
final APSResult resultAfterConstraints = result.clone();
|
||||
resultAfterConstraints.rate = constraintsInterface.applyBasalConstraints(resultAfterConstraints.rate);
|
||||
|
||||
|
|
|
@ -440,7 +440,7 @@ public class ActionStringHandler {
|
|||
ret += "OPEN LOOP\n";
|
||||
}
|
||||
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.lastAPSRun != null)
|
||||
ret += "\nLast Run: " + DateUtil.timeString(activeloop.lastRun.lastAPSRun);
|
||||
|
|
Loading…
Reference in a new issue