update message for archiving a team, since still accessible via api (#27125)

* update message for archiving a team, since still accessible via api

* update tests another place the message is displayed
This commit is contained in:
Scott Bishel 2024-05-23 11:56:06 -06:00 committed by GitHub
parent cd81b199b7
commit 729bd30165
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 12 deletions

View file

@ -78,7 +78,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelDetails should match
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?"
id="admin.channel_settings.channel_detail.archive_confirm.message"
/>
}
@ -260,7 +260,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelDetails should match
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?"
id="admin.channel_settings.channel_detail.archive_confirm.message"
/>
}
@ -461,7 +461,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelDetails should match
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?"
id="admin.channel_settings.channel_detail.archive_confirm.message"
/>
}
@ -595,7 +595,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelDetails should match
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?"
id="admin.channel_settings.channel_detail.archive_confirm.message"
/>
}
@ -748,7 +748,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelDetails should match
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?"
id="admin.channel_settings.channel_detail.archive_confirm.message"
/>
}
@ -882,7 +882,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelDetails should match
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?"
id="admin.channel_settings.channel_detail.archive_confirm.message"
/>
}

View file

@ -824,7 +824,7 @@ export default class ChannelDetails extends React.PureComponent<ChannelDetailsPr
message={
<FormattedMessage
id='admin.channel_settings.channel_detail.archive_confirm.message'
defaultMessage='Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?'
defaultMessage={'Archiving will remove the team from the user interface but it\'s contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?'}
/>
}
confirmButtonText={

View file

@ -58,7 +58,7 @@ exports[`admin_console/team_channel_settings/team/TeamDetails should match snaps
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this team?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this team?"
id="admin.team_settings.team_detail.archive_confirm.message"
/>
}
@ -164,7 +164,7 @@ exports[`admin_console/team_channel_settings/team/TeamDetails should match snaps
}
message={
<Memo(MemoizedFormattedMessage)
defaultMessage="Saving will archive the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this team?"
defaultMessage="Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this team?"
id="admin.team_settings.team_detail.archive_confirm.message"
/>
}

View file

@ -539,7 +539,7 @@ export default class TeamDetails extends React.PureComponent<Props, State> {
message={
<FormattedMessage
id='admin.team_settings.team_detail.archive_confirm.message'
defaultMessage='Saving will archive the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this team?'
defaultMessage={'Archiving will remove the team from the user interface but it\'s contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this team?'}
/>
}
confirmButtonText={

View file

@ -445,7 +445,7 @@
"admin.channel_list.private": "Private",
"admin.channel_list.public": "Public",
"admin.channel_settings.channel_detail.archive_confirm.button": "Save and Archive Channel",
"admin.channel_settings.channel_detail.archive_confirm.message": "Saving will archive the channel from the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this channel?",
"admin.channel_settings.channel_detail.archive_confirm.message": "Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this channel?",
"admin.channel_settings.channel_detail.archive_confirm.title": "Save and Archive Channel",
"admin.channel_settings.channel_detail.channel_configuration": "Channel Configuration",
"admin.channel_settings.channel_detail.channelName": "**Name**",
@ -2577,7 +2577,7 @@
"admin.team_settings.description": "Manage team settings.",
"admin.team_settings.groupsPageTitle": "{siteName} Teams",
"admin.team_settings.team_detail.archive_confirm.button": "Archive",
"admin.team_settings.team_detail.archive_confirm.message": "Saving will archive the team and make its contents inaccessible for all users. Are you sure you wish to save and archive this team?",
"admin.team_settings.team_detail.archive_confirm.message": "Archiving will remove the team from the user interface but it's contents remain in the database and may still be accessible with the API. Are you sure you wish to save and archive this team?",
"admin.team_settings.team_detail.archive_confirm.title": "Save and Archive Team",
"admin.team_settings.team_detail.group_configuration": "Team Configuration",
"admin.team_settings.team_detail.groupsDescription": "Group members will be added to the team.",