Update modal copy with "excludes guests" changes (#3917)
* feat: update modal copy to account for guests * chore: `npm run i18n-extract`
This commit is contained in:
parent
cff39e7140
commit
b430e7b7a3
3 changed files with 8 additions and 8 deletions
|
@ -120,12 +120,12 @@ const BoardSelector = () => {
|
|||
if (showLinkBoardConfirmation?.channelId !== '') {
|
||||
confirmationSubText = intl.formatMessage({
|
||||
id: 'boardSelector.confirm-link-board-subtext-with-other-channel',
|
||||
defaultMessage: 'When you link "{boardName}" to the channel, all members of the channel (existing and new) will be able to edit it.{lineBreak} This board is currently linked to another channel. It will be unlinked if you choose to link it here.'
|
||||
defaultMessage: 'When you link "{boardName}" to the channel, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests.{lineBreak} This board is currently linked to another channel. It will be unlinked if you choose to link it here.'
|
||||
}, {boardName: showLinkBoardConfirmation?.title, lineBreak: <p/>})
|
||||
} else {
|
||||
confirmationSubText = intl.formatMessage({
|
||||
id: 'boardSelector.confirm-link-board-subtext',
|
||||
defaultMessage: 'When you link "{boardName}" to the channel, all members of the channel (existing and new) will be able to edit it. You can unlink a board from a channel at any time.'
|
||||
defaultMessage: 'When you link "{boardName}" to the channel, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests. You can unlink a board from a channel at any time.'
|
||||
}, {boardName: showLinkBoardConfirmation?.title})
|
||||
}
|
||||
|
||||
|
|
|
@ -339,8 +339,8 @@
|
|||
"badge.guest": "Guest",
|
||||
"boardSelector.confirm-link-board": "Link board to channel",
|
||||
"boardSelector.confirm-link-board-button": "Yes, link board",
|
||||
"boardSelector.confirm-link-board-subtext": "When you link \"{boardName}\" to the channel, all members of the channel (existing and new) will be able to edit it. You can unlink a board from a channel at any time.",
|
||||
"boardSelector.confirm-link-board-subtext-with-other-channel": "When you link \"{boardName}\" to the channel, all members of the channel (existing and new) will be able to edit it.{lineBreak} This board is currently linked to another channel. It will be unlinked if you choose to link it here.",
|
||||
"boardSelector.confirm-link-board-subtext": "When you link \"{boardName}\" to the channel, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests. You can unlink a board from a channel at any time.",
|
||||
"boardSelector.confirm-link-board-subtext-with-other-channel": "When you link \"{boardName}\" to the channel, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests.{lineBreak} This board is currently linked to another channel. It will be unlinked if you choose to link it here.",
|
||||
"boardSelector.create-a-board": "Create a board",
|
||||
"boardSelector.link": "Link",
|
||||
"boardSelector.search-for-boards": "Search for boards",
|
||||
|
@ -404,8 +404,8 @@
|
|||
"shareBoard.confirm-link-channel": "Link board to channel",
|
||||
"shareBoard.confirm-link-channel-button": "Link channel",
|
||||
"shareBoard.confirm-link-channel-button-with-other-channel": "Unlink and link here",
|
||||
"shareBoard.confirm-link-channel-subtext": "When you link a channel to a board, all members of the channel (existing and new) will be able to edit it.",
|
||||
"shareBoard.confirm-link-channel-subtext-with-other-channel": "When you link a channel to a board, all members of the channel (existing and new) will be able to edit it.{lineBreak}This board is currently linked to another channel. It will be unlinked if you choose to link it here.",
|
||||
"shareBoard.confirm-link-channel-subtext": "When you link a channel to a board, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests.",
|
||||
"shareBoard.confirm-link-channel-subtext-with-other-channel": "When you link a channel to a board, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests.{lineBreak}This board is currently linked to another channel. It will be unlinked if you choose to link it here.",
|
||||
"shareBoard.confirm-unlink.body": "When you unlink a channel from a board, all members of the channel (existing and new) will lose access to it unless they're given permission separately.",
|
||||
"shareBoard.confirm-unlink.confirmBtnText": "Unlink channel",
|
||||
"shareBoard.confirm-unlink.title": "Unlink channel from board",
|
||||
|
|
|
@ -334,10 +334,10 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
|
|||
let confirmSubtext
|
||||
let confirmButtonText
|
||||
if (board.channelId === '') {
|
||||
confirmSubtext = intl.formatMessage({id: 'shareBoard.confirm-link-channel-subtext', defaultMessage: 'When you link a channel to a board, all members of the channel (existing and new) will be able to edit it.'})
|
||||
confirmSubtext = intl.formatMessage({id: 'shareBoard.confirm-link-channel-subtext', defaultMessage: 'When you link a channel to a board, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests.'})
|
||||
confirmButtonText = intl.formatMessage({id: 'shareBoard.confirm-link-channel-button', defaultMessage: 'Link channel'})
|
||||
} else {
|
||||
confirmSubtext = intl.formatMessage({id: 'shareBoard.confirm-link-channel-subtext-with-other-channel', defaultMessage: 'When you link a channel to a board, all members of the channel (existing and new) will be able to edit it.{lineBreak}This board is currently linked to another channel.\nIt will be unlinked if you choose to link it here.'}, {lineBreak: <p/>})
|
||||
confirmSubtext = intl.formatMessage({id: 'shareBoard.confirm-link-channel-subtext-with-other-channel', defaultMessage: 'When you link a channel to a board, all members of the channel (existing and new) will be able to edit it. This excludes members who are guests.{lineBreak}This board is currently linked to another channel.\nIt will be unlinked if you choose to link it here.'}, {lineBreak: <p/>})
|
||||
confirmButtonText = intl.formatMessage({id: 'shareBoard.confirm-link-channel-button-with-other-channel', defaultMessage: 'Unlink and link here'})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue