mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-20 16:49:46 -06:00
add internationalization for button labels in notifications
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user