Skip to content

Commit

Permalink
Fix i18n pipeline - correctly extract files from brevo library and fi…
Browse files Browse the repository at this point in the history
…x duplicate messages (#76)
  • Loading branch information
raphaelblum authored Aug 22, 2024
1 parent 18b5b91 commit 72fb133
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint:root": "$npm_execpath prettier --check './!(demo|packages)/**/*.{js,json,md,yml,yaml}'",
"lint:eslint": "pnpm recursive run lint:eslint",
"lint:tsc": "pnpm recursive run lint:tsc",
"intl:extract": "formatjs extract \"src/**/*.ts*\" --ignore ./**.d.ts --out-file lang-extracted/en.json --format simple",
"intl:extract": "formatjs extract './packages/admin/**/*.ts*' --out-file 'lang/en.json' --ignore './**.d.ts' --ignore './**.d.ts.map' --format simple --throws",
"version": "$npm_execpath changeset version && pnpm install --lockfile-only",
"publish": "pnpm run build:lib && $npm_execpath changeset publish"
},
Expand All @@ -39,4 +39,4 @@
"ts-node": "^10.5.0",
"typescript": "^4.2.2"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const AssignedContactsGridToolbar = ({
<>
<Toolbar>
<ToolbarTitleItem>
<FormattedMessage id="cometBrevoModule.targetGroup.assignedContacts.title" defaultMessage="Manually assigned contacts" />
<FormattedMessage id="cometBrevoModule.targetGroup.manuallyAssignedContacts.title" defaultMessage="Manually assigned contacts" />
</ToolbarTitleItem>
<ToolbarItem>
<GridToolbarQuickFilter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const AssignedContactsGridToolbar = () => {
return (
<Toolbar>
<ToolbarTitleItem>
<FormattedMessage id="cometBrevoModule.targetGroup.assignedContacts.title" defaultMessage="All assigned contacts" />
<FormattedMessage id="cometBrevoModule.targetGroup.allAssignedContacts.title" defaultMessage="All assigned contacts" />
</ToolbarTitleItem>
<ToolbarItem>
<GridToolbarQuickFilter
Expand Down

0 comments on commit 72fb133

Please sign in to comment.