mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-11 18:13:52 +02:00
update text (#3324)
This commit is contained in:
parent
e97d3b4893
commit
685d74a817
@ -207,6 +207,7 @@
|
|||||||
"ShareBoard.copiedLink": "Copied!",
|
"ShareBoard.copiedLink": "Copied!",
|
||||||
"ShareBoard.copyLink": "Copy link",
|
"ShareBoard.copyLink": "Copy link",
|
||||||
"ShareBoard.regenerate": "Regenerate token",
|
"ShareBoard.regenerate": "Regenerate token",
|
||||||
|
"ShareBoard.searchPlaceholder": "Search for people",
|
||||||
"ShareBoard.teamPermissionsText": "Everyone at {teamName} Team",
|
"ShareBoard.teamPermissionsText": "Everyone at {teamName} Team",
|
||||||
"ShareBoard.tokenRegenrated": "Token regenerated",
|
"ShareBoard.tokenRegenrated": "Token regenerated",
|
||||||
"ShareBoard.userPermissionsRemoveMemberText": "Remove member",
|
"ShareBoard.userPermissionsRemoveMemberText": "Remove member",
|
||||||
@ -249,7 +250,6 @@
|
|||||||
"TableHeaderMenu.sort-descending": "Sort descending",
|
"TableHeaderMenu.sort-descending": "Sort descending",
|
||||||
"TableRow.delete": "Delete",
|
"TableRow.delete": "Delete",
|
||||||
"TableRow.open": "Open",
|
"TableRow.open": "Open",
|
||||||
"TableRow.delete": "Delete",
|
|
||||||
"TopBar.give-feedback": "Give feedback",
|
"TopBar.give-feedback": "Give feedback",
|
||||||
"URLProperty.copiedLink": "Copied!",
|
"URLProperty.copiedLink": "Copied!",
|
||||||
"URLProperty.copy": "Copy",
|
"URLProperty.copy": "Copy",
|
||||||
@ -289,6 +289,14 @@
|
|||||||
"ViewHeader.untitled": "Untitled",
|
"ViewHeader.untitled": "Untitled",
|
||||||
"ViewHeader.view-header-menu": "View header menu",
|
"ViewHeader.view-header-menu": "View header menu",
|
||||||
"ViewHeader.view-menu": "View menu",
|
"ViewHeader.view-menu": "View menu",
|
||||||
|
"ViewLimitDialog.Heading": "Views per board limit reached",
|
||||||
|
"ViewLimitDialog.PrimaryButton.Title.Admin": "Upgrade",
|
||||||
|
"ViewLimitDialog.PrimaryButton.Title.RegularUser": "Notify Admin",
|
||||||
|
"ViewLimitDialog.Subtext.Admin": "Upgrade to our Professional or Enterprise plan to have unlimited views per boards, unlimited cards, and more.",
|
||||||
|
"ViewLimitDialog.Subtext.Admin.PricingPageLink": "Learn more about our plans.",
|
||||||
|
"ViewLimitDialog.Subtext.RegularUser": "Notify your Admin to upgrade to our Professional or Enterprise plan to have unlimited views per boards, unlimited cards, and more.",
|
||||||
|
"ViewLimitDialog.UpgradeImg.AltText": "upgrade image",
|
||||||
|
"ViewLimitDialog.notifyAdmin.Success": "Your admin has been notified",
|
||||||
"ViewTitle.hide-description": "hide description",
|
"ViewTitle.hide-description": "hide description",
|
||||||
"ViewTitle.pick-icon": "Pick icon",
|
"ViewTitle.pick-icon": "Pick icon",
|
||||||
"ViewTitle.random-icon": "Random",
|
"ViewTitle.random-icon": "Random",
|
||||||
@ -318,7 +326,7 @@
|
|||||||
"error.unknown": "An error occurred.",
|
"error.unknown": "An error occurred.",
|
||||||
"generic.previous": "Previous",
|
"generic.previous": "Previous",
|
||||||
"imagePaste.upload-failed": "Some files not uploaded. File size limit reached",
|
"imagePaste.upload-failed": "Some files not uploaded. File size limit reached",
|
||||||
"limitedCard.title": "Cards Hidden",
|
"limitedCard.title": "Cards hidden",
|
||||||
"login.log-in-button": "Log in",
|
"login.log-in-button": "Log in",
|
||||||
"login.log-in-title": "Log in",
|
"login.log-in-title": "Log in",
|
||||||
"login.register-button": "or create an account if you don't have one",
|
"login.register-button": "or create an account if you don't have one",
|
||||||
@ -338,12 +346,5 @@
|
|||||||
"tutorial_tip.got_it": "Got it",
|
"tutorial_tip.got_it": "Got it",
|
||||||
"tutorial_tip.ok": "Next",
|
"tutorial_tip.ok": "Next",
|
||||||
"tutorial_tip.out": "Opt out of these tips.",
|
"tutorial_tip.out": "Opt out of these tips.",
|
||||||
"tutorial_tip.seen": "Seen this before?",
|
"tutorial_tip.seen": "Seen this before?"
|
||||||
"ViewLimitDialog.Heading": "Views per board limit reached",
|
}
|
||||||
"ViewLimitDialog.Subtext.RegularUser": "Notify your Admin to upgrade to our Professional or Enterprise plan to have unlimited views per boards, unlimited cards, and more.",
|
|
||||||
"ViewLimitDialog.PrimaryButton.Title.RegularUser": "Notify Admin",
|
|
||||||
"ViewLimitDialog.Subtext.Admin": "Upgrade to our Professional or Enterprise plan to have unlimited views per boards, unlimited cards and more.",
|
|
||||||
"ViewLimitDialog.Subtext.Admin.PricingPageLink": "Learn more about our plans.",
|
|
||||||
"ViewLimitDialog.PrimaryButton.Title.Admin": "Upgrade",
|
|
||||||
"ViewLimitDialog.UpgradeImg.AltText": "upgrade image"
|
|
||||||
}
|
|
@ -767,7 +767,7 @@ exports[`components/centerPanel Clicking on the Hidden card count should open a
|
|||||||
</p>
|
</p>
|
||||||
Card limit reached, to view older cards,
|
Card limit reached, to view older cards,
|
||||||
<a>
|
<a>
|
||||||
upgrade to a paid plan
|
Upgrade to a paid plan
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
|
@ -90,7 +90,7 @@ const CardLimitNotification = (props: Props) => {
|
|||||||
title = intl.formatMessage(
|
title = intl.formatMessage(
|
||||||
{
|
{
|
||||||
id: 'notification-box-cards-hidden.title',
|
id: 'notification-box-cards-hidden.title',
|
||||||
defaultMessage: 'Your action hidden another card',
|
defaultMessage: 'This action has hidden another card',
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -155,7 +155,7 @@ const CardLimitNotification = (props: Props) => {
|
|||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='notification-box-card-limit-reached.link'
|
id='notification-box-card-limit-reached.link'
|
||||||
defaultMessage='upgrade to a paid plan'
|
defaultMessage='Upgrade to a paid plan'
|
||||||
/>
|
/>
|
||||||
</a>),
|
</a>),
|
||||||
}}
|
}}
|
||||||
|
@ -71,7 +71,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-4-placeholder"
|
id="react-select-4-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -295,7 +295,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-4-placeholder"
|
id="react-select-4-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -519,7 +519,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Regene
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-5-placeholder"
|
id="react-select-5-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -766,7 +766,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-10-placeholder"
|
id="react-select-10-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -973,7 +973,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-10-placeholder"
|
id="react-select-10-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -1286,7 +1286,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-11-placeholder"
|
id="react-select-11-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -1493,7 +1493,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-11-placeholder"
|
id="react-select-11-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -1806,7 +1806,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard, and click switc
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-6-placeholder"
|
id="react-select-6-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -2053,7 +2053,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoardComponent and cli
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-7-placeholder"
|
id="react-select-7-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -2300,7 +2300,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot 1`] = `
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-2-placeholder"
|
id="react-select-2-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -2524,7 +2524,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-3-placeholder"
|
id="react-select-3-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -2748,7 +2748,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-9-placeholder"
|
id="react-select-9-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
@ -2972,7 +2972,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
|
|||||||
class=" css-14el2xx-placeholder"
|
class=" css-14el2xx-placeholder"
|
||||||
id="react-select-8-placeholder"
|
id="react-select-8-placeholder"
|
||||||
>
|
>
|
||||||
Select...
|
Search for people
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class=" css-ox1y69-Input"
|
class=" css-ox1y69-Input"
|
||||||
|
@ -504,7 +504,7 @@ describe('src/components/shareBoard/shareBoard', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
expect(container).toMatchSnapshot()
|
expect(container).toMatchSnapshot()
|
||||||
const selectElement = screen.getByText('Select...')
|
const selectElement = screen.getByText('Search for people')
|
||||||
expect(selectElement).toBeDefined()
|
expect(selectElement).toBeDefined()
|
||||||
|
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
@ -546,7 +546,7 @@ describe('src/components/shareBoard/shareBoard', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
expect(container).toMatchSnapshot()
|
expect(container).toMatchSnapshot()
|
||||||
const selectElement = screen.getByText('Select...')
|
const selectElement = screen.getByText('Search for people')
|
||||||
expect(selectElement).toBeDefined()
|
expect(selectElement).toBeDefined()
|
||||||
|
|
||||||
await act(async () => {
|
await act(async () => {
|
||||||
|
@ -305,6 +305,7 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
|
|||||||
getOptionValue={(u) => u.id}
|
getOptionValue={(u) => u.id}
|
||||||
getOptionLabel={(u) => u.username}
|
getOptionLabel={(u) => u.username}
|
||||||
isMulti={false}
|
isMulti={false}
|
||||||
|
placeholder={intl.formatMessage({id: 'ShareBoard.searchPlaceholder', defaultMessage: 'Search for people'})}
|
||||||
onChange={(newValue) => {
|
onChange={(newValue) => {
|
||||||
if (newValue) {
|
if (newValue) {
|
||||||
mutator.createBoardMember(boardId, newValue.id)
|
mutator.createBoardMember(boardId, newValue.id)
|
||||||
|
Loading…
Reference in New Issue
Block a user