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

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

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

Loading…
Cancel
Save