mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-20 00:18:47 -05:00
Feat: Migrate Hardcoded Strings
This commit is contained in:
@@ -135,7 +135,7 @@ const ActionsMenu = ({ /* isAdmin, */ maintenanceWindow, updateCallback }) => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>
|
||||
{`${maintenanceWindow.active === true ? "Pause" : "Resume"}`}
|
||||
{`${maintenanceWindow.active === true ? t("pause") : t("resume")}`}
|
||||
</MenuItem>
|
||||
|
||||
<MenuItem
|
||||
@@ -150,12 +150,12 @@ const ActionsMenu = ({ /* isAdmin, */ maintenanceWindow, updateCallback }) => {
|
||||
<Dialog
|
||||
open={isOpen}
|
||||
theme={theme}
|
||||
title={"Do you really want to remove this maintenance window?"}
|
||||
title={t("maintenanceTableActionMenuDialogTitle")}
|
||||
onCancel={(e) => {
|
||||
e.stopPropagation();
|
||||
setIsOpen(false);
|
||||
}}
|
||||
confirmationButtonLabel={"Delete"}
|
||||
confirmationButtonLabel={t("delete")}
|
||||
onConfirm={(e) => {
|
||||
e.stopPropagation(e);
|
||||
handleRemove(e);
|
||||
|
||||
@@ -442,7 +442,7 @@ const PageSpeedConfigure = () => {
|
||||
title={t("deleteDialogTitle")}
|
||||
description={t("deleteDialogDescription")}
|
||||
onCancel={() => setIsOpen(false)}
|
||||
confirmationButtonLabel={"Delete"}
|
||||
confirmationButtonLabel={t("delete")}
|
||||
onConfirm={handleRemove}
|
||||
isLoading={buttonLoading}
|
||||
/>
|
||||
|
||||
+2
-1
@@ -200,7 +200,7 @@
|
||||
"notFoundButton": "Go to the main dashboard",
|
||||
"pageSpeedConfigureSettingsDescription": "Here you can select the URL of the host, together with the type of monitor.",
|
||||
"monitorDisplayName": "Monitor display name",
|
||||
"whenNewIncident,": "When there is a new incident,",
|
||||
"whenNewIncident": "When there is a new incident,",
|
||||
"notifySMS": "Notify via SMS (coming soon)",
|
||||
"notifyEmails": "Also notify via email to multiple addresses (coming soon)",
|
||||
"seperateEmails": "You can separate multiple emails with a comma",
|
||||
@@ -240,6 +240,7 @@
|
||||
"uptimeCreate": "The expected value is used to match against response result, and the match determines the status.",
|
||||
"uptimeCreateJsonPath": "This expression will be evaluated against the reponse JSON data and the result will be used to match against the expected value. See",
|
||||
"uptimeCreateJsonPathQuery": "for query language documentation.",
|
||||
"maintenanceTableActionMenuDialogTitle": "Do you really want to remove this maintenance window?",
|
||||
"notifications": {
|
||||
"enableNotifications": "Enable {{platform}} notifications",
|
||||
"testNotification": "Test notification",
|
||||
|
||||
Reference in New Issue
Block a user