diff --git a/features/joinroom/impl/src/main/kotlin/io/element/android/features/joinroom/impl/JoinRoomView.kt b/features/joinroom/impl/src/main/kotlin/io/element/android/features/joinroom/impl/JoinRoomView.kt index e803c8315c..a4a252a41e 100644 --- a/features/joinroom/impl/src/main/kotlin/io/element/android/features/joinroom/impl/JoinRoomView.kt +++ b/features/joinroom/impl/src/main/kotlin/io/element/android/features/joinroom/impl/JoinRoomView.kt @@ -147,14 +147,14 @@ private fun JoinRoomContent( } Spacer(modifier = Modifier.height(16.dp)) Text( - text = "Preview is not available", + text = stringResource(id = R.string.screen_join_room_title_no_preview), style = ElementTheme.typography.fontHeadingMdBold, textAlign = TextAlign.Center, color = ElementTheme.colors.textPrimary, ) Spacer(modifier = Modifier.height(8.dp)) Text( - text = "You must be a member of this room to view the message history.", + text = stringResource(id = R.string.screen_join_room_subtitle_no_preview), style = ElementTheme.typography.fontBodyMdRegular, textAlign = TextAlign.Center, color = ElementTheme.colors.textSecondary, diff --git a/features/joinroom/impl/src/main/res/values/localazy.xml b/features/joinroom/impl/src/main/res/values/localazy.xml new file mode 100644 index 0000000000..1c187d403d --- /dev/null +++ b/features/joinroom/impl/src/main/res/values/localazy.xml @@ -0,0 +1,9 @@ + + + "Join room" + "Knock to join" + "Click the button below and a room administrator will be notified. You’ll be able to join the conversation once approved." + "You must be a member of this room to view the message history." + "Want to join this room?" + "Preview is not available" + diff --git a/tools/localazy/config.json b/tools/localazy/config.json index 35e13730c2..d005eeed7e 100644 --- a/tools/localazy/config.json +++ b/tools/localazy/config.json @@ -233,6 +233,12 @@ "includeRegex" : [ "screen_room_directory_.*" ] + }, + { + "name" : ":features:joinroom:impl", + "includeRegex" : [ + "screen_join_room_.*" + ] } ] }