Autotune Additional string

This commit is contained in:
Philoul 2022-12-07 00:10:47 +01:00
parent 5f8b337eaa
commit 51e1d4ad04
2 changed files with 2 additions and 1 deletions

View file

@ -436,6 +436,7 @@
<string name="autotune_ic_warning">Selected profile has %1$d IC values. Autotune will use %2$.2f g/U</string>
<string name="autotune_isf_warning">Selected profile has %1$d ISF values. Autotune will use %2$.1f %3$s/U</string>
<string name="autotune_error">Error in input data, try to run again autotune or reduce the number of days</string>
<string name="autotune_error_more_days">Error in input data, increase the number of days</string>
<string name="autotune_warning_during_run">Autotune calculation started, please be patient</string>
<string name="autotune_warning_after_run">Check the results carefully before using it!</string>
<string name="autotune_partial_result">Partial result day %1$d / %2$d tuned</string>

View file

@ -154,7 +154,7 @@ class AutotunePlugin @Inject constructor(
autotuneFS.exportPumpProfile(pumpProfile)
if (calcDays==0) {
result = rh.gs(R.string.autotune_error_more_days)
result = rh.gs(info.nightscout.core.ui.R.string.autotune_error_more_days)
log(result)
calculationRunning = false
tunedProfile = null