From b1b789771767c3ed8938a07ad437ad65a995894d Mon Sep 17 00:00:00 2001 From: Liberontissauri Date: Wed, 17 Aug 2022 11:22:37 +0100 Subject: [PATCH] changed the name of untitled templates (#3682) --- webapp/i18n/en.json | 2 +- .../boardTemplateSelector/boardTemplateSelectorItem.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 0e7834acb..3a33ce754 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -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", diff --git a/webapp/src/components/boardTemplateSelector/boardTemplateSelectorItem.tsx b/webapp/src/components/boardTemplateSelector/boardTemplateSelectorItem.tsx index c569c3440..2384469dd 100644 --- a/webapp/src/components/boardTemplateSelector/boardTemplateSelectorItem.tsx +++ b/webapp/src/components/boardTemplateSelector/boardTemplateSelectorItem.tsx @@ -41,7 +41,7 @@ const BoardTemplateSelectorItem = (props: Props) => { onClick={onClickHandler} > {template.icon || } - {template.title} + {template.title || intl.formatMessage({id: 'View.NewTemplateTitle', defaultMessage: 'Untitled'})} {/* don't show template menu options for default templates */} {template.teamId !== Constants.globalTeamId &&