i18n reservoir unit.

This commit is contained in:
Johannes Mockenhaupt 2018-01-07 13:02:50 +01:00
parent d72c243140
commit 968431d931
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -173,7 +173,8 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
// reservoir
int reservoirLevel = plugin.getPump().reservoirLevel;
reservoirView.setText(reservoirLevel == -1 ? "" : "" + reservoirLevel + " U");
reservoirView.setText(reservoirLevel == -1 ? "" : "" + reservoirLevel + " "
+ MainApp.sResources.getString(R.string.treatments_wizard_unit_label));
if (ps.insulinState == PumpState.LOW) {
reservoirView.setTextColor(Color.YELLOW);
reservoirView.setTypeface(null, Typeface.BOLD);