resolve strings
This commit is contained in:
1 parent
4c5bb66c3d
commit
6c4717d5f6
3 files changed
+12
-5
No files matched your search
@@ -214,7 +214,7 @@ const PasswordPanel = () => {
|
|||||||
<TextInput
|
<TextInput
|
||||||
type="password"
|
type="password"
|
||||||
id="edit-confirm-password"
|
id="edit-confirm-password"
|
||||||
placeholder={t("confirmPassword", "Confirm password")}
|
placeholder={t("confirmPassword")}
|
||||||
autoComplete="new-password"
|
autoComplete="new-password"
|
||||||
value={localData.confirm}
|
value={localData.confirm}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
|
|||||||
@@ -385,9 +385,9 @@ const useAddDemoMonitors = () => {
|
|||||||
try {
|
try {
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
await networkService.addDemoMonitors();
|
await networkService.addDemoMonitors();
|
||||||
createToast({ body: t("settingsDemoMonitorsAdded") });
|
createToast({ body: t("monitorHooks.successAddDemoMonitors") });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
createToast({ body: t("settingsFailedToAddDemoMonitors") });
|
createToast({ body: t("monitorHooks.failureAddDemoMonitors") });
|
||||||
} finally {
|
} finally {
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
|
"settingsAppearance": "Appearance",
|
||||||
|
"confirmPassword": "Confirm password",
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
"distributedStatusHeaderText": "Real-time, real-device coverage",
|
"distributedStatusHeaderText": "Real-time, real-device coverage",
|
||||||
@@ -8,7 +10,6 @@
|
|||||||
"settingsFailedToSave": "Failed to save settings",
|
"settingsFailedToSave": "Failed to save settings",
|
||||||
"settingsStatsCleared": "Stats cleared successfully",
|
"settingsStatsCleared": "Stats cleared successfully",
|
||||||
"settingsFailedToClearStats": "Failed to clear stats",
|
"settingsFailedToClearStats": "Failed to clear stats",
|
||||||
"settingsFailedToAddDemoMonitors": "Failed to add demo monitors",
|
|
||||||
"settingsMonitorsDeleted": "Successfully deleted all monitors",
|
"settingsMonitorsDeleted": "Successfully deleted all monitors",
|
||||||
"settingsFailedToDeleteMonitors": "Failed to delete all monitors",
|
"settingsFailedToDeleteMonitors": "Failed to delete all monitors",
|
||||||
"starPromptTitle": "Star Checkmate",
|
"starPromptTitle": "Star Checkmate",
|
||||||
@@ -335,7 +336,9 @@
|
|||||||
"uploadSuccess": "Monitors created successfully!",
|
"uploadSuccess": "Monitors created successfully!",
|
||||||
"validationFailed": "Validation failed",
|
"validationFailed": "Validation failed",
|
||||||
"noFileSelected": "No file selected",
|
"noFileSelected": "No file selected",
|
||||||
"fallbackPage": "Import a file to upload a list of servers in bulk"
|
"fallbackPage": "Import a file to upload a list of servers in bulk",
|
||||||
|
"invalidFileType": "Invalid file type",
|
||||||
|
"uploadFailed": "Upload failed"
|
||||||
},
|
},
|
||||||
"DeleteAccountTitle": "Remove account",
|
"DeleteAccountTitle": "Remove account",
|
||||||
"DeleteAccountButton": "Remove account",
|
"DeleteAccountButton": "Remove account",
|
||||||
@@ -839,5 +842,9 @@
|
|||||||
},
|
},
|
||||||
"statusPageCreate": {
|
"statusPageCreate": {
|
||||||
"buttonSave": "Save"
|
"buttonSave": "Save"
|
||||||
|
},
|
||||||
|
"monitorHooks": {
|
||||||
|
"successAddDemoMonitors": "Successfully added demo monitors",
|
||||||
|
"failureAddDemoMonitors": "Failed to add demo monitors"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user