diff --git a/app/src/main/java/info/nightscout/androidaps/dialogs/CareDialog.kt b/app/src/main/java/info/nightscout/androidaps/dialogs/CareDialog.kt
index 6e80ae72b5..41eef58548 100644
--- a/app/src/main/java/info/nightscout/androidaps/dialogs/CareDialog.kt
+++ b/app/src/main/java/info/nightscout/androidaps/dialogs/CareDialog.kt
@@ -210,7 +210,7 @@ class CareDialog : DialogFragmentWithDate() {
valuesWithUnit.add(ValueWithUnit.TherapyEventMeterType(meterType))
}
if (options == EventType.NOTE || options == EventType.EXERCISE) {
- actions.add(rh.gs(R.string.careportal_newnstreatment_duration_label) + ": " + rh.gs(R.string.format_mins, binding.duration.value.toInt()))
+ actions.add(rh.gs(R.string.duration_label) + ": " + rh.gs(R.string.format_mins, binding.duration.value.toInt()))
therapyEvent.duration = T.mins(binding.duration.value.toLong()).msecs()
valuesWithUnit.add(ValueWithUnit.Minute(binding.duration.value.toInt()).takeIf { !binding.duration.value.equals(0.0) } )
}
diff --git a/app/src/main/res/layout/autotune_fragment.xml b/app/src/main/res/layout/autotune_fragment.xml
index 744b9a260e..f72b666298 100644
--- a/app/src/main/res/layout/autotune_fragment.xml
+++ b/app/src/main/res/layout/autotune_fragment.xml
@@ -90,7 +90,7 @@
android:layout_weight="1"
android:paddingStart="5dp"
android:paddingEnd="5dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
diff --git a/app/src/main/res/layout/dialog_care.xml b/app/src/main/res/layout/dialog_care.xml
index b0cb311f67..6f2c623fab 100644
--- a/app/src/main/res/layout/dialog_care.xml
+++ b/app/src/main/res/layout/dialog_care.xml
@@ -128,7 +128,7 @@
android:layout_gravity="center_horizontal"
android:width="120dp"
android:padding="10dp"
- android:text="@string/careportal_newnstreatment_duration_label"
+ android:text="@string/duration_label"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" />
@@ -136,7 +136,7 @@
android:id="@+id/duration"
android:layout_width="130dp"
android:layout_height="40dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
@@ -100,7 +100,7 @@
android:id="@+id/duration"
android:layout_width="130dp"
android:layout_height="40dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
@@ -102,7 +102,7 @@
android:layout_width="130dp"
android:layout_height="40dp"
android:layout_marginBottom="2dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
@@ -139,7 +139,7 @@
android:id="@+id/duration"
android:layout_width="130dp"
android:layout_height="40dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
@@ -102,7 +102,7 @@
android:id="@+id/duration"
android:layout_width="130dp"
android:layout_height="40dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
Meter
Sensor
Carb time
- Duration
Profile
Glucose type
TempBasal
@@ -547,7 +546,6 @@
Controls from Watch
Set Temp-Targets and enter Treatments from the watch.
Food
- g
]]>
kJ
En
@@ -655,8 +653,6 @@
Allow automated crash reporting and feature usage data to be sent to the developers via the fabric.io service.
Please update your Dexcom app to supported version
Dexcom app is not installed.
- Start Activity TT
- Start Eating soon TT
Do not bolus, record only
Category
Subcategory
@@ -669,7 +665,6 @@
Carbs On Board
Insulin On Board
Basals
- Start Hypo TT
Running dev version. Closed loop is disabled.
Engineering mode enabled
ProfileSwitch missing. Please do a profile switch or press \"Activate Profile\" in the LocalProfile.
@@ -829,8 +824,6 @@
Log settings
Reset to defaults
NSClient malfunction. Consider NS and NSClient restart.
- Time offset
- Remind to bolus later
aps_mode
Preferred APS mode
Total
@@ -906,7 +899,6 @@
%1$.0fg IC: %2$.1f
%1$.1fg IC: %2$.1f
%1$d%%
- min
Profile name:
Selected:
Units
@@ -1131,7 +1123,6 @@
insulin
blood glucose
outdated
- set reminder
add new profile
clone current profile
delete current profile
diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml
index 10d9f2b8b6..c53f59bf2d 100644
--- a/core/src/main/res/values/strings.xml
+++ b/core/src/main/res/values/strings.xml
@@ -199,6 +199,8 @@
Run alarm in %1$d min
Bolus reported an error. Manually check real delivered amount
Bolus reminder
+ Duration
+ g
Limiting max basal rate to %1$.2f U/h because of %2$s
diff --git a/ui/src/main/res/layout/dialog_carbs.xml b/ui/src/main/res/layout/dialog_carbs.xml
index 479f03323e..f364866639 100644
--- a/ui/src/main/res/layout/dialog_carbs.xml
+++ b/ui/src/main/res/layout/dialog_carbs.xml
@@ -148,7 +148,7 @@
android:layout_weight="1"
android:padding="10dp"
android:width="120dp"
- android:text="@string/careportal_newnstreatment_duration_label"
+ android:text="@string/duration_label"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" />
@@ -158,7 +158,7 @@
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="2dp"
- app:customContentDescription="@string/careportal_newnstreatment_duration_label" />
+ app:customContentDescription="@string/duration_label" />
Carbs constraint applied
TT
Dialog canceled
+ Start Activity TT
+ Start Eating soon TT
+ Start Hypo TT
+ Time offset
+ min
+ Remind to bolus later
+
+ set reminder