Room navigation : import join room strings
This commit is contained in:
parent
5e684edb8d
commit
14a638626d
3 changed files with 17 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
9
features/joinroom/impl/src/main/res/values/localazy.xml
Normal file
9
features/joinroom/impl/src/main/res/values/localazy.xml
Normal 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. You’ll 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>
|
||||
|
|
@ -233,6 +233,12 @@
|
|||
"includeRegex" : [
|
||||
"screen_room_directory_.*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : ":features:joinroom:impl",
|
||||
"includeRegex" : [
|
||||
"screen_join_room_.*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue