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
|
||||
type="password"
|
||||
id="edit-confirm-password"
|
||||
placeholder={t("confirmPassword", "Confirm password")}
|
||||
placeholder={t("confirmPassword")}
|
||||
autoComplete="new-password"
|
||||
value={localData.confirm}
|
||||
onChange={handleChange}
|
||||
|
||||
@@ -385,9 +385,9 @@ const useAddDemoMonitors = () => {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
await networkService.addDemoMonitors();
|
||||
createToast({ body: t("settingsDemoMonitorsAdded") });
|
||||
createToast({ body: t("monitorHooks.successAddDemoMonitors") });
|
||||
} catch (error) {
|
||||
createToast({ body: t("settingsFailedToAddDemoMonitors") });
|
||||
createToast({ body: t("monitorHooks.failureAddDemoMonitors") });
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"settingsAppearance": "Appearance",
|
||||
"confirmPassword": "Confirm password",
|
||||
"submit": "Submit",
|
||||
"title": "Title",
|
||||
"distributedStatusHeaderText": "Real-time, real-device coverage",
|
||||
@@ -8,7 +10,6 @@
|
||||
"settingsFailedToSave": "Failed to save settings",
|
||||
"settingsStatsCleared": "Stats cleared successfully",
|
||||
"settingsFailedToClearStats": "Failed to clear stats",
|
||||
"settingsFailedToAddDemoMonitors": "Failed to add demo monitors",
|
||||
"settingsMonitorsDeleted": "Successfully deleted all monitors",
|
||||
"settingsFailedToDeleteMonitors": "Failed to delete all monitors",
|
||||
"starPromptTitle": "Star Checkmate",
|
||||
@@ -335,7 +336,9 @@
|
||||
"uploadSuccess": "Monitors created successfully!",
|
||||
"validationFailed": "Validation failed",
|
||||
"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",
|
||||
"DeleteAccountButton": "Remove account",
|
||||
@@ -839,5 +842,9 @@
|
||||
},
|
||||
"statusPageCreate": {
|
||||
"buttonSave": "Save"
|
||||
},
|
||||
"monitorHooks": {
|
||||
"successAddDemoMonitors": "Successfully added demo monitors",
|
||||
"failureAddDemoMonitors": "Failed to add demo monitors"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user