From 238d0c5331c45000ab5047b2af033a20abfafe05 Mon Sep 17 00:00:00 2001 From: ialokim <ialokim@mailbox.org> Date: Tue, 21 Jun 2022 15:25:28 +0200 Subject: [PATCH] more verbous content description for back buttons --- .../kotlin/org/briarproject/briar/desktop/login/ErrorScreen.kt | 2 +- .../org/briarproject/briar/desktop/login/StartupScreen.kt | 2 +- .../src/main/resources/strings/BriarDesktop.properties | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/ErrorScreen.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/ErrorScreen.kt index fc3ba64c07..adf541b912 100644 --- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/ErrorScreen.kt +++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/ErrorScreen.kt @@ -132,7 +132,7 @@ fun ErrorScreen( if (onBackButton != null) { IconButton(onClick = onBackButton) { - Icon(Icons.Filled.ArrowBack, i18n("back")) + Icon(Icons.Filled.ArrowBack, i18n("access.return_to_previous_screen")) } } diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/StartupScreen.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/StartupScreen.kt index cae1225cf1..e03d14f283 100644 --- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/StartupScreen.kt +++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/login/StartupScreen.kt @@ -75,7 +75,7 @@ fun StartupScreenScaffold( onClick = onBackButton, modifier = Modifier.align(Alignment.TopStart) ) { - Icon(Icons.Filled.ArrowBack, i18n("back")) + Icon(Icons.Filled.ArrowBack, i18n("access.return_to_previous_screen")) } } diff --git a/briar-desktop/src/main/resources/strings/BriarDesktop.properties b/briar-desktop/src/main/resources/strings/BriarDesktop.properties index 2322ebaea0..f95ee998a6 100644 --- a/briar-desktop/src/main/resources/strings/BriarDesktop.properties +++ b/briar-desktop/src/main/resources/strings/BriarDesktop.properties @@ -20,6 +20,7 @@ access.password.hide=Hide password access.settings.current_value=Current value access.settings.click_to_change_value=Click to change value access.settings.click_to_change_password=Click to change password +access.return_to_previous_screen=Return to previous screen # Contacts contacts.none_selected.title=No contact selected -- GitLab