mirror of
https://github.com/mattermost/focalboard.git
synced 2025-03-17 20:37:54 +02:00
CP - Update en.json: Bug fix and consistency (#3231)
* Update en.json: Bug fix and consistency (#3151) * Update en.json Updated copy and fixed https://github.com/mattermost/focalboard/issues/3131 * update cypress tests * update default messages, en.json is created from default messages when running i18n-extract * update tests for string changes Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> (cherry picked from commit 020d83fa446929ddd7738cb7a94d6854c5cdd343) * clean up cherry-pick * more cleanup * fix bad merge * fix cypress tests Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
This commit is contained in:
parent
85b10ad417
commit
b911de0cc3
@ -47,7 +47,7 @@ describe('Card badges', () => {
|
||||
// Show card badges
|
||||
cy.log('**Show card badges**')
|
||||
cy.findByRole('button', {name: 'Properties menu'}).click()
|
||||
cy.findByRole('button', {name: 'Comments and Description'}).click()
|
||||
cy.findByRole('button', {name: 'Comments and description'}).click()
|
||||
cy.findByTitle('This card has a description').should('exist')
|
||||
cy.findByTitle('Comments').contains('3').should('exist')
|
||||
cy.findByTitle('Checkboxes').contains('2/4').should('exist')
|
||||
@ -55,7 +55,7 @@ describe('Card badges', () => {
|
||||
// Hide card badges
|
||||
cy.log('**Hide card badges**')
|
||||
cy.findByRole('button', {name: 'Properties menu'}).click()
|
||||
cy.findByRole('button', {name: 'Comments and Description'}).click()
|
||||
cy.findByRole('button', {name: 'Comments and description'}).click()
|
||||
cy.findByTitle('This card has a description').should('not.exist')
|
||||
cy.findByTitle('Comments').should('not.exist')
|
||||
cy.findByTitle('Checkboxes').should('not.exist')
|
||||
|
@ -30,7 +30,7 @@ describe('Create and delete board / card', () => {
|
||||
// Create empty board
|
||||
cy.contains('Create empty board').should('exist').click({force: true})
|
||||
cy.get('.BoardComponent').should('exist')
|
||||
cy.get('.Editable.title').invoke('attr', 'placeholder').should('contain', 'Untitled Board')
|
||||
cy.get('.Editable.title').invoke('attr', 'placeholder').should('contain', 'Untitled board')
|
||||
|
||||
// Change Title
|
||||
cy.get('.Editable.title').
|
||||
|
@ -119,11 +119,11 @@ Cypress.Commands.add('uiCreateNewBoard', (title?: string) => {
|
||||
cy.log('**Create new empty board**')
|
||||
cy.uiCreateEmptyBoard()
|
||||
|
||||
cy.findByPlaceholderText('Untitled Board').should('exist')
|
||||
cy.findByPlaceholderText('Untitled board').should('exist')
|
||||
cy.wait(10)
|
||||
if (title) {
|
||||
cy.log('**Rename board**')
|
||||
cy.findByPlaceholderText('Untitled Board').type(`${title}{enter}`)
|
||||
cy.findByPlaceholderText('Untitled board').type(`${title}{enter}`)
|
||||
cy.findByRole('textbox', {name: title}).should('exist')
|
||||
}
|
||||
cy.wait(500)
|
||||
|
@ -8,9 +8,11 @@
|
||||
"BoardComponent.no-property-title": "Items with an empty {property} property will go here. This column cannot be removed.",
|
||||
"BoardComponent.show": "Show",
|
||||
"BoardMember.schemeAdmin": "Admin",
|
||||
"BoardMember.schemeCommenter": "Commenter",
|
||||
"BoardMember.schemeEditor": "Editor",
|
||||
"BoardMember.schemeNone": "None",
|
||||
"BoardMember.schemeViewer": "Viewer",
|
||||
"BoardMember.schemeViwer": "Viewer",
|
||||
"BoardPage.newVersion": "A new version of Boards is available, click here to reload.",
|
||||
"BoardPage.syncFailed": "Board may be deleted or access revoked.",
|
||||
"BoardTemplateSelector.add-template": "New template",
|
||||
@ -20,7 +22,7 @@
|
||||
"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.title": "Create a Board",
|
||||
"BoardTemplateSelector.title": "Create a board",
|
||||
"BoardTemplateSelector.use-this-template": "Use this template",
|
||||
"BoardsSwitcher.Title": "Find Boards",
|
||||
"BoardsUnfurl.Remainder": "+{remainder} more",
|
||||
@ -30,13 +32,13 @@
|
||||
"Calculations.Options.count.displayName": "Count",
|
||||
"Calculations.Options.count.label": "Count",
|
||||
"Calculations.Options.countChecked.displayName": "Checked",
|
||||
"Calculations.Options.countChecked.label": "Count Checked",
|
||||
"Calculations.Options.countChecked.label": "Count checked",
|
||||
"Calculations.Options.countUnchecked.displayName": "Unchecked",
|
||||
"Calculations.Options.countUnchecked.label": "Count Unchecked",
|
||||
"Calculations.Options.countUnchecked.label": "Count unchecked",
|
||||
"Calculations.Options.countUniqueValue.displayName": "Unique",
|
||||
"Calculations.Options.countUniqueValue.label": "Count Unique Values",
|
||||
"Calculations.Options.countUniqueValue.label": "Count unique values",
|
||||
"Calculations.Options.countValue.displayName": "Values",
|
||||
"Calculations.Options.countValue.label": "Count Value",
|
||||
"Calculations.Options.countValue.label": "Count value",
|
||||
"Calculations.Options.dateRange.displayName": "Range",
|
||||
"Calculations.Options.dateRange.label": "Range",
|
||||
"Calculations.Options.earliest.displayName": "Earliest",
|
||||
@ -52,9 +54,9 @@
|
||||
"Calculations.Options.none.displayName": "Calculate",
|
||||
"Calculations.Options.none.label": "None",
|
||||
"Calculations.Options.percentChecked.displayName": "Checked",
|
||||
"Calculations.Options.percentChecked.label": "Percent Checked",
|
||||
"Calculations.Options.percentChecked.label": "Percent checked",
|
||||
"Calculations.Options.percentUnchecked.displayName": "Unchecked",
|
||||
"Calculations.Options.percentUnchecked.label": "Percent Unchecked",
|
||||
"Calculations.Options.percentUnchecked.label": "Percent unchecked",
|
||||
"Calculations.Options.range.displayName": "Range",
|
||||
"Calculations.Options.range.label": "Range",
|
||||
"Calculations.Options.sum.displayName": "Sum",
|
||||
@ -68,16 +70,16 @@
|
||||
"CardDetail.add-icon": "Add icon",
|
||||
"CardDetail.add-property": "+ Add a property",
|
||||
"CardDetail.addCardText": "add card text",
|
||||
"CardDetail.moveContent": "move card content",
|
||||
"CardDetail.moveContent": "Move card content",
|
||||
"CardDetail.new-comment-placeholder": "Add a comment...",
|
||||
"CardDetailProperty.confirm-delete-heading": "Confirm Delete Property",
|
||||
"CardDetailProperty.confirm-delete-heading": "Confirm delete property",
|
||||
"CardDetailProperty.confirm-delete-subtext": "Are you sure you want to delete the property \"{propertyName}\"? Deleting it will delete the property from all cards in this board.",
|
||||
"CardDetailProperty.confirm-property-name-change-subtext": "Are you sure you want to change property \"{propertyName}\" {customText}? This will affect value(s) across {numOfCards} card(s) in this board, and can result in data loss.",
|
||||
"CardDetailProperty.confirm-property-type-change": "Confirm Property Type Change!",
|
||||
"CardDetailProperty.confirm-property-type-change": "Confirm property type change",
|
||||
"CardDetailProperty.delete-action-button": "Delete",
|
||||
"CardDetailProperty.property-change-action-button": "Change Property",
|
||||
"CardDetailProperty.property-change-action-button": "Change property",
|
||||
"CardDetailProperty.property-changed": "Changed property successfully!",
|
||||
"CardDetailProperty.property-deleted": "Deleted {propertyName} Successfully!",
|
||||
"CardDetailProperty.property-deleted": "Deleted {propertyName} successfully!",
|
||||
"CardDetailProperty.property-name-change-subtext": "type from \"{oldPropType}\" to \"{newPropType}\"",
|
||||
"CardDetailProperty.property-type-change-subtext": "name to \"{newPropName}\"",
|
||||
"CardDialog.copiedLink": "Copied!",
|
||||
@ -92,6 +94,7 @@
|
||||
"Categories.CreateCategoryDialog.UpdateText": "Update",
|
||||
"CenterPanel.Login": "Login",
|
||||
"CenterPanel.Share": "Share",
|
||||
"CloudMessage.cloud-server": "Get your own free cloud server.",
|
||||
"ColorOption.selectColor": "Select {color} Color",
|
||||
"Comment.delete": "Delete",
|
||||
"CommentsList.send": "Send",
|
||||
@ -118,8 +121,9 @@
|
||||
"DeleteBoardDialog.confirm-cancel": "Cancel",
|
||||
"DeleteBoardDialog.confirm-delete": "Delete",
|
||||
"DeleteBoardDialog.confirm-info": "Are you sure you want to delete the board “{boardTitle}”? Deleting it will delete all cards in the board.",
|
||||
"DeleteBoardDialog.confirm-tite": "Confirm Delete Board",
|
||||
"DeleteBoardDialog.confirm-tite-template": "Confirm Delete Board Template",
|
||||
"DeleteBoardDialog.confirm-info-template": "Are you sure you want to delete the board template “{boardTitle}”?",
|
||||
"DeleteBoardDialog.confirm-tite": "Confirm delete board",
|
||||
"DeleteBoardDialog.confirm-tite-template": "Confirm delete board template",
|
||||
"Dialog.closeDialog": "Close dialog",
|
||||
"EditableDayPicker.today": "Today",
|
||||
"Error.mobileweb": "Mobile web support is currently in early beta. Not all functionality may be present.",
|
||||
@ -157,7 +161,7 @@
|
||||
"OnboardingTour.AddProperties.Title": "Add properties",
|
||||
"OnboardingTour.AddView.Body": "Go here to create a new view to organise your board using different layouts.",
|
||||
"OnboardingTour.AddView.Title": "Add a new view",
|
||||
"OnboardingTour.CopyLink.Body": "You can share your cards with teammates by copying the link and pasting it in a channel, Direct Message, or Group Message.",
|
||||
"OnboardingTour.CopyLink.Body": "You can share your cards with teammates by copying the link and pasting it in a channel, direct message, or group message.",
|
||||
"OnboardingTour.CopyLink.Title": "Copy link",
|
||||
"OnboardingTour.OpenACard.Body": "Open a card to explore the powerful ways that Boards can help you organize your work.",
|
||||
"OnboardingTour.OpenACard.Title": "Open a card",
|
||||
@ -172,8 +176,8 @@
|
||||
"PropertyType.CreatedTime": "Created time",
|
||||
"PropertyType.Date": "Date",
|
||||
"PropertyType.Email": "Email",
|
||||
"PropertyType.File": "File or Media",
|
||||
"PropertyType.MultiSelect": "Multi Select",
|
||||
"PropertyType.File": "File or media",
|
||||
"PropertyType.MultiSelect": "Multi select",
|
||||
"PropertyType.Number": "Number",
|
||||
"PropertyType.Person": "Person",
|
||||
"PropertyType.Phone": "Phone",
|
||||
@ -189,10 +193,10 @@
|
||||
"RegistrationLink.description": "Share this link for others to create accounts:",
|
||||
"RegistrationLink.regenerateToken": "Regenerate token",
|
||||
"RegistrationLink.tokenRegenerated": "Registration link regenerated",
|
||||
"ShareBoard.PublishDescription": "Publish and share a “read only” link with everyone on the web",
|
||||
"ShareBoard.PublishDescription": "Publish and share a read-only link with everyone on the web.",
|
||||
"ShareBoard.PublishTitle": "Publish to the web",
|
||||
"ShareBoard.ShareInternal": "Share internally",
|
||||
"ShareBoard.ShareInternalDescription": "Users who have permissions will be able to use this link",
|
||||
"ShareBoard.ShareInternalDescription": "Users who have permissions will be able to use this link.",
|
||||
"ShareBoard.Title": "Share Board",
|
||||
"ShareBoard.confirmRegenerateToken": "This will invalidate previously shared links. Continue?",
|
||||
"ShareBoard.copiedLink": "Copied!",
|
||||
@ -238,9 +242,9 @@
|
||||
"TableHeaderMenu.insert-right": "Insert right",
|
||||
"TableHeaderMenu.sort-ascending": "Sort ascending",
|
||||
"TableHeaderMenu.sort-descending": "Sort descending",
|
||||
"TableRow.open": "Open",
|
||||
"TableRow.delete": "Delete",
|
||||
"TopBar.give-feedback": "Give Feedback",
|
||||
"TableRow.open": "Open",
|
||||
"TopBar.give-feedback": "Give feedback",
|
||||
"URLProperty.copiedLink": "Copied!",
|
||||
"URLProperty.copy": "Copy",
|
||||
"URLProperty.edit": "Edit",
|
||||
@ -271,7 +275,6 @@
|
||||
"ViewHeader.new": "New",
|
||||
"ViewHeader.properties": "Properties",
|
||||
"ViewHeader.properties-menu": "Properties menu",
|
||||
"ViewHeader.search": "Search",
|
||||
"ViewHeader.search-text": "Search cards",
|
||||
"ViewHeader.select-a-template": "Select a template",
|
||||
"ViewHeader.set-default-template": "Set as default",
|
||||
@ -284,8 +287,8 @@
|
||||
"ViewTitle.random-icon": "Random",
|
||||
"ViewTitle.remove-icon": "Remove icon",
|
||||
"ViewTitle.show-description": "show description",
|
||||
"ViewTitle.untitled-board": "Untitled Board",
|
||||
"WelcomePage.Description": "Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view",
|
||||
"ViewTitle.untitled-board": "Untitled board",
|
||||
"WelcomePage.Description": "Boards is a project management tool that helps define, organize, track, and manage work across teams using a familiar Kanban board view.",
|
||||
"WelcomePage.Explore.Button": "Take a tour",
|
||||
"WelcomePage.Heading": "Welcome To Boards",
|
||||
"WelcomePage.NoThanks.Text": "No thanks, I'll figure it out myself",
|
||||
@ -293,8 +296,9 @@
|
||||
"calendar.month": "Month",
|
||||
"calendar.today": "TODAY",
|
||||
"calendar.week": "Week",
|
||||
"cloudMessage.learn-more": "Learn more",
|
||||
"createImageBlock.failed": "Unable to upload the file. File size limit reached.",
|
||||
"default-properties.badges": "Comments and Description",
|
||||
"default-properties.badges": "Comments and description",
|
||||
"default-properties.title": "Title",
|
||||
"error.page.title": "Sorry, something went wrong",
|
||||
"generic.previous": "Previous",
|
||||
|
@ -17,7 +17,7 @@ exports[`components/centerPanel return centerPanel and click on card to show car
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -594,7 +594,7 @@ exports[`components/centerPanel return centerPanel and press touch 1 with readon
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -1130,7 +1130,7 @@ exports[`components/centerPanel return centerPanel and press touch ctrl+d for on
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -1837,7 +1837,7 @@ exports[`components/centerPanel return centerPanel and press touch del for one c
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -2544,7 +2544,7 @@ exports[`components/centerPanel return centerPanel and press touch esc for one c
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -3251,7 +3251,7 @@ exports[`components/centerPanel return centerPanel and press touch esc for one c
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -3958,7 +3958,7 @@ exports[`components/centerPanel return centerPanel and press touch esc for two c
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -4665,7 +4665,7 @@ exports[`components/centerPanel return centerPanel and press touch esc for two c
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -5372,7 +5372,7 @@ exports[`components/centerPanel return centerPanel and press touch esc for two c
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -6079,7 +6079,7 @@ exports[`components/centerPanel return centerPanel and select one card and click
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -6786,7 +6786,7 @@ exports[`components/centerPanel return centerPanel and select one card and click
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -7493,7 +7493,7 @@ exports[`components/centerPanel should match snapshot for Gallery 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -7807,7 +7807,7 @@ exports[`components/centerPanel should match snapshot for Kanban 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -8351,7 +8351,7 @@ exports[`components/centerPanel should match snapshot for Kanban, not shared 1`]
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -8848,7 +8848,7 @@ exports[`components/centerPanel should match snapshot for Table 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
|
@ -11,7 +11,7 @@ exports[`src/components/topBar should match snapshot for focalboardPlugin 1`] =
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<div
|
||||
class="versionFrame"
|
||||
@ -38,7 +38,7 @@ exports[`src/components/topBar should match snapshot for none focalboardPlugin 1
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
|
@ -284,7 +284,7 @@ exports[`src/components/workspace return workspace and showcard 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -869,7 +869,7 @@ exports[`src/components/workspace return workspace readonly and showcard 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -1511,7 +1511,7 @@ exports[`src/components/workspace should match snapshot 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -2096,7 +2096,7 @@ exports[`src/components/workspace should match snapshot with readonly 1`] = `
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Give Feedback
|
||||
Give feedback
|
||||
</a>
|
||||
<a
|
||||
href="https://www.focalboard.com/guide/user?utm_source=webapp"
|
||||
@ -2583,7 +2583,7 @@ exports[`src/components/workspace show copy link tooltip 1`] = `
|
||||
<div
|
||||
class="tutorial-tour-tip__body"
|
||||
>
|
||||
You can share your cards with teammates by copying the link and pasting it in a channel, Direct Message, or Group Message.
|
||||
You can share your cards with teammates by copying the link and pasting it in a channel, direct message, or group message.
|
||||
</div>
|
||||
<div
|
||||
class="tutorial-tour-tip__footer"
|
||||
|
@ -24,7 +24,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelector a focalboard Plu
|
||||
<h1
|
||||
class="title"
|
||||
>
|
||||
Create a Board
|
||||
Create a board
|
||||
</h1>
|
||||
<p
|
||||
class="description"
|
||||
@ -346,7 +346,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelector a focalboard Plu
|
||||
<h1
|
||||
class="title"
|
||||
>
|
||||
Create a Board
|
||||
Create a board
|
||||
</h1>
|
||||
<p
|
||||
class="description"
|
||||
@ -517,7 +517,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelector not a focalboard
|
||||
<h1
|
||||
class="title"
|
||||
>
|
||||
Create a Board
|
||||
Create a board
|
||||
</h1>
|
||||
<p
|
||||
class="description"
|
||||
|
@ -177,7 +177,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelectorItem should trigg
|
||||
<h2
|
||||
class="header text-heading5"
|
||||
>
|
||||
Confirm Delete Board Template
|
||||
Confirm delete board template
|
||||
</h2>
|
||||
<p
|
||||
class="body"
|
||||
|
@ -64,7 +64,7 @@ const BoardTemplateSelector = (props: Props) => {
|
||||
TelemetryClient.trackEvent(TelemetryCategory, TelemetryActions.DeleteBoardTemplate, {board: template.id})
|
||||
mutator.deleteBoard(
|
||||
template,
|
||||
intl.formatMessage({id: 'BoardTemplateSelector.delete-template', defaultMessage: 'Delete template'}),
|
||||
intl.formatMessage({id: 'BoardTemplateSelector.delete-template', defaultMessage: 'Delete'}),
|
||||
async () => {},
|
||||
async () => {
|
||||
showBoard(template.id)
|
||||
@ -132,7 +132,7 @@ const BoardTemplateSelector = (props: Props) => {
|
||||
{title || (
|
||||
<FormattedMessage
|
||||
id='BoardTemplateSelector.title'
|
||||
defaultMessage='Create a Board'
|
||||
defaultMessage='Create a board'
|
||||
/>
|
||||
)}
|
||||
</h1>
|
||||
|
@ -56,7 +56,7 @@ const BoardSwitcherDialog = (props: Props): JSX.Element => {
|
||||
}
|
||||
|
||||
const items = await octoClient.search(team.id, query)
|
||||
const untitledBoardTitle = intl.formatMessage({id: 'ViewTitle.untitled-board', defaultMessage: 'Untitled Board'})
|
||||
const untitledBoardTitle = intl.formatMessage({id: 'ViewTitle.untitled-board', defaultMessage: 'Untitled board'})
|
||||
return items.map((item) => {
|
||||
const resultTitle = item.title || untitledBoardTitle
|
||||
const teamTitle = teamsById[item.teamId].title
|
||||
|
@ -46,12 +46,12 @@ export const optionLabelString = (option: Option, intl: IntlShape): string => {
|
||||
switch (option.value) {
|
||||
case 'none': return intl.formatMessage({id: 'Calculations.Options.none.label', defaultMessage: 'None'})
|
||||
case 'count': return intl.formatMessage({id: 'Calculations.Options.count.label', defaultMessage: 'Count'})
|
||||
case 'countValue': return intl.formatMessage({id: 'Calculations.Options.countValue.label', defaultMessage: 'Count Value'})
|
||||
case 'countChecked': return intl.formatMessage({id: 'Calculations.Options.countChecked.label', defaultMessage: 'Count Checked'})
|
||||
case 'percentChecked': return intl.formatMessage({id: 'Calculations.Options.percentChecked.label', defaultMessage: 'Percent Checked'})
|
||||
case 'percentUnchecked': return intl.formatMessage({id: 'Calculations.Options.percentUnchecked.label', defaultMessage: 'Percent Unchecked'})
|
||||
case 'countUnchecked': return intl.formatMessage({id: 'Calculations.Options.countUnchecked.label', defaultMessage: 'Count Unchecked'})
|
||||
case 'countUniqueValue': return intl.formatMessage({id: 'Calculations.Options.countUniqueValue.label', defaultMessage: 'Count Unique Values'})
|
||||
case 'countValue': return intl.formatMessage({id: 'Calculations.Options.countValue.label', defaultMessage: 'Count value'})
|
||||
case 'countChecked': return intl.formatMessage({id: 'Calculations.Options.countChecked.label', defaultMessage: 'Count checked'})
|
||||
case 'percentChecked': return intl.formatMessage({id: 'Calculations.Options.percentChecked.label', defaultMessage: 'Percent checked'})
|
||||
case 'percentUnchecked': return intl.formatMessage({id: 'Calculations.Options.percentUnchecked.label', defaultMessage: 'Percent unchecked'})
|
||||
case 'countUnchecked': return intl.formatMessage({id: 'Calculations.Options.countUnchecked.label', defaultMessage: 'Count unchecked'})
|
||||
case 'countUniqueValue': return intl.formatMessage({id: 'Calculations.Options.countUniqueValue.label', defaultMessage: 'Count unique values'})
|
||||
case 'sum': return intl.formatMessage({id: 'Calculations.Options.sum.label', defaultMessage: 'Sum'})
|
||||
case 'average': return intl.formatMessage({id: 'Calculations.Options.average.label', defaultMessage: 'Average'})
|
||||
case 'median': return intl.formatMessage({id: 'Calculations.Options.median.label', defaultMessage: 'Median'})
|
||||
|
@ -527,7 +527,7 @@ exports[`components/cardDetail/CardDetailProperties should show property types m
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
aria-label="Multi Select"
|
||||
aria-label="Multi select"
|
||||
class="MenuOption TextOption menu-option"
|
||||
role="button"
|
||||
>
|
||||
@ -541,7 +541,7 @@ exports[`components/cardDetail/CardDetailProperties should show property types m
|
||||
<div
|
||||
class="menu-name"
|
||||
>
|
||||
Multi Select
|
||||
Multi select
|
||||
</div>
|
||||
<div
|
||||
class="noicon"
|
||||
|
@ -77,7 +77,7 @@ function moveBlock(card: Card, srcBlock: IContentBlockWithCords, dstBlock: ICont
|
||||
const newContentOrder = dragAndDropRearrange({contentOrder, srcBlockId, srcBlockX, srcBlockY, dstBlockId, dstBlockX, dstBlockY, moveTo})
|
||||
|
||||
mutator.performAsUndoGroup(async () => {
|
||||
const description = intl.formatMessage({id: 'CardDetail.moveContent', defaultMessage: 'move card content'})
|
||||
const description = intl.formatMessage({id: 'CardDetail.moveContent', defaultMessage: 'Move card content'})
|
||||
await mutator.changeCardContentOrder(card.boardId, card.id, card.fields.contentOrder, newContentOrder, description)
|
||||
})
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ describe('components/cardDetail/CardDetailProperties', () => {
|
||||
const deleteButton = screen.getByRole('button', {name: /delete/i})
|
||||
userEvent.click(deleteButton)
|
||||
|
||||
expect(screen.getByRole('heading', {name: 'Confirm Delete Property'})).toBeInTheDocument()
|
||||
expect(screen.getByRole('heading', {name: 'Confirm delete property'})).toBeInTheDocument()
|
||||
expect(screen.getByRole('button', {name: /delete/i})).toBeInTheDocument()
|
||||
})
|
||||
|
||||
@ -173,7 +173,7 @@ describe('components/cardDetail/CardDetailProperties', () => {
|
||||
|
||||
const propertyTemplate = board.cardProperties[0]
|
||||
|
||||
const confirmButton = result.getByTitle('Change Property')
|
||||
const confirmButton = result.getByTitle('Change property')
|
||||
expect(confirmButton).toBeDefined()
|
||||
|
||||
userEvent.click(confirmButton!)
|
||||
|
@ -77,7 +77,7 @@ const CardDetailProperties = (props: Props) => {
|
||||
}
|
||||
|
||||
setConfirmationDialogBox({
|
||||
heading: intl.formatMessage({id: 'CardDetailProperty.confirm-property-type-change', defaultMessage: 'Confirm Property Type Change!'}),
|
||||
heading: intl.formatMessage({id: 'CardDetailProperty.confirm-property-type-change', defaultMessage: 'Confirm property type change'}),
|
||||
subText: intl.formatMessage({
|
||||
id: 'CardDetailProperty.confirm-property-name-change-subtext',
|
||||
defaultMessage: 'Are you sure you want to change property "{propertyName}" {customText}? This will affect value(s) across {numOfCards} card(s) in this board, and can result in data loss.',
|
||||
@ -88,7 +88,7 @@ const CardDetailProperties = (props: Props) => {
|
||||
numOfCards: affectsNumOfCards,
|
||||
}),
|
||||
|
||||
confirmButtonText: intl.formatMessage({id: 'CardDetailProperty.property-change-action-button', defaultMessage: 'Change Property'}),
|
||||
confirmButtonText: intl.formatMessage({id: 'CardDetailProperty.property-change-action-button', defaultMessage: 'Change property'}),
|
||||
onConfirm: async () => {
|
||||
setShowConfirmationDialog(false)
|
||||
try {
|
||||
@ -108,7 +108,7 @@ const CardDetailProperties = (props: Props) => {
|
||||
function onPropertyDeleteSetAndOpenConfirmationDialog(propertyTemplate:IPropertyTemplate) {
|
||||
// set ConfirmationDialogBox Props
|
||||
setConfirmationDialogBox({
|
||||
heading: intl.formatMessage({id: 'CardDetailProperty.confirm-delete-heading', defaultMessage: 'Confirm Delete Property'}),
|
||||
heading: intl.formatMessage({id: 'CardDetailProperty.confirm-delete-heading', defaultMessage: 'Confirm delete property'}),
|
||||
subText: intl.formatMessage({
|
||||
id: 'CardDetailProperty.confirm-delete-subtext',
|
||||
defaultMessage: 'Are you sure you want to delete the property "{propertyName}"? Deleting it will delete the property from all cards in this board.',
|
||||
@ -120,7 +120,7 @@ const CardDetailProperties = (props: Props) => {
|
||||
setShowConfirmationDialog(false)
|
||||
try {
|
||||
await mutator.deleteProperty(board, views, cards, propertyTemplate.id)
|
||||
sendFlashMessage({content: intl.formatMessage({id: 'CardDetailProperty.property-deleted', defaultMessage: 'Deleted {propertyName} Successfully!'}, {propertyName: deletingPropName}), severity: 'high'})
|
||||
sendFlashMessage({content: intl.formatMessage({id: 'CardDetailProperty.property-deleted', defaultMessage: 'Deleted {propertyName} successfully!'}, {propertyName: deletingPropName}), severity: 'high'})
|
||||
} catch (err:any) {
|
||||
Utils.logError(`Error Deleting Property!: Could Not delete Property -" + ${deletingPropName} ${err?.toString()}`)
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ exports[`components/onboardingTour/addComments/CopyLinkTourStep after hover 1`]
|
||||
<div
|
||||
class="tutorial-tour-tip__body"
|
||||
>
|
||||
You can share your cards with teammates by copying the link and pasting it in a channel, Direct Message, or Group Message.
|
||||
You can share your cards with teammates by copying the link and pasting it in a channel, direct message, or group message.
|
||||
</div>
|
||||
<div
|
||||
class="tutorial-tour-tip__image"
|
||||
|
@ -24,7 +24,7 @@ const CopyLinkTourStep = (): JSX.Element | null => {
|
||||
const screen = (
|
||||
<FormattedMessage
|
||||
id='OnboardingTour.CopyLink.Body'
|
||||
defaultMessage='You can share your cards with teammates by copying the link and pasting it in a channel, Direct Message, or Group Message.'
|
||||
defaultMessage='You can share your cards with teammates by copying the link and pasting it in a channel, direct message, or group message.'
|
||||
/>
|
||||
)
|
||||
|
||||
|
@ -185,7 +185,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -409,7 +409,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -633,7 +633,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Regene
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Publish and share a “read only” link with everyone on the web
|
||||
Publish and share a read-only link with everyone on the web.
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@ -854,7 +854,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1176,7 +1176,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1374,7 +1374,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1696,7 +1696,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1920,7 +1920,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard, and click switc
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Publish and share a “read only” link with everyone on the web
|
||||
Publish and share a read-only link with everyone on the web.
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@ -2167,7 +2167,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoardComponent and cli
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Publish and share a “read only” link with everyone on the web
|
||||
Publish and share a read-only link with everyone on the web.
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@ -2414,7 +2414,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot 1`] = `
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -2638,7 +2638,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -2862,7 +2862,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -3086,7 +3086,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
|
||||
<div
|
||||
class="text-light"
|
||||
>
|
||||
Users who have permissions will be able to use this link
|
||||
Users who have permissions will be able to use this link.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -366,7 +366,7 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
|
||||
<div className='d-flex justify-content-between'>
|
||||
<div className='d-flex flex-column'>
|
||||
<div className='text-heading2'>{intl.formatMessage({id: 'ShareBoard.PublishTitle', defaultMessage: 'Publish to the web'})}</div>
|
||||
<div className='text-light'>{intl.formatMessage({id: 'ShareBoard.PublishDescription', defaultMessage: 'Publish and share a “read only” link with everyone on the web'})}</div>
|
||||
<div className='text-light'>{intl.formatMessage({id: 'ShareBoard.PublishDescription', defaultMessage: 'Publish and share a read-only link with everyone on the web.'})}</div>
|
||||
</div>
|
||||
<div>
|
||||
<Switch
|
||||
@ -443,7 +443,7 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
|
||||
<div className='d-flex justify-content-between'>
|
||||
<div className='d-flex flex-column'>
|
||||
<div className='text-heading2'>{intl.formatMessage({id: 'ShareBoard.ShareInternal', defaultMessage: 'Share internally'})}</div>
|
||||
<div className='text-light'>{intl.formatMessage({id: 'ShareBoard.ShareInternalDescription', defaultMessage: 'Users who have permissions will be able to use this link'})}</div>
|
||||
<div className='text-light'>{intl.formatMessage({id: 'ShareBoard.ShareInternalDescription', defaultMessage: 'Users who have permissions will be able to use this link.'})}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -33,18 +33,18 @@ export default function DeleteBoardDialog(props: Props): JSX.Element {
|
||||
{props.isTemplate &&
|
||||
<FormattedMessage
|
||||
id='DeleteBoardDialog.confirm-tite-template'
|
||||
defaultMessage='Confirm Delete Board Template'
|
||||
defaultMessage='Confirm delete board template'
|
||||
/>}
|
||||
{!props.isTemplate &&
|
||||
<FormattedMessage
|
||||
id='DeleteBoardDialog.confirm-tite'
|
||||
defaultMessage='Confirm Delete Board'
|
||||
defaultMessage='Confirm delete board'
|
||||
/>}
|
||||
</h2>
|
||||
<p className='body'>
|
||||
{props.isTemplate &&
|
||||
<FormattedMessage
|
||||
id='DeleteBoardDialog.confirm-info'
|
||||
id='DeleteBoardDialog.confirm-info-template'
|
||||
defaultMessage='Are you sure you want to delete the board template “{boardTitle}”?'
|
||||
values={{
|
||||
boardTitle: props.boardTitle,
|
||||
|
@ -145,7 +145,7 @@ const SidebarBoardItem = (props: Props) => {
|
||||
<Menu.Text
|
||||
key={`deleteBlock-${board.id}`}
|
||||
id='deleteBlock'
|
||||
name={intl.formatMessage({id: 'Sidebar.delete-board', defaultMessage: 'Delete Board'})}
|
||||
name={intl.formatMessage({id: 'Sidebar.delete-board', defaultMessage: 'Delete board'})}
|
||||
icon={<DeleteIcon/>}
|
||||
onClick={() => {
|
||||
props.onDeleteRequest(board)
|
||||
|
@ -25,7 +25,7 @@ const TopBar = (): JSX.Element => {
|
||||
>
|
||||
<FormattedMessage
|
||||
id='TopBar.give-feedback'
|
||||
defaultMessage='Give Feedback'
|
||||
defaultMessage='Give feedback'
|
||||
/>
|
||||
</a>
|
||||
<div className='versionFrame'>
|
||||
@ -53,7 +53,7 @@ const TopBar = (): JSX.Element => {
|
||||
>
|
||||
<FormattedMessage
|
||||
id='TopBar.give-feedback'
|
||||
defaultMessage='Give Feedback'
|
||||
defaultMessage='Give feedback'
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
|
@ -119,7 +119,7 @@ exports[`components/viewHeader/viewHeaderPropertiesMenu return properties menu 1
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
aria-label="Comments and Description"
|
||||
aria-label="Comments and description"
|
||||
class="MenuOption SwitchOption menu-option"
|
||||
role="button"
|
||||
>
|
||||
@ -129,7 +129,7 @@ exports[`components/viewHeader/viewHeaderPropertiesMenu return properties menu 1
|
||||
<div
|
||||
class="menu-name"
|
||||
>
|
||||
Comments and Description
|
||||
Comments and description
|
||||
</div>
|
||||
<div
|
||||
class="Switch override-main size--small"
|
||||
@ -316,7 +316,7 @@ exports[`components/viewHeader/viewHeaderPropertiesMenu return properties menu w
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
aria-label="Comments and Description"
|
||||
aria-label="Comments and description"
|
||||
class="MenuOption SwitchOption menu-option"
|
||||
role="button"
|
||||
>
|
||||
@ -326,7 +326,7 @@ exports[`components/viewHeader/viewHeaderPropertiesMenu return properties menu w
|
||||
<div
|
||||
class="menu-name"
|
||||
>
|
||||
Comments and Description
|
||||
Comments and description
|
||||
</div>
|
||||
<div
|
||||
class="Switch override-main size--small"
|
||||
|
@ -84,7 +84,7 @@ describe('components/viewHeader/viewHeaderPropertiesMenu', () => {
|
||||
)
|
||||
const menuButton = screen.getByRole('button', {name: 'Properties menu'})
|
||||
userEvent.click(menuButton)
|
||||
const badgesButton = screen.getByRole('button', {name: 'Comments and Description'})
|
||||
const badgesButton = screen.getByRole('button', {name: 'Comments and description'})
|
||||
userEvent.click(badgesButton)
|
||||
expect(mockedMutator.changeViewVisibleProperties).toHaveBeenCalledWith(
|
||||
activeView.boardId,
|
||||
|
@ -61,7 +61,7 @@ const ViewHeaderPropertiesMenu = (props: Props) => {
|
||||
<Menu.Switch
|
||||
key={Constants.badgesColumnId}
|
||||
id={Constants.badgesColumnId}
|
||||
name={intl.formatMessage({id: 'default-properties.badges', defaultMessage: 'Comments and Description'})}
|
||||
name={intl.formatMessage({id: 'default-properties.badges', defaultMessage: 'Comments and description'})}
|
||||
isOn={visiblePropertyIds.includes(Constants.badgesColumnId)}
|
||||
onClick={toggleVisibility}
|
||||
/>}
|
||||
|
@ -16,7 +16,7 @@ exports[`pages/welcome Welcome Page shows Explore Page 1`] = `
|
||||
<div
|
||||
class="WelcomePage__subtitle"
|
||||
>
|
||||
Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view
|
||||
Boards is a project management tool that helps define, organize, track, and manage work across teams using a familiar Kanban board view.
|
||||
</div>
|
||||
<img
|
||||
alt="Boards Welcome Image"
|
||||
@ -65,7 +65,7 @@ exports[`pages/welcome Welcome Page shows Explore Page with subpath 1`] = `
|
||||
<div
|
||||
class="WelcomePage__subtitle"
|
||||
>
|
||||
Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view
|
||||
Boards is a project management tool that helps define, organize, track, and manage work across teams using a familiar Kanban board view.
|
||||
</div>
|
||||
<img
|
||||
alt="Boards Welcome Image"
|
||||
|
@ -110,7 +110,7 @@ const WelcomePage = () => {
|
||||
<div className='WelcomePage__subtitle'>
|
||||
<FormattedMessage
|
||||
id='WelcomePage.Description'
|
||||
defaultMessage='Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view'
|
||||
defaultMessage='Boards is a project management tool that helps define, organize, track, and manage work across teams using a familiar Kanban board view.'
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
@ -198,7 +198,7 @@ exports[`widgets/PropertyMenu should match snapshot 1`] = `
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
aria-label="Multi Select"
|
||||
aria-label="Multi select"
|
||||
class="MenuOption TextOption menu-option"
|
||||
role="button"
|
||||
>
|
||||
@ -212,7 +212,7 @@ exports[`widgets/PropertyMenu should match snapshot 1`] = `
|
||||
<div
|
||||
class="menu-name"
|
||||
>
|
||||
Multi Select
|
||||
Multi select
|
||||
</div>
|
||||
<div
|
||||
class="noicon"
|
||||
|
@ -21,9 +21,9 @@ export function typeDisplayName(intl: IntlShape, type: PropertyType): string {
|
||||
case 'text': return intl.formatMessage({id: 'PropertyType.Text', defaultMessage: 'Text'})
|
||||
case 'number': return intl.formatMessage({id: 'PropertyType.Number', defaultMessage: 'Number'})
|
||||
case 'select': return intl.formatMessage({id: 'PropertyType.Select', defaultMessage: 'Select'})
|
||||
case 'multiSelect': return intl.formatMessage({id: 'PropertyType.MultiSelect', defaultMessage: 'Multi Select'})
|
||||
case 'multiSelect': return intl.formatMessage({id: 'PropertyType.MultiSelect', defaultMessage: 'Multi select'})
|
||||
case 'person': return intl.formatMessage({id: 'PropertyType.Person', defaultMessage: 'Person'})
|
||||
case 'file': return intl.formatMessage({id: 'PropertyType.File', defaultMessage: 'File or Media'})
|
||||
case 'file': return intl.formatMessage({id: 'PropertyType.File', defaultMessage: 'File or media'})
|
||||
case 'checkbox': return intl.formatMessage({id: 'PropertyType.Checkbox', defaultMessage: 'Checkbox'})
|
||||
case 'url': return intl.formatMessage({id: 'PropertyType.URL', defaultMessage: 'URL'})
|
||||
case 'email': return intl.formatMessage({id: 'PropertyType.Email', defaultMessage: 'Email'})
|
||||
|
Loading…
x
Reference in New Issue
Block a user