diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 03cebb64b..0b8670750 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -105,9 +105,11 @@ "hideConversation": "Hide Conversation", "hideNoteToSelfConfirmation": "Are you sure you want to hide your Note to Self 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 $name$?", "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 $name$", "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", diff --git a/ts/components/conversation/message/message-item/InteractionNotification.tsx b/ts/components/conversation/message/message-item/InteractionNotification.tsx index 6d7b2f7e3..4b2626afb 100644 --- a/ts/components/conversation/message/message-item/InteractionNotification.tsx +++ b/ts/components/conversation/message/message-item/InteractionNotification.tsx @@ -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( diff --git a/ts/types/LocalizerKeys.ts b/ts/types/LocalizerKeys.ts index 4aa5d70ce..759464036 100644 --- a/ts/types/LocalizerKeys.ts +++ b/ts/types/LocalizerKeys.ts @@ -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'