Skip to content

Commit

Permalink
Change "Add column" button label in createColumnsBlock to "Add item" (
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdax98 authored Feb 25, 2025
1 parent 46ab330 commit e056e8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-ads-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@comet/blocks-admin": patch
---

Change "Add column" button label in `createColumnsBlock` to "Add item"
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,7 @@ export function createColumnsBlock<T extends BlockInterface>(
<LargeAddButtonContent>
<LargeAddButtonIcon />
<Typography>
<FormattedMessage
id="comet.blocks.columns.addColumn"
defaultMessage="Add column"
/>
<FormattedMessage id="comet.blocks.columns.addItem" defaultMessage="Add item" />
</Typography>
</LargeAddButtonContent>
</AdminComponentButton>
Expand All @@ -402,7 +399,7 @@ export function createColumnsBlock<T extends BlockInterface>(
size="large"
startIcon={<Add />}
>
<FormattedMessage id="comet.blocks.columns.addColumn" defaultMessage="Add column" />
<FormattedMessage id="comet.blocks.columns.addItem" defaultMessage="Add item" />
</AdminComponentButton>
</AdminComponentStickyFooter>
)}
Expand Down

0 comments on commit e056e8f

Please sign in to comment.