feat: updated copy for interaction error messages show in a conversation

pull/2789/head
William Grant 2 years ago
parent abfc638c2c
commit 7579ec98e8

@ -105,9 +105,11 @@
"hideConversation": "Hide Conversation", "hideConversation": "Hide Conversation",
"hideNoteToSelfConfirmation": "Are you sure you want to hide your <b>Note to Self</b> conversation?", "hideNoteToSelfConfirmation": "Are you sure you want to hide your <b>Note to Self</b> conversation?",
"hideConversationFailed": "Failed to hide the Conversation!", "hideConversationFailed": "Failed to hide the Conversation!",
"hideConversationFailedPleaseTryAgain": "Unable to hide the conversation, please try again",
"deleteConversation": "Delete Conversation", "deleteConversation": "Delete Conversation",
"deleteConversationConfirmation": "Are you sure you want to delete your conversation with <b>$name$</b>?", "deleteConversationConfirmation": "Are you sure you want to delete your conversation with <b>$name$</b>?",
"deleteConversationFailed": "Failed to leave the Conversation!", "deleteConversationFailed": "Failed to leave the Conversation!",
"deleteConversationFailedPleaseTryAgain": "Unable to delete the conversation, please try again",
"hiding": "Hiding...", "hiding": "Hiding...",
"leaving": "Leaving...", "leaving": "Leaving...",
"deleted": "$count$ deleted", "deleted": "$count$ deleted",
@ -271,8 +273,10 @@
"leaveGroupConfirmationOnlyAdmin": "You are the only admin in <b>$name$</b>", "leaveGroupConfirmationOnlyAdmin": "You are the only admin in <b>$name$</b>",
"leaveGroupConfirmationOnlyAdminWarning": "Group settings and members cannot be changed without an admin", "leaveGroupConfirmationOnlyAdminWarning": "Group settings and members cannot be changed without an admin",
"leaveGroupFailed": "Failed to leave Group!", "leaveGroupFailed": "Failed to leave Group!",
"leaveGroupFailedPleaseTryAgain": "Unable to leave the Group, please try again",
"leaveCommunity": "Leave Community", "leaveCommunity": "Leave Community",
"leaveCommunityFailed": "Failed to leave Community!", "leaveCommunityFailed": "Failed to leave Community!",
"leaveCommunityFailedPleaseTryAgain": "Unable to leave the Community, please try again",
"cannotRemoveCreatorFromGroup": "Cannot remove this user", "cannotRemoveCreatorFromGroup": "Cannot remove this user",
"cannotRemoveCreatorFromGroupDesc": "You cannot remove this user as they are the creator of the group.", "cannotRemoveCreatorFromGroupDesc": "You cannot remove this user as they are the creator of the group.",
"noContactsForGroup": "You don't have any contacts yet", "noContactsForGroup": "You don't have any contacts yet",

@ -33,14 +33,14 @@ export const InteractionNotification = (props: PropsForInteractionNotification)
switch (interactionType) { switch (interactionType) {
case ConversationInteractionType.Hide: case ConversationInteractionType.Hide:
text = window.i18n('hideConversationFailed'); text = window.i18n('hideConversationFailedPleaseTryAgain');
break; break;
case ConversationInteractionType.Leave: case ConversationInteractionType.Leave:
text = isCommunity text = isCommunity
? window.i18n('leaveCommunityFailed') ? window.i18n('leaveCommunityFailedPleaseTryAgain')
: isGroup : isGroup
? window.i18n('leaveGroupFailed') ? window.i18n('leaveGroupFailedPleaseTryAgain')
: window.i18n('deleteConversationFailed'); : window.i18n('deleteConversationFailedPleaseTryAgain');
break; break;
default: default:
assertUnreachable( assertUnreachable(

@ -105,9 +105,11 @@ export type LocalizerKeys =
| 'hideConversation' | 'hideConversation'
| 'hideNoteToSelfConfirmation' | 'hideNoteToSelfConfirmation'
| 'hideConversationFailed' | 'hideConversationFailed'
| 'hideConversationFailedPleaseTryAgain'
| 'deleteConversation' | 'deleteConversation'
| 'deleteConversationConfirmation' | 'deleteConversationConfirmation'
| 'deleteConversationFailed' | 'deleteConversationFailed'
| 'deleteConversationFailedPleaseTryAgain'
| 'hiding' | 'hiding'
| 'leaving' | 'leaving'
| 'deleted' | 'deleted'
@ -271,8 +273,10 @@ export type LocalizerKeys =
| 'leaveGroupConfirmationOnlyAdmin' | 'leaveGroupConfirmationOnlyAdmin'
| 'leaveGroupConfirmationOnlyAdminWarning' | 'leaveGroupConfirmationOnlyAdminWarning'
| 'leaveGroupFailed' | 'leaveGroupFailed'
| 'leaveGroupFailedPleaseTryAgain'
| 'leaveCommunity' | 'leaveCommunity'
| 'leaveCommunityFailed' | 'leaveCommunityFailed'
| 'leaveCommunityFailedPleaseTryAgain'
| 'cannotRemoveCreatorFromGroup' | 'cannotRemoveCreatorFromGroup'
| 'cannotRemoveCreatorFromGroupDesc' | 'cannotRemoveCreatorFromGroupDesc'
| 'noContactsForGroup' | 'noContactsForGroup'

Loading…
Cancel
Save