configbuilder fragment translations
This commit is contained in:
parent
2b01b2a10b
commit
9f8d7d3dca
|
@ -287,7 +287,7 @@ public class ConfigBuilderFragment extends Fragment implements PluginBase, PumpI
|
|||
t.carbs = (double) result.carbsDelivered;
|
||||
t.created_at = new Date();
|
||||
try {
|
||||
MainApp.instance().getDbHelper().getDaoTreatments().create(t);
|
||||
MainApp.getDbHelper().getDaoTreatments().create(t);
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -368,8 +368,7 @@ public class ConfigBuilderFragment extends Fragment implements PluginBase, PumpI
|
|||
*/
|
||||
@Override
|
||||
public PumpEnactResult applyAPSRequest(APSResult request) {
|
||||
Double rateAfterConstraints = applyBasalConstraints(request.rate);
|
||||
request.rate = rateAfterConstraints;
|
||||
request.rate = applyBasalConstraints(request.rate);
|
||||
PumpEnactResult result = null;
|
||||
|
||||
if (request.rate == getBaseBasalRate()) {
|
||||
|
|
|
@ -9,35 +9,34 @@
|
|||
android:id="@+id/configbuilder_simpleitem_checkboxenabled"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_gravity="center"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:text="Enabled" />
|
||||
android:text="@string/enabled" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/configbuilder_simpleitem_checkboxvisible"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_gravity="center"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:text="Show" />
|
||||
android:text="@string/visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/configbuilder_simpleitem_upimage"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:src="@android:drawable/arrow_up_float" />
|
||||
android:src="@android:drawable/arrow_up_float"
|
||||
android:contentDescription="@string/up" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/configbuilder_simpleitem_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="Plugin name"
|
||||
android:text=""
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
|
|
|
@ -196,4 +196,7 @@
|
|||
<string name="configbuilder_nsclientversion_label">Verze NSClienta:</string>
|
||||
<string name="send">POSLAT</string>
|
||||
<string name="missing">Chybí</string>
|
||||
<string name="enabled">Povolený</string>
|
||||
<string name="visible">Viditelný</string>
|
||||
<string name="up">Nahoru</string>
|
||||
</resources>
|
|
@ -204,5 +204,8 @@
|
|||
<string name="configbuilder_nightscoutversion_label">Nightscout version:</string>
|
||||
<string name="send">SEND</string>
|
||||
<string name="missing">Missing</string>
|
||||
<string name="enabled">Enabled</string>
|
||||
<string name="visible">Visible</string>
|
||||
<string name="up">Up</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue