diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 8a4b32b50..4433e4365 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -19,10 +19,10 @@ "BoardTemplateSelector.add-template": "New template", "BoardTemplateSelector.create-empty-board": "Create empty board", "BoardTemplateSelector.delete-template": "Delete", - "BoardTemplateSelector.description": "Choose a template to help you get started. Easily customize the template to fit your needs, or create an empty board to start from scratch.", + "BoardTemplateSelector.description": "Add a board to the sidebar using any of the templates defined below or start from scratch.", "BoardTemplateSelector.edit-template": "Edit", - "BoardTemplateSelector.plugin.no-content-description": "Add a board to the sidebar using any of the templates defined below or start from scratch.{lineBreak} Members of \"{teamName}\" will have access to boards created here.", - "BoardTemplateSelector.plugin.no-content-title": "Create a Board in {teamName}", + "BoardTemplateSelector.plugin.no-content-description": "Add a board to the sidebar using any of the templates defined below or start from scratch.", + "BoardTemplateSelector.plugin.no-content-title": "Create a board", "BoardTemplateSelector.title": "Create a board", "BoardTemplateSelector.use-this-template": "Use this template", "BoardsSwitcher.Title": "Find Boards", @@ -344,6 +344,10 @@ "register.login-button": "or log in if you already have an account", "register.signup-title": "Sign up for your account", "rhs-boards.add": "Add", + "rhs-boards.dm": "DM", + "rhs-boards.gm": "GM", + "rhs-boards.header.dm": "this Direct Message", + "rhs-boards.header.gm": "this Group Message", "rhs-boards.last-update-at": "Last update at: {datetime}", "rhs-boards.link-boards-to-channel": "Link boards to {channelName}", "rhs-boards.linked-boards": "Linked boards", @@ -351,19 +355,15 @@ "rhs-boards.no-boards-linked-to-channel-description": "Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view.", "rhs-boards.unlink-board": "Unlink board", "rhs-channel-boards-header.title": "Boards", - "rhs-boards.dm": "DM", - "rhs-boards.header.dm": "this Direct Message", - "rhs-boards.gm": "GM", - "rhs-boards.header.gm": "this Group Message", "share-board.publish": "Publish", "share-board.share": "Share", "shareBoard.channels-select-group": "Channels", "shareBoard.confirm-link-public-channel": "You're adding a public channel", "shareBoard.confirm-link-public-channel-button": "Yes, add public channel", "shareBoard.confirm-link-public-channel-subtext": "Anyone who joins that public channel will now get “Editor” access to the board, are you sure you want to proceed?", - "shareBoard.confirm-unlink.title": "Unlink channel from board", "shareBoard.confirm-unlink.body": "When you unlink a channel from a board, all members of the channel (existing and new) will loose access to it unless they are given permission separately. {lineBreak} Are you sure you want to unlink it?", "shareBoard.confirm-unlink.confirmBtnText": "Yes, unlink", + "shareBoard.confirm-unlink.title": "Unlink channel from board", "shareBoard.lastAdmin": "Boards must have at least one Administrator", "shareBoard.members-select-group": "Members", "tutorial_tip.finish_tour": "Done", @@ -371,4 +371,4 @@ "tutorial_tip.ok": "Next", "tutorial_tip.out": "Opt out of these tips.", "tutorial_tip.seen": "Seen this before?" -} +} \ No newline at end of file diff --git a/webapp/src/components/boardTemplateSelector/__snapshots__/boardTemplateSelector.test.tsx.snap b/webapp/src/components/boardTemplateSelector/__snapshots__/boardTemplateSelector.test.tsx.snap index f2b48f487..81d1377c0 100644 --- a/webapp/src/components/boardTemplateSelector/__snapshots__/boardTemplateSelector.test.tsx.snap +++ b/webapp/src/components/boardTemplateSelector/__snapshots__/boardTemplateSelector.test.tsx.snap @@ -29,7 +29,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelector a focalboard Plu

- Choose a template to help you get started. Easily customize the template to fit your needs, or create an empty board to start from scratch. + Add a board to the sidebar using any of the templates defined below or start from scratch.

- Choose a template to help you get started. Easily customize the template to fit your needs, or create an empty board to start from scratch. + Add a board to the sidebar using any of the templates defined below or start from scratch.

- Choose a template to help you get started. Easily customize the template to fit your needs, or create an empty board to start from scratch. + Add a board to the sidebar using any of the templates defined below or start from scratch.

{ {description || ( )}

diff --git a/webapp/src/components/workspace.tsx b/webapp/src/components/workspace.tsx index 5ba1ac339..0a98a467a 100644 --- a/webapp/src/components/workspace.tsx +++ b/webapp/src/components/workspace.tsx @@ -4,7 +4,6 @@ import React, {useCallback, useEffect, useState} from 'react' import {generatePath, useRouteMatch, useHistory} from 'react-router-dom' import {FormattedMessage} from 'react-intl' -import {getCurrentTeam} from '../store/teams' import {getCurrentBoard, isLoadingBoard, getTemplates} from '../store/boards' import {refreshCards, getCardLimitTimestamp, getCurrentBoardHiddenCardsCount, setLimitTimestamp, getCurrentViewCardsSortedFilteredAndGrouped, setCurrent as setCurrentCard} from '../store/cards' import { @@ -33,7 +32,6 @@ type Props = { } function CenterContent(props: Props) { - const team = useAppSelector(getCurrentTeam) const isLoading = useAppSelector(isLoadingBoard) const match = useRouteMatch<{boardId: string, viewId: string, cardId?: string, channelId?: string}>() const board = useAppSelector(getCurrentBoard) @@ -115,18 +113,13 @@ function CenterContent(props: Props) { title={ } description={ {team?.title}, - lineBreak:
, - }} + defaultMessage='Add a board to the sidebar using any of the templates defined below or start from scratch.' /> } channelId={match.params.channelId}