chore: update leave room messages (#2010)
This commit is contained in:
parent
8819499500
commit
04315eaf10
6 changed files with 10 additions and 7 deletions
|
|
@ -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."
|
||||
}
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -927,7 +927,7 @@ class ChatListController extends State<ChatList>
|
|||
// 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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,10 @@ class ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue