Translation followup (#9735)

Address PR comments and more progress on translation
This commit is contained in:
Félix Malfait
2025-01-19 13:29:19 +01:00
committed by GitHub
parent 052331685f
commit 056cb7c66d
97 changed files with 3981 additions and 402 deletions

View File

@ -1,3 +1,4 @@
import { useLingui } from '@lingui/react/macro';
import { LightButton } from 'twenty-ui';
type CancelButtonProps = {
@ -9,9 +10,10 @@ export const CancelButton = ({
onCancel,
disabled = false,
}: CancelButtonProps) => {
const { t } = useLingui();
return (
<LightButton
title="Cancel"
title={t`Cancel`}
accent="tertiary"
onClick={onCancel}
disabled={disabled}