From eb000eaf90a61647cf3f2fdd676a5f2f4d573aca Mon Sep 17 00:00:00 2001 From: MARTINI1 Date: Sat, 18 Aug 2018 13:44:15 +0200 Subject: [PATCH] Update spanish strings and extract more hardcode text --- .../activity_ocr_calibration_result.xml | 4 +- .../activity_ocr_manual_calibration.xml | 13 +++--- .../main/res/layout/fraction_appraisal.xml | 9 +--- app/src/main/res/values-es/forms.xml | 45 +++++++++++++++++++ app/src/main/res/values-es/strings.xml | 34 ++++++++++++++ app/src/main/res/values/strings.xml | 7 +++ 6 files changed, 96 insertions(+), 16 deletions(-) create mode 100644 app/src/main/res/values-es/forms.xml diff --git a/app/src/main/res/layout/activity_ocr_calibration_result.xml b/app/src/main/res/layout/activity_ocr_calibration_result.xml index a3e101601..9c5355334 100644 --- a/app/src/main/res/layout/activity_ocr_calibration_result.xml +++ b/app/src/main/res/layout/activity_ocr_calibration_result.xml @@ -105,12 +105,12 @@ android:id="@+id/manualAdjustButton" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Adjust manually"/> + android:text="@string/calibration_result_manual_title" /> diff --git a/app/src/main/res/layout/activity_ocr_manual_calibration.xml b/app/src/main/res/layout/activity_ocr_manual_calibration.xml index bce4d3319..9921903ad 100644 --- a/app/src/main/res/layout/activity_ocr_manual_calibration.xml +++ b/app/src/main/res/layout/activity_ocr_manual_calibration.xml @@ -29,7 +29,7 @@ + android:background="#2e000000"/> @@ -79,7 +79,7 @@ android:id="@+id/fieldExplanation" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="You can drag this window up and down if it's in the way." + android:text="@string/manual_calibration_drag_window" app:layout_constraintStart_toStartOf="@id/floatingEditFieldConstraint" app:layout_constraintTop_toBottomOf="@id/fieldExplanationHead"/> @@ -89,7 +89,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="12dp" - android:text="Param1" + android:text="@string/manual_calibration_param1" app:layout_constraintTop_toBottomOf="@id/fieldExplanation"/> - > diff --git a/app/src/main/res/layout/fraction_appraisal.xml b/app/src/main/res/layout/fraction_appraisal.xml index 6d2d4a12a..e408dd045 100644 --- a/app/src/main/res/layout/fraction_appraisal.xml +++ b/app/src/main/res/layout/fraction_appraisal.xml @@ -291,8 +291,7 @@ + android:orientation="horizontal">