Align style of labels, i18n.

This commit is contained in:
Johannes Mockenhaupt 2018-04-12 21:28:32 +02:00
parent 4acf0c713a
commit 05e07cf943
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 14 additions and 8 deletions

View file

@ -125,7 +125,8 @@
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="Time" /> android:textStyle="bold"
android:text="@string/time" />
<info.nightscout.utils.NumberPicker <info.nightscout.utils.NumberPicker
android:id="@+id/newcarbs_time" android:id="@+id/newcarbs_time"
@ -139,7 +140,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="m" /> android:text="@string/shortminute" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@ -153,7 +154,8 @@
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="Duration"/> android:textStyle="bold"
android:text="@string/duration"/>
<info.nightscout.utils.NumberPicker <info.nightscout.utils.NumberPicker
android:id="@+id/new_carbs_duration" android:id="@+id/new_carbs_duration"
@ -167,7 +169,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="h"/> android:text="@string/shorthour"/>
</LinearLayout> </LinearLayout>
<View <View
@ -187,7 +189,8 @@
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="Carbs" /> android:textStyle="bold"
android:text="@string/overview_carbs_label" />
<info.nightscout.utils.NumberPicker <info.nightscout.utils.NumberPicker
android:id="@+id/newcarb_carbsamount" android:id="@+id/newcarb_carbsamount"
@ -201,7 +204,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:text="g" /> android:text="@string/shortgramm" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@ -240,9 +243,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_vertical"
android:width="60dp" android:width="60dp"
android:padding="2dp" android:padding="2dp"
android:text="@string/careportal_newnstreatment_notes_label" android:text="@string/careportal_newnstreatment_notes_label"

View file

@ -715,6 +715,8 @@
<string name="connectiontimedout">Connection timed out</string> <string name="connectiontimedout">Connection timed out</string>
<string name="food">Food</string> <string name="food">Food</string>
<string name="shortgramm">g</string> <string name="shortgramm">g</string>
<string name="shortminute">m</string>
<string name="shorthour">h</string>
<string name="none"><![CDATA[<none>]]></string> <string name="none"><![CDATA[<none>]]></string>
<string name="shortkilojoul">kJ</string> <string name="shortkilojoul">kJ</string>
<string name="shortenergy">En</string> <string name="shortenergy">En</string>
@ -995,4 +997,5 @@
<string name="key_openapssmb_max_iob" translatable="false">openapsmb_max_iob</string> <string name="key_openapssmb_max_iob" translatable="false">openapsmb_max_iob</string>
<string name="openapssmb_maxiob_title">Maximum total IOB OpenAPS can\'t go over [U]</string> <string name="openapssmb_maxiob_title">Maximum total IOB OpenAPS can\'t go over [U]</string>
<string name="openapssmb_maxiob_summary">This value is called Max IOB in OpenAPS context\nOpenAPS will not add more insulin if current IOB is greater than this value</string> <string name="openapssmb_maxiob_summary">This value is called Max IOB in OpenAPS context\nOpenAPS will not add more insulin if current IOB is greater than this value</string>
<string name="time">Time</string>
</resources> </resources>