diff --git a/features/createroom/impl/src/main/kotlin/io/element/android/features/createroom/impl/configureroom/ConfigureRoomView.kt b/features/createroom/impl/src/main/kotlin/io/element/android/features/createroom/impl/configureroom/ConfigureRoomView.kt index e6550cb008..36b8ba7f1e 100644 --- a/features/createroom/impl/src/main/kotlin/io/element/android/features/createroom/impl/configureroom/ConfigureRoomView.kt +++ b/features/createroom/impl/src/main/kotlin/io/element/android/features/createroom/impl/configureroom/ConfigureRoomView.kt @@ -228,7 +228,7 @@ fun RoomNameWithAvatar( LabelledTextField( label = stringResource(R.string.screen_create_room_room_name_label), value = roomName, - placeholder = stringResource(R.string.screen_create_room_room_name_placeholder), + placeholder = stringResource(StringR.string.common_room_name_placeholder), singleLine = true, onValueChange = onRoomNameChanged, ) @@ -245,7 +245,7 @@ fun RoomTopic( modifier = modifier, label = stringResource(R.string.screen_create_room_topic_label), value = topic, - placeholder = stringResource(R.string.screen_create_room_topic_placeholder), + placeholder = stringResource(StringR.string.common_topic_placeholder), onValueChange = onTopicChanged, maxLines = 3, ) diff --git a/features/invitelist/impl/src/main/res/values/localazy.xml b/features/invitelist/impl/src/main/res/values/localazy.xml index 966b56a625..6d52033110 100644 --- a/features/invitelist/impl/src/main/res/values/localazy.xml +++ b/features/invitelist/impl/src/main/res/values/localazy.xml @@ -6,4 +6,4 @@ "Decline chat" "No Invites" "%1$s (%2$s) invited you" - + \ No newline at end of file diff --git a/features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/edit/RoomDetailsEditView.kt b/features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/edit/RoomDetailsEditView.kt index 414eaf9831..dd292de211 100644 --- a/features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/edit/RoomDetailsEditView.kt +++ b/features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/edit/RoomDetailsEditView.kt @@ -145,7 +145,7 @@ fun RoomDetailsEditView( LabelledTextField( label = stringResource(id = R.string.screen_room_details_room_name_label), value = state.roomName, - placeholder = stringResource(id = R.string.screen_room_details_room_name_placeholder), + placeholder = stringResource(StringR.string.common_room_name_placeholder), singleLine = true, onValueChange = { state.eventSink(RoomDetailsEditEvents.UpdateRoomName(it)) }, ) @@ -160,9 +160,9 @@ fun RoomDetailsEditView( if (state.canChangeTopic) { LabelledTextField( - label = stringResource(id = StringR.string.common_topic), + label = stringResource(StringR.string.common_topic), value = state.roomTopic, - placeholder = stringResource(id = R.string.screen_room_details_topic_placeholder), + placeholder = stringResource(StringR.string.common_topic_placeholder), maxLines = 10, onValueChange = { state.eventSink(RoomDetailsEditEvents.UpdateRoomTopic(it)) }, ) diff --git a/features/roomdetails/impl/src/main/res/values/localazy.xml b/features/roomdetails/impl/src/main/res/values/localazy.xml index 4f45bb6b49..5617b0c1ef 100644 --- a/features/roomdetails/impl/src/main/res/values/localazy.xml +++ b/features/roomdetails/impl/src/main/res/values/localazy.xml @@ -12,6 +12,7 @@ "Unable to update room" "Messages are secured with locks. Only you and the recipients have the unique keys to unlock them." "Message encryption enabled" + "Invite people" "Room name" "e.g. Product Sprint" "Share room" @@ -25,7 +26,6 @@ "Unblock" "On unblocking the user, you will be able to see all messages by them again." "Unblock user" - "Invite friends to Element" "Leave room" "People" "Security" diff --git a/libraries/ui-strings/src/main/res/values/localazy.xml b/libraries/ui-strings/src/main/res/values/localazy.xml index 954d078d01..ece8949270 100644 --- a/libraries/ui-strings/src/main/res/values/localazy.xml +++ b/libraries/ui-strings/src/main/res/values/localazy.xml @@ -89,6 +89,7 @@ "Report a bug" "Report submitted" "Room name" + "e.g. Product Sprint" "Search for someone" "Search results" "Security" @@ -102,6 +103,7 @@ "Success" "Suggestions" "Topic" + "What is this room about?" "Unable to decrypt" "We were unable to successfully send invites to one or more users." "Unable to send invite(s)"