diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefBasePlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefBasePlugin.java
index 17a28f04c1..e57b068620 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefBasePlugin.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefBasePlugin.java
@@ -83,7 +83,7 @@ public abstract class InsulinOrefBasePlugin implements PluginBase, InsulinInterf
String comment = commentStandardText();
double userDia = getUserDefinedDia();
if(userDia < MIN_DIA){
- comment += "\n" + String.format("DIA of %s too short - using %s instead!", userDia, MIN_DIA);
+ comment += "\n" + String.format(MainApp.sResources.getString(R.string.dia_too_short), userDia, MIN_DIA);
}
return comment;
}
diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefFreePeakPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefFreePeakPlugin.java
index 9d0c50f06e..4a0c7aaeb9 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefFreePeakPlugin.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefFreePeakPlugin.java
@@ -1,5 +1,6 @@
package info.nightscout.androidaps.plugins.InsulinOrefCurves;
+import info.nightscout.androidaps.MainApp;
import info.nightscout.androidaps.R;
import info.nightscout.utils.SP;
@@ -21,7 +22,7 @@ public class InsulinOrefFreePeakPlugin extends InsulinOrefBasePlugin {
@Override
public String getName() {
- return "Free-Peak Oref";
+ return MainApp.sResources.getString(R.string.free_peak_oref);
}
@Override
@@ -31,12 +32,12 @@ public class InsulinOrefFreePeakPlugin extends InsulinOrefBasePlugin {
@Override
public String getFriendlyName() {
- return "Free-Peak Oref";
+ return MainApp.sResources.getString(R.string.free_peak_oref);
}
@Override
public String commentStandardText() {
- return "Fiasp";
+ return MainApp.sResources.getString(R.string.insulin_peak) + ": " + getPeak();
}
@Override
diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefRapidActingPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefRapidActingPlugin.java
index 0643fd24a0..6f6973bc58 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefRapidActingPlugin.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefRapidActingPlugin.java
@@ -21,7 +21,7 @@ public class InsulinOrefRapidActingPlugin extends InsulinOrefBasePlugin {
@Override
public String getName() {
- return "Rapid-Acting Oref";
+ return MainApp.sResources.getString(R.string.rapid_acting_oref);
}
@Override
@@ -31,7 +31,7 @@ public class InsulinOrefRapidActingPlugin extends InsulinOrefBasePlugin {
@Override
public String getFriendlyName() {
- return "Rapid-Acting Oref";
+ return MainApp.sResources.getString(R.string.rapid_acting_oref);
}
@Override
diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefUltraRapidActingPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefUltraRapidActingPlugin.java
index 0e0f34efb4..975707d38b 100644
--- a/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefUltraRapidActingPlugin.java
+++ b/app/src/main/java/info/nightscout/androidaps/plugins/InsulinOrefCurves/InsulinOrefUltraRapidActingPlugin.java
@@ -21,7 +21,7 @@ public class InsulinOrefUltraRapidActingPlugin extends InsulinOrefBasePlugin {
@Override
public String getName() {
- return "Ultra-Rapid-Acting Oref";
+ return MainApp.sResources.getString(R.string.ultrarapid_oref);
}
@Override
@@ -31,12 +31,12 @@ public class InsulinOrefUltraRapidActingPlugin extends InsulinOrefBasePlugin {
@Override
public String getFriendlyName() {
- return "Ultra-Rapid-Acting Oref";
+ return MainApp.sResources.getString(R.string.ultrarapid_oref);
}
@Override
public String commentStandardText() {
- return "Fiasp";
+ return MainApp.sResources.getString(R.string.ultrafastactinginsulincomment);
}
@Override
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 45462ef14f..3d5810bf62 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -580,6 +580,7 @@
Insulin
Fast Acting Insulin
Novorapid, Novolog, Humalog
+ Fiasp
INS
Fast Acting Insulin Prolonged
key_usersuperbolus
@@ -692,6 +693,12 @@
insulin_oref_peak
IOB Curve Peak
Peak [min]
+ Free-Peak Oref
+ Rapid-Acting Oref
+ Ultra-Rapid Oref
+ "DIA of %s too short - using %s instead!"
+
+