1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-10 12:09:27 +01:00

Fossil Hybrid HR: Make calibration screen translatable

This commit is contained in:
Arjan Schrijver 2021-05-22 23:33:06 +02:00 committed by Gitea
parent f68582eb46
commit cac7b27aeb
2 changed files with 15 additions and 9 deletions

View File

@ -11,6 +11,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="10dp"
android:text="@string/qhybrid_calibration_align_hint" /> android:text="@string/qhybrid_calibration_align_hint" />
<Spinner <Spinner
@ -34,25 +35,25 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="counter-dlockwise"/> android:text="@string/qhybrid_calibration_counterclockwise"/>
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_1" android:id="@+id/qhybrid_calibration_counter_clockwise_1"
android:text="1" /> android:text="@string/qhybrid_calibration_1_step" />
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_10" android:id="@+id/qhybrid_calibration_counter_clockwise_10"
android:text="10" /> android:text="@string/qhybrid_calibration_10_steps" />
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_100" android:id="@+id/qhybrid_calibration_counter_clockwise_100"
android:text="100" /> android:text="@string/qhybrid_calibration_100_steps" />
</LinearLayout> </LinearLayout>
@ -66,25 +67,25 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="clockwise"/> android:text="@string/qhybrid_calibration_clockwise"/>
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_1" android:id="@+id/qhybrid_calibration_clockwise_1"
android:text="1" /> android:text="@string/qhybrid_calibration_1_step" />
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_10" android:id="@+id/qhybrid_calibration_clockwise_10"
android:text="10" /> android:text="@string/qhybrid_calibration_10_steps" />
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_100" android:id="@+id/qhybrid_calibration_clockwise_100"
android:text="100" /> android:text="@string/qhybrid_calibration_100_steps" />
</LinearLayout> </LinearLayout>

View File

@ -1143,7 +1143,7 @@
<string name="backstroke">Backstroke</string> <string name="backstroke">Backstroke</string>
<string name="medley">Medley</string> <string name="medley">Medley</string>
<string name="devicetype_nut_mini">Nut mini</string> <string name="devicetype_nut_mini">Nut mini</string>
<string name="qhybrid_calibration_align_hint">align hands to 12:00</string> <string name="qhybrid_calibration_align_hint">Use the buttons below to align the watch hands to 12:00.</string>
<string translatable="false" name="lorem_ipsum">Lorem Ipsum</string> <string translatable="false" name="lorem_ipsum">Lorem Ipsum</string>
<plurals name="widget_alarm_target_hours"> <plurals name="widget_alarm_target_hours">
@ -1180,4 +1180,9 @@
<string name="fossil_hr_edit_action">Edit action</string> <string name="fossil_hr_edit_action">Edit action</string>
<string name="fossil_hr_new_action_cancel">cancel</string> <string name="fossil_hr_new_action_cancel">cancel</string>
<string name="fossil_hr_new_action">New action</string> <string name="fossil_hr_new_action">New action</string>
<string name="qhybrid_calibration_counterclockwise">Counterclockwise</string>
<string name="qhybrid_calibration_clockwise">Clockwise</string>
<string name="qhybrid_calibration_1_step">1 step</string>
<string name="qhybrid_calibration_10_steps">10 steps</string>
<string name="qhybrid_calibration_100_steps">100 steps</string>
</resources> </resources>