Merge pull request #2566 from bluewave-labs/fix/missing-strings

fix: missing strings
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-07-01 23:47:07 +08:00
commit f5cf8e25f5
4 files changed
+17 -9

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}
+2 -2
View File
@@ -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
View File
@@ -87,10 +87,7 @@ const SettingsEmail = ({
!emailConfig.systemEmailPassword
) {
createToast({
body: t(
"settingsEmailRequiredFields",
"Email address, host, port and password are required"
),
body: t("settingsPage.emailSettings.toastEmailRequiredFieldsError"),
variant: "error",
});
return;
+13 -2
View File
@@ -197,12 +197,14 @@
"basicInformation": "Basic Information",
"bulkImport": {
"fallbackPage": "Import a file to upload a list of servers in bulk",
"invalidFileType": "Invalid file type",
"noFileSelected": "No file selected",
"parsingFailed": "Parsing failed",
"selectFile": "Select File",
"selectFileDescription": "You can download our <template>template</template> or <sample>sample</sample>",
"selectFileTips": "Select CSV file to upload",
"title": "Bulk Import",
"uploadFailed": "Upload failed",
"uploadSuccess": "Monitors created successfully!",
"validationFailed": "Validation failed"
},
@@ -226,6 +228,7 @@
"commonSaving": "Saving...",
"companyName": "Company name",
"configure": "Configure",
"confirmPassword": "Confirm password",
"cores": "Cores",
"country": "COUNTRY",
"cpu": "CPU",
@@ -488,6 +491,11 @@
"title": "Export/Import"
},
"monitorDisplayName": "Monitor display name",
"monitorHooks": {
"failureAddDemoMonitors": "Failed to add demo monitors",
"successAddDemoMonitors": "Successfully added demo monitors"
},
"monitorState": {
"active": "Active",
"paused": "Paused",
@@ -661,12 +669,14 @@
"selectAll": "Select all",
"sendTestNotifications": "Send test notifications",
"seperateEmails": "You can separate multiple emails with a comma",
"settingsAppearance": "Appearance",
"settingsDisabled": "Disabled",
"settingsDisplayTimezone": "Display timezone",
"settingsEmailUser": "Email user - Username for authentication, overrides email address if specified",
"settingsFailedToAddDemoMonitors": "Failed to add demo monitors",
"settingsFailedToClearStats": "Failed to clear stats",
"settingsFailedToDeleteMonitors": "Failed to delete all monitors",
"settingsFailedToSave": "Failed to save settings",
"settingsGeneralSettings": "General settings",
"settingsMonitorsDeleted": "Successfully deleted all monitors",
"settingsPage": {
"aboutSettings": {
@@ -698,7 +708,8 @@
"labelUser": "Email user - Username for authentication, overrides email address if specified",
"linkTransport": "See specifications here",
"placeholderUser": "Leave empty if not required",
"title": "Email"
"title": "Email",
"toastEmailRequiredFieldsError": "Email address, host, port and password are required"
},
"pageSpeedSettings": {
"description": "Enter your Google PageSpeed API key to enable Google PageSpeed monitoring. Click Reset to update the key.",