Update wording of the remove message confirmation dialog.

And get strings from Localazy
This commit is contained in:
Benoit Marty
2026-09-09 16:26:51 +02:00
parent 50ec5f7dec
commit a7ff96c1c3
11 changed files with 23 additions and 23 deletions
@@ -459,10 +459,10 @@ fun MessagesView(
if (state.redactEventAction is MessagesState.ConfirmingRedaction) {
TextFieldDialog(
title = stringResource(CommonStrings.screen_room_confirm_removal_title),
content = stringResource(CommonStrings.screen_room_confirm_removal_message),
placeholder = stringResource(CommonStrings.common_reason),
supportingText = stringResource(CommonStrings.common_optional),
title = stringResource(R.string.screen_room_confirm_removal_title),
content = stringResource(R.string.screen_room_confirm_removal_message),
placeholder = stringResource(R.string.screen_room_confirm_removal_reason_placeholder_android),
supportingText = stringResource(R.string.screen_room_confirm_removal_reason_supporting_text),
value = null,
submitText = stringResource(CommonStrings.action_remove),
destructiveSubmit = true,
@@ -48,6 +48,10 @@
<string name="screen_room_attachment_source_location">"Udostępnij lokalizację"</string>
<string name="screen_room_attachment_source_poll">"Ankieta"</string>
<string name="screen_room_attachment_text_formatting">"Formatowanie tekstu"</string>
<string name="screen_room_confirm_removal_message">"Czy na pewno chcesz usunąć wiadomość?"</string>
<string name="screen_room_confirm_removal_reason_label">"Powód (opcjonalne)"</string>
<string name="screen_room_confirm_removal_reason_placeholder">"Powód…"</string>
<string name="screen_room_confirm_removal_title">"Potwierdź usunięcie"</string>
<string name="screen_room_encrypted_history_banner">"Historia wiadomości jest obecnie niedostępna."</string>
<string name="screen_room_encrypted_history_banner_unverified">"Historia wiadomości jest niedostępna w tym pokoju. Zweryfikuj to urządzenie, aby zobaczyć historię wiadomości."</string>
<string name="screen_room_invite_again_alert_message">"Czy chcesz zaprosić ich z powrotem?"</string>
@@ -48,6 +48,10 @@
<string name="screen_room_attachment_source_location">"Поделиться местоположением"</string>
<string name="screen_room_attachment_source_poll">"Опрос"</string>
<string name="screen_room_attachment_text_formatting">"Форматирование текста"</string>
<string name="screen_room_confirm_removal_message">"Вы уверены, что хотите удалить это сообщение?"</string>
<string name="screen_room_confirm_removal_reason_label">"Причина (необязательно)"</string>
<string name="screen_room_confirm_removal_reason_placeholder">"Введите…"</string>
<string name="screen_room_confirm_removal_title">"Подтвердите удаление"</string>
<string name="screen_room_encrypted_history_banner">"В настоящее время история сообщений недоступна в этой комнате."</string>
<string name="screen_room_encrypted_history_banner_unverified">"История сообщений в этой комнате недоступна. Проверьте это устройство, чтобы увидеть историю сообщений."</string>
<string name="screen_room_invite_again_alert_message">"Хотите пригласить их снова?"</string>
@@ -46,6 +46,10 @@
<string name="screen_room_attachment_source_location">"共享位置"</string>
<string name="screen_room_attachment_source_poll">"投票"</string>
<string name="screen_room_attachment_text_formatting">"文本格式化"</string>
<string name="screen_room_confirm_removal_message">"确定要移除此消息?"</string>
<string name="screen_room_confirm_removal_reason_label">"理由(可选)"</string>
<string name="screen_room_confirm_removal_reason_placeholder">"输入…"</string>
<string name="screen_room_confirm_removal_title">"确认移除"</string>
<string name="screen_room_encrypted_history_banner">"消息历史记录当前不可用。"</string>
<string name="screen_room_encrypted_history_banner_unverified">"消息历史在此房间不可用。请验证此设备以查看。"</string>
<string name="screen_room_invite_again_alert_message">"你想邀请他们回来吗?"</string>
@@ -47,6 +47,12 @@
<string name="screen_room_attachment_source_location">"Share location"</string>
<string name="screen_room_attachment_source_poll">"Poll"</string>
<string name="screen_room_attachment_text_formatting">"Text Formatting"</string>
<string name="screen_room_confirm_removal_message">"Are you sure you wish to remove this message?"</string>
<string name="screen_room_confirm_removal_reason_label">"Reason (optional)"</string>
<string name="screen_room_confirm_removal_reason_placeholder">"Enter…"</string>
<string name="screen_room_confirm_removal_reason_placeholder_android">"Reason…"</string>
<string name="screen_room_confirm_removal_reason_supporting_text">"(Optional)"</string>
<string name="screen_room_confirm_removal_title">"Confirm removal"</string>
<string name="screen_room_encrypted_history_banner">"Message history is currently unavailable."</string>
<string name="screen_room_encrypted_history_banner_unverified">"Message history is unavailable in this room. Verify this device to see your message history."</string>
<string name="screen_room_invite_again_alert_message">"Would you like to invite them back?"</string>