From 4f496eedb50d956a72ba3b80cf93f977219613a1 Mon Sep 17 00:00:00 2001 From: Rita Anene <92169163+Camillarhi@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:42:45 +0100 Subject: [PATCH] [MM-60812] Replace FormattedMarkdownMessage in 'webapp/channels/src/components/admin_console/team_channel_settings/team/details/team_profile.tsx' with FormattedMessage (#28608) * Fix: Replace FormattedMarkdownMessage in file * fix: update snapshot * fix: resolve conflicts in en.json file --------- Co-authored-by: Mattermost Build --- .../__snapshots__/team_profile.test.tsx.snap | 100 +++++++----------- .../team/details/team_profile.tsx | 19 ++-- webapp/channels/src/i18n/en.json | 4 +- 3 files changed, 54 insertions(+), 69 deletions(-) diff --git a/webapp/channels/src/components/admin_console/team_channel_settings/team/details/__snapshots__/team_profile.test.tsx.snap b/webapp/channels/src/components/admin_console/team_channel_settings/team/details/__snapshots__/team_profile.test.tsx.snap index 2596e8158b..8c8199bae8 100644 --- a/webapp/channels/src/components/admin_console/team_channel_settings/team/details/__snapshots__/team_profile.test.tsx.snap +++ b/webapp/channels/src/components/admin_console/team_channel_settings/team/details/__snapshots__/team_profile.test.tsx.snap @@ -55,24 +55,20 @@ exports[`admin_console/team_channel_settings/team/TeamProfile should match snaps
- - - Team Name - - : - + + Team Name + + :
name
- - - Team Description - - : - + + Team Description + + :
- - - Team Name - - : - + + Team Name + + :
name
- - - Team Description - - : - + + Team Description + + :
- - - Team Name - - : - + + Team Name + + :
name
- - - Team Description - - : - + + Team Description + + :
- - - Team Name - - : - + + Team Name + + :
name
- - - Team Description - - : - + + Team Description + + :
- - - Team Name - - : - + + Team Name + + :
name
- - - Team Description - - : - + + Team Description + + :
- {chunks}, + }} />
{team.display_name}
- {chunks}, + }} />
{team.description || {intl.formatMessage({id: 'admin.team_settings.team_detail.profileNoDescription', defaultMessage: 'No team description added.'})}} diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index c9eb10ccf9..54e5c2450e 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -2672,8 +2672,6 @@ "admin.team_settings.team_detail.profileTitle": "Team Profile", "admin.team_settings.team_detail.syncedGroupsDescription": "Add and remove team members based on their group membership.", "admin.team_settings.team_detail.syncedGroupsTitle": "Synced Groups", - "admin.team_settings.team_detail.teamDescription": "**Team Description**:", - "admin.team_settings.team_detail.teamName": "**Team Name**:", "admin.team_settings.team_details.add_group": "Add Group", "admin.team_settings.team_details.add_members": "Add Members", "admin.team_settings.team_details.anyoneCanJoin": "Anyone can join this team", @@ -2755,6 +2753,8 @@ "admin.team.userCreationDescription": "When false, the ability to create accounts is disabled, and selecting Create Account displays an error. Applies to Email, OpenID Connect, and OAuth 2.0 user account authentication.", "admin.team.userCreationTitle": "Enable Account Creation: ", "admin.teamChannelSettings.usersToBeRemovedModal.title": "{total, number} {total, plural, one {User} other {Users}} To Be Removed", + "admin.teamSettings.teamDetail.teamDescription": "Team Description:", + "admin.teamSettings.teamDetail.teamName": "Team Name:", "admin.trial_banner.trial-request.error": "Trial license could not be retrieved. Visit {trialInfoLink} to request a license.", "admin.true": "True", "admin.user_grid.channel_admin": "Channel Admin",