Bimba.git

commit a3ebca9e1b8dc158af45004e9bfefbaa05d28616

Author: Adam Evyčędo <git@apiote.xyz>

add minor fixes to strings

 app/src/main/java/xyz/apiote/bimba/czwek/search/Results.kt | 2 +-
 app/src/main/res/values-en-rGB/strings.xml | 3 ++-
 app/src/main/res/values-en-rUS/strings.xml | 3 ++-
 app/src/main/res/values-pl/strings.xml | 1 +
 app/src/main/res/values/strings.xml | 3 ++-


diff --git a/app/src/main/java/xyz/apiote/bimba/czwek/search/Results.kt b/app/src/main/java/xyz/apiote/bimba/czwek/search/Results.kt
index 040b148244d5331bbd508a160687ab3aa747894d..2df5391da9da2b9bb1eddecfc5ba8bc2c4568ef9 100644
--- a/app/src/main/java/xyz/apiote/bimba/czwek/search/Results.kt
+++ b/app/src/main/java/xyz/apiote/bimba/czwek/search/Results.kt
@@ -120,7 +120,7 @@ 					holder?.arrow?.apply {
 						setImageResource(R.drawable.arrow)
 						rotation = angle
 						visibility = View.VISIBLE
-						contentDescription = "Arrow" // TODO
+						contentDescription = context?.getString(R.string.arrow) ?: "Arrow pointing to the stop" // TODO add angle
 					}
 					holder?.distance?.apply {
 						val us = UnitSystem.getSelected(context!!)




diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index d7eabb6448290335cfad6b1b52b8943562ede311..b00ba98ca26bb4cd3ff5911e98920bbbd4505df8 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -273,7 +273,7 @@ 	Bimba has crashed
 	<string name="acra_notification_text">An unexpected obstruction has shown up on Bimba’s way. Do you want to send a report?</string>
 	<string name="send">Send</string>
 	<string name="discard">Discard</string>
-	<string name="send_with_comment">Send with commend</string>
+	<string name="send_with_comment">Send with comment</string>
 	<string name="acra_notification_comment">Comment added to crash report</string>
 	<string name="filtered_departures">Filtered departures</string>
 	<string name="alerts">Alerts</string>
@@ -286,6 +286,7 @@ 	link to email
 	<string name="transitous_description">A community-run provider-neutral international public transport routing service. Coverage is available at https://transitous.org/sources/</string>
 	<string name="transitous_attribution">Transitous (https://transitous.org) API provided by Spline (https://routing.spline.de). Localities (https://github.com/public-transport/transitous/tree/main/feeds) maintained by the community.</string>
 	<string name="local_time">local time</string>
+	<string name="arrow">Arrow pointing to the stop</string>
     <string name="departure_arrived">arrived</string>
 	<string name="arrival_approximate">approx. arr.</string>
 	<string name="arrival">arrival</string>




diff --git a/app/src/main/res/values-en-rGB/strings.xml b/app/src/main/res/values-en-rGB/strings.xml
index bdc076567a58b017c5a152746e2ba04f6e14a2b6..febf014d61a368f90e36f1774a2b1fbcf8f3baff 100644
--- a/app/src/main/res/values-en-rGB/strings.xml
+++ b/app/src/main/res/values-en-rGB/strings.xml
@@ -271,7 +271,7 @@ 	Bimba has crashed
 	<string name="acra_notification_text">An unexpected obstruction has shown up on Bimba’s way. Do you want to send a report?</string>
 	<string name="send">Send</string>
 	<string name="discard">Discard</string>
-	<string name="send_with_comment">Send with commend</string>
+	<string name="send_with_comment">Send with comment</string>
 	<string name="acra_notification_comment">Comment added to crash report</string>
 	<string name="filtered_departures">Filtered departures</string>
 	<string name="alerts">Alerts</string>
@@ -284,6 +284,7 @@ 	link to email
 	<string name="transitous_description">A community-run provider-neutral international public transport routing service. Coverage is available at https://transitous.org/sources/</string>
 	<string name="transitous_attribution">Transitous (https://transitous.org) API provided by Spline (https://routing.spline.de). Localities (https://github.com/public-transport/transitous/tree/main/feeds) maintained by the community.</string>
 	<string name="local_time">local time</string>
+	<string name="arrow">Arrow pointing to the stop</string>
     <string name="departure_arrived">arrived</string>
 	<string name="arrival_approximate">approx. arr.</string>
 	<string name="arrival">arrival</string>




diff --git a/app/src/main/res/values-en-rUS/strings.xml b/app/src/main/res/values-en-rUS/strings.xml
index 075852ab7b5dd2b4fc0fca4e326a543a1ea2f949..53b5db71611451c372af76e76bda67502c14d749 100644
--- a/app/src/main/res/values-en-rUS/strings.xml
+++ b/app/src/main/res/values-en-rUS/strings.xml
@@ -268,7 +268,7 @@ 	Bimba crashed
 	<string name="acra_notification_text">An unexpected obstruction showed up on Bimba’s way. Do you want to send a report?</string>
 	<string name="send">Send</string>
 	<string name="discard">Discard</string>
-	<string name="send_with_comment">Send with commend</string>
+	<string name="send_with_comment">Send with comment</string>
 	<string name="acra_notification_comment">Comment added to crash report</string>
 	<string name="filtered_departures">Filtered departures</string>
 	<string name="alerts">Alerts</string>
@@ -282,6 +282,7 @@ 	No email app installed
 	<string name="transitous_description">A community-run provider-neutral international public transport routing service. Coverage is available at https://transitous.org/sources/</string>
 	<string name="transitous_attribution">Transitous (https://transitous.org) API provided by Spline (https://routing.spline.de). Localities (https://github.com/public-transport/transitous/tree/main/feeds) maintained by the community.</string>
 	<string name="local_time">local time</string>
+	<string name="arrow">Arrow pointing to the stop</string>
     <string name="departure_arrived">arrived</string>
 	<string name="arrival_approximate">approx. arr.</string>
 	<string name="arrival">arrival</string>




diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index 9e162712580cf6ac01c38c1dec5c8a8337d52f9f..09dc3798658a04c334efe19c2f20fe8924a6a437 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -302,6 +302,7 @@     link do e-maila
     <string name="no_email_app">Brak aplikacji e-mail</string>
     <string name="transitous_attribution">API Transitous (https://transitous.org) dostarczane przez Spline (https://routing.spline.de). Lokalizacje (https://github.com/public-transport/transitous/tree/main/feeds) utrzymywane przez społeczność.</string>
     <string name="local_time">czas lokalny</string>
+	<string name="arrow">strzałka wskazująca kierunek do przystanku</string>
     <string name="departure_arrived">przyjechał</string>
     <string name="arrival_approximate">przyb. przyj.</string>
     <string name="arrival">przyjazd</string>