From 8d070b370e680d3bf22b4ff5a3e78ce95e7b6120 Mon Sep 17 00:00:00 2001
From: Myzel394 <50424412+Myzel394@users.noreply.github.com>
Date: Fri, 23 Feb 2024 23:20:16 +0100
Subject: [PATCH] fix: Add missing i18n strings to
CustomRecordingNotificationsScreen
Signed-off-by: Myzel394 <50424412+Myzel394@users.noreply.github.com>
---
.../alibi/ui/screens/CustomRecordingNotificationsScreen.kt | 3 ++-
app/src/main/res/values/strings.xml | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/app/src/main/java/app/myzel394/alibi/ui/screens/CustomRecordingNotificationsScreen.kt b/app/src/main/java/app/myzel394/alibi/ui/screens/CustomRecordingNotificationsScreen.kt
index ca71964..56fab20 100644
--- a/app/src/main/java/app/myzel394/alibi/ui/screens/CustomRecordingNotificationsScreen.kt
+++ b/app/src/main/java/app/myzel394/alibi/ui/screens/CustomRecordingNotificationsScreen.kt
@@ -71,9 +71,10 @@ fun CustomRecordingNotificationsScreen(
},
navigationIcon = {
IconButton(onClick = onBackNavigate) {
+ val label = stringResource(R.string.goBack)
Icon(
Icons.AutoMirrored.Filled.ArrowBack,
- contentDescription = "Back"
+ contentDescription = label,
)
}
},
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 73a1745..15b1d26 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -190,4 +190,5 @@
Unknown
To protect your privacy, Alibi stores its batches into its own private, encrypted storage. This storage is only accessible by Alibi and can\'t be accessed by other apps or by a possible intruder. Once you save the recording, you will be asked where you want to save the recording to.
Please rotate your device to portait mode
+ Back
\ No newline at end of file