Use string from Localazy.
This commit is contained in:
parent
44035905fc
commit
8082330bc5
3 changed files with 11 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ private fun RoomAliasResolverContent(
|
||||||
description = {
|
description = {
|
||||||
if (state.resolveState.isFailure()) {
|
if (state.resolveState.isFailure()) {
|
||||||
Text(
|
Text(
|
||||||
text = "Failed to resolve room alias",
|
text = stringResource(id = R.string.screen_room_alias_resolver_resolve_alias_failure),
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
color = MaterialTheme.colorScheme.error,
|
color = MaterialTheme.colorScheme.error,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
<string name="screen_room_alias_resolver_resolve_alias_failure">"Failed to resolve room alias."</string>
|
||||||
|
</resources>
|
||||||
|
|
@ -20,6 +20,12 @@
|
||||||
"screen_signout_.*"
|
"screen_signout_.*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name" : ":features:roomaliasresolver:impl",
|
||||||
|
"includeRegex" : [
|
||||||
|
"screen_room_alias_resolver_.*"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name" : ":features:onboarding:impl",
|
"name" : ":features:onboarding:impl",
|
||||||
"includeRegex" : [
|
"includeRegex" : [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue