Room navigation : import join room strings

This commit is contained in:
ganfra
2024-04-09 15:53:25 +02:00
parent 9c1a0b5581
commit 23604e0549
3 changed files with 17 additions and 2 deletions

View File

@@ -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,

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="screen_join_room_join_action">"Join room"</string>
<string name="screen_join_room_knock_action">"Knock to join"</string>
<string name="screen_join_room_subtitle_knock">"Click the button below and a room administrator will be notified. Youll be able to join the conversation once approved."</string>
<string name="screen_join_room_subtitle_no_preview">"You must be a member of this room to view the message history."</string>
<string name="screen_join_room_title_knock">"Want to join this room?"</string>
<string name="screen_join_room_title_no_preview">"Preview is not available"</string>
</resources>

View File

@@ -233,6 +233,12 @@
"includeRegex" : [
"screen_room_directory_.*"
]
},
{
"name" : ":features:joinroom:impl",
"includeRegex" : [
"screen_join_room_.*"
]
}
]
}