add internationalization for button labels in notifications
This commit is contained in:
1 file changed
+3
-3
@@ -231,7 +231,7 @@ const CreateNotifications = () => {
|
|||||||
color="secondary"
|
color="secondary"
|
||||||
onClick={onTestNotification}
|
onClick={onTestNotification}
|
||||||
>
|
>
|
||||||
Test notification
|
{t("testNotification", "Test notification")}
|
||||||
</Button>
|
</Button>
|
||||||
{notificationId && (
|
{notificationId && (
|
||||||
<Button
|
<Button
|
||||||
@@ -240,7 +240,7 @@ const CreateNotifications = () => {
|
|||||||
color="error"
|
color="error"
|
||||||
onClick={onDelete}
|
onClick={onDelete}
|
||||||
>
|
>
|
||||||
Delete
|
{t("delete", "Delete")}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
<Button
|
<Button
|
||||||
@@ -249,7 +249,7 @@ const CreateNotifications = () => {
|
|||||||
variant="contained"
|
variant="contained"
|
||||||
color="accent"
|
color="accent"
|
||||||
>
|
>
|
||||||
Submit
|
{t("submit", "Submit")}
|
||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in new issue
Block a user