add internationalization for button labels in notifications

This commit is contained in:
Luis Sousa
2025-07-02 23:05:53 +01:00
parent 34455e10e4
commit d9cc0f82c1

View File

@@ -231,7 +231,7 @@ const CreateNotifications = () => {
color="secondary"
onClick={onTestNotification}
>
Test notification
{t("testNotification", "Test notification")}
</Button>
{notificationId && (
<Button
@@ -240,7 +240,7 @@ const CreateNotifications = () => {
color="error"
onClick={onDelete}
>
Delete
{t("delete", "Delete")}
</Button>
)}
<Button
@@ -249,7 +249,7 @@ const CreateNotifications = () => {
variant="contained"
color="accent"
>
Submit
{t("submit", "Submit")}
</Button>
</Stack>
</Stack>