From c6ad1b59f3882d5bfa8c216f8f2a4777c8f5946b Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Wed, 22 Nov 2017 11:27:49 +0100 Subject: [PATCH] Clean up string resources. --- .../androidaps/plugins/PumpCombo/ComboPlugin.java | 2 +- app/src/main/res/layout/combopump_fragment.xml | 2 +- app/src/main/res/layout/danar_fragment.xml | 4 ++-- app/src/main/res/layout/objectives_fragment.xml | 2 +- app/src/main/res/values-bg/strings.xml | 4 ++-- app/src/main/res/values-cs/strings.xml | 4 ++-- app/src/main/res/values-de/strings.xml | 6 +++--- app/src/main/res/values-es/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 4 ++-- app/src/main/res/values-ko/strings.xml | 4 ++-- app/src/main/res/values-nl/strings.xml | 4 ++-- app/src/main/res/values-ru/strings.xml | 4 ++-- app/src/main/res/values-sv/strings.xml | 4 ++-- app/src/main/res/values/strings.xml | 10 ++++------ 14 files changed, 27 insertions(+), 29 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java index 184a494da2..5a685ffea9 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java @@ -398,7 +398,7 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf // check enough insulin left for bolus if (Math.round(detailedBolusInfo.insulin + 0.5) > reservoirBolusResult.reservoirLevel) { return new PumpEnactResult().success(false).enacted(false) - .comment(MainApp.sResources.getString(R.string.combo_reservoir_level_insufficant_for_bolus)); + .comment(MainApp.sResources.getString(R.string.combo_reservoir_level_insufficient_for_bolus)); } // verify we're update to date and know the most recent bolus diff --git a/app/src/main/res/layout/combopump_fragment.xml b/app/src/main/res/layout/combopump_fragment.xml index 1616d06500..2e10ea1dcf 100644 --- a/app/src/main/res/layout/combopump_fragment.xml +++ b/app/src/main/res/layout/combopump_fragment.xml @@ -74,7 +74,7 @@ android:layout_weight="1.5" android:gravity="end" android:paddingRight="5dp" - android:text="@string/combo_pump_activity" + android:text="@string/combo_pump_activity_label" android:textSize="14sp" /> + android:text="@string/danar_history" />