1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-08 15:06:08 +02:00

changed the name of untitled templates (#3682)

This commit is contained in:
Liberontissauri 2022-08-17 11:22:37 +01:00 committed by GitHub
parent 393b961a6b
commit b1b7897717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@
"View.NewCalendarTitle": "Calendar view",
"View.NewGalleryTitle": "Gallery view",
"View.NewTableTitle": "Table view",
"View.NewTemplateTitle": "Untitled Template",
"View.NewTemplateTitle": "Untitled",
"View.Table": "Table",
"ViewHeader.add-template": "New template",
"ViewHeader.delete-template": "Delete",

View File

@ -41,7 +41,7 @@ const BoardTemplateSelectorItem = (props: Props) => {
onClick={onClickHandler}
>
<span className='template-icon'>{template.icon || <CompassIcon icon='product-boards'/>}</span>
<span className='template-name'>{template.title}</span>
<span className='template-name'>{template.title || intl.formatMessage({id: 'View.NewTemplateTitle', defaultMessage: 'Untitled'})}</span>
{/* don't show template menu options for default templates */}
{template.teamId !== Constants.globalTeamId &&