Use string from Localazy.
This commit is contained in:
parent
378d2c0a05
commit
275733757d
3 changed files with 11 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ private fun RoomAliasResolverContent(
|
|||
description = {
|
||||
if (state.resolveState.isFailure()) {
|
||||
Text(
|
||||
text = "Failed to resolve room alias",
|
||||
text = stringResource(id = R.string.screen_room_alias_resolver_resolve_alias_failure),
|
||||
textAlign = TextAlign.Center,
|
||||
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue