1
0
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:
Scott Bishel 2022-07-07 00:16:15 -06:00 committed by GitHub
parent e97d3b4893
commit 685d74a817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 31 additions and 29 deletions

View File

@ -207,6 +207,7 @@
"ShareBoard.copiedLink": "Copied!",
"ShareBoard.copyLink": "Copy link",
"ShareBoard.regenerate": "Regenerate token",
"ShareBoard.searchPlaceholder": "Search for people",
"ShareBoard.teamPermissionsText": "Everyone at {teamName} Team",
"ShareBoard.tokenRegenrated": "Token regenerated",
"ShareBoard.userPermissionsRemoveMemberText": "Remove member",
@ -249,7 +250,6 @@
"TableHeaderMenu.sort-descending": "Sort descending",
"TableRow.delete": "Delete",
"TableRow.open": "Open",
"TableRow.delete": "Delete",
"TopBar.give-feedback": "Give feedback",
"URLProperty.copiedLink": "Copied!",
"URLProperty.copy": "Copy",
@ -289,6 +289,14 @@
"ViewHeader.untitled": "Untitled",
"ViewHeader.view-header-menu": "View header 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.pick-icon": "Pick icon",
"ViewTitle.random-icon": "Random",
@ -318,7 +326,7 @@
"error.unknown": "An error occurred.",
"generic.previous": "Previous",
"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-title": "Log in",
"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.ok": "Next",
"tutorial_tip.out": "Opt out of these tips.",
"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"
}
"tutorial_tip.seen": "Seen this before?"
}

View File

@ -767,7 +767,7 @@ exports[`components/centerPanel Clicking on the Hidden card count should open a
</p>
Card limit reached, to view older cards,
<a>
upgrade to a paid plan
Upgrade to a paid plan
</a>
</div>
<button

View File

@ -90,7 +90,7 @@ const CardLimitNotification = (props: Props) => {
title = intl.formatMessage(
{
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
id='notification-box-card-limit-reached.link'
defaultMessage='upgrade to a paid plan'
defaultMessage='Upgrade to a paid plan'
/>
</a>),
}}

View File

@ -71,7 +71,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
class=" css-14el2xx-placeholder"
id="react-select-4-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -295,7 +295,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
class=" css-14el2xx-placeholder"
id="react-select-4-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -519,7 +519,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Regene
class=" css-14el2xx-placeholder"
id="react-select-5-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -766,7 +766,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class=" css-14el2xx-placeholder"
id="react-select-10-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -973,7 +973,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class=" css-14el2xx-placeholder"
id="react-select-10-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -1286,7 +1286,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class=" css-14el2xx-placeholder"
id="react-select-11-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -1493,7 +1493,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class=" css-14el2xx-placeholder"
id="react-select-11-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -1806,7 +1806,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard, and click switc
class=" css-14el2xx-placeholder"
id="react-select-6-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -2053,7 +2053,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoardComponent and cli
class=" css-14el2xx-placeholder"
id="react-select-7-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -2300,7 +2300,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot 1`] = `
class=" css-14el2xx-placeholder"
id="react-select-2-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -2524,7 +2524,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
class=" css-14el2xx-placeholder"
id="react-select-3-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -2748,7 +2748,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
class=" css-14el2xx-placeholder"
id="react-select-9-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"
@ -2972,7 +2972,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
class=" css-14el2xx-placeholder"
id="react-select-8-placeholder"
>
Select...
Search for people
</div>
<div
class=" css-ox1y69-Input"

View File

@ -504,7 +504,7 @@ describe('src/components/shareBoard/shareBoard', () => {
})
expect(container).toMatchSnapshot()
const selectElement = screen.getByText('Select...')
const selectElement = screen.getByText('Search for people')
expect(selectElement).toBeDefined()
await act(async () => {
@ -546,7 +546,7 @@ describe('src/components/shareBoard/shareBoard', () => {
})
expect(container).toMatchSnapshot()
const selectElement = screen.getByText('Select...')
const selectElement = screen.getByText('Search for people')
expect(selectElement).toBeDefined()
await act(async () => {

View File

@ -305,6 +305,7 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
getOptionValue={(u) => u.id}
getOptionLabel={(u) => u.username}
isMulti={false}
placeholder={intl.formatMessage({id: 'ShareBoard.searchPlaceholder', defaultMessage: 'Search for people'})}
onChange={(newValue) => {
if (newValue) {
mutator.createBoardMember(boardId, newValue.id)