From a011ef128abe9c18974be8a8e25b35f7f410ad9f Mon Sep 17 00:00:00 2001 From: David Kaspar Date: Sun, 30 Jul 2023 17:46:46 +0100 Subject: [PATCH] Replaced hard coded text with resource strings Added new translations for cs/de/se Corrected "occurred" --- .../amethyst/ui/actions/RelayInformationDialog.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/actions/RelayInformationDialog.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/actions/RelayInformationDialog.kt index eb26e9f49..0fbd4db7f 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/actions/RelayInformationDialog.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/actions/RelayInformationDialog.kt @@ -323,7 +323,7 @@ fun loadRelayInfo( Toast .makeText( context, - context.getString(R.string.an_error_ocurred_trying_to_get_relay_information, dirtyUrl), + context.getString(R.string.an_error_occurred_trying_to_get_relay_information, dirtyUrl), Toast.LENGTH_SHORT ).show() } @@ -334,7 +334,7 @@ fun loadRelayInfo( Toast .makeText( context, - context.getString(R.string.an_error_ocurred_trying_to_get_relay_information, dirtyUrl), + context.getString(R.string.an_error_occurred_trying_to_get_relay_information, dirtyUrl), Toast.LENGTH_SHORT ).show() } @@ -348,7 +348,7 @@ fun loadRelayInfo( Toast .makeText( context, - context.getString(R.string.an_error_ocurred_trying_to_get_relay_information, dirtyUrl), + context.getString(R.string.an_error_occurred_trying_to_get_relay_information, dirtyUrl), Toast.LENGTH_SHORT ).show() } @@ -361,7 +361,7 @@ fun loadRelayInfo( Toast .makeText( context, - context.getString(R.string.an_error_ocurred_trying_to_get_relay_information, dirtyUrl), + context.getString(R.string.an_error_occurred_trying_to_get_relay_information, dirtyUrl), Toast.LENGTH_SHORT ).show() }