diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 1280a3a86..8fc7cfa70 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -4803,7 +4803,7 @@ }, "constructUsePvmDesc": "Produced in voice message", "lockedMorphFeature": "Waiting to be unlocked", - "leaveSpaceDescription": "The space will be moved to the archive. Other users will be able to see that you have left the chat.", + "leaveSpaceDescription": "By leaving the space, you will leave all of the chats within it. Other users will see that you have left the space.", "whatIsLemma": "What is the lemma?", "constructUseCorMmDesc": "Correct message meaning", "constructUseIncMmDesc": "Incorrect message meaning", @@ -4828,5 +4828,6 @@ "ttsDisbledTitle": "Text-to-speech disabled", "ttsDisabledBody": "You can enable text-to-speech in your learning settings", "noSpaceDescriptionYet": "No space description created yet.", - "tooLargeToSend": "This message is too large to send" + "tooLargeToSend": "This message is too large to send", + "leaveRoomDescription": "You're about to leave this chat. Other users will see that you have left the chat." } \ No newline at end of file diff --git a/assets/l10n/intl_vi.arb b/assets/l10n/intl_vi.arb index ec535edc6..fc4c79470 100644 --- a/assets/l10n/intl_vi.arb +++ b/assets/l10n/intl_vi.arb @@ -3595,7 +3595,6 @@ }, "constructUsePvmDesc": "Đã sử dụng trong tin nhắn thoại", "lockedMorphFeature": "Đang đợi mở khóa", - "leaveSpaceDescription": "Không gian sẽ được chuyển vào lưu trữ. Người khác vẫn thấy bạn rời không gian.", "appWantsToUseForLogin": "Dùng '{server}' để đăng nhập", "@appWantsToUseForLogin": { "type": "String", diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 261386cda..294472b1a 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -927,7 +927,7 @@ class ChatListController extends State // message: L10n.of(context).archiveRoomDescription, message: room.isSpace ? L10n.of(context).leaveSpaceDescription - : L10n.of(context).archiveRoomDescription, + : L10n.of(context).leaveRoomDescription, // Pangea# okLabel: L10n.of(context).leave, cancelLabel: L10n.of(context).cancel, diff --git a/lib/pages/chat_list/chat_list_item.dart b/lib/pages/chat_list/chat_list_item.dart index 3fa4450ea..260468e79 100644 --- a/lib/pages/chat_list/chat_list_item.dart +++ b/lib/pages/chat_list/chat_list_item.dart @@ -56,7 +56,7 @@ class ChatListItem extends StatelessWidget { // message: L10n.of(context).archiveRoomDescription, message: room.isSpace ? L10n.of(context).leaveSpaceDescription - : L10n.of(context).archiveRoomDescription, + : L10n.of(context).leaveRoomDescription, // Pangea# isDestructive: true, ); diff --git a/lib/pangea/chat_settings/pages/pangea_chat_details.dart b/lib/pangea/chat_settings/pages/pangea_chat_details.dart index 0a4afbaf4..1b49fc3cc 100644 --- a/lib/pangea/chat_settings/pages/pangea_chat_details.dart +++ b/lib/pangea/chat_settings/pages/pangea_chat_details.dart @@ -417,7 +417,7 @@ class PangeaChatDetailsView extends StatelessWidget { cancelLabel: L10n.of(context).no, message: room.isSpace ? L10n.of(context).leaveSpaceDescription - : L10n.of(context).archiveRoomDescription, + : L10n.of(context).leaveRoomDescription, isDestructive: true, ); if (confirmed == OkCancelResult.cancel) return; diff --git a/lib/widgets/chat_settings_popup_menu.dart b/lib/widgets/chat_settings_popup_menu.dart index a31b9e5a3..4b9ced80b 100644 --- a/lib/widgets/chat_settings_popup_menu.dart +++ b/lib/widgets/chat_settings_popup_menu.dart @@ -61,7 +61,10 @@ class ChatSettingsPopupMenuState extends State { title: L10n.of(context).areYouSure, okLabel: L10n.of(context).ok, cancelLabel: L10n.of(context).cancel, - message: L10n.of(context).archiveRoomDescription, + // #Pangea + // message: L10n.of(context).archiveRoomDescription, + message: L10n.of(context).leaveRoomDescription, + // Pangea# isDestructive: true, ); if (confirmed == OkCancelResult.ok) {