Merge pull request #16861 from strapi/chore/notification-missing-translation

Chore: Notification - Add missing translation
This commit is contained in:
Gustav Hansen 2023-05-30 10:31:05 +02:00 committed by GitHub
commit 093d3436a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -826,6 +826,7 @@
"global.back": "Back",
"global.cancel": "Cancel",
"global.change-password": "Change password",
"global.close": "Close",
"global.content-manager": "Content Manager",
"global.continue": "Continue",
"global.delete": "Delete",

View File

@ -211,7 +211,10 @@ const Notification = ({
) : undefined
}
onClose={handleClose}
closeLabel="Close"
closeLabel={formatMessage({
id: 'global.close',
defaultMessage: 'Close',
})}
title={alertTitle}
variant={variant}
>