From c1a719a5e133d7276a47ebeb26113dbd2cfae1e0 Mon Sep 17 00:00:00 2001 From: Hanna Truong Date: Tue, 22 Oct 2024 15:31:17 +1100 Subject: [PATCH] Change wording for legend and make text localizable --- app/src/main/res/layout/nearby_legend.xml | 6 +++--- app/src/main/res/values/strings.xml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/nearby_legend.xml b/app/src/main/res/layout/nearby_legend.xml index 384bbbfd6..6ef7fca73 100644 --- a/app/src/main/res/layout/nearby_legend.xml +++ b/app/src/main/res/layout/nearby_legend.xml @@ -22,7 +22,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="0dp" - android:text="There is a Wikidata item here with no picture yet." + android:text="@string/red_pin" android:textColor="#F74D4D" android:textSize="12sp" app:layout_constraintBottom_toBottomOf="@+id/imageRed" @@ -44,7 +44,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="0dp" - android:text="There is a Wikidata item with a picture here." + android:text="@string/green_prin" android:textColor="#1F7123" android:textSize="12sp" app:layout_constraintBottom_toBottomOf="@+id/imageGreen" @@ -64,7 +64,7 @@ android:id="@+id/textGrey" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="The app is checking if the Wikidata item here has a picture." + android:text="@string/grey_pin" android:textColor="#454547" android:textSize="12sp" app:layout_constraintBottom_toBottomOf="@+id/imageGrey" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b5c2dc529..0672e165a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -832,4 +832,7 @@ Upload your first media by tapping on the add button. Pending Failed Could not load place data + This place has no picture yet, go take one! + This place has a picture already. + Now checking whether this place has a picture.