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