refactory(i18n): Add internationalization support for the service statistics card

This commit is contained in:
YiZixuan
2025-09-08 21:35:48 +08:00
parent b675fddc92
commit f4d47bbd45
6 changed files with 66 additions and 15 deletions
+13 -2
View File
@@ -119,10 +119,21 @@ export const servicesTranslations: ServicesTranslations = {
editService: "Edit Service",
editServiceDesc: "Update the details of your monitored service.",
//ServiceStatsCards.tsx
lastCheckedAt: "Last checked at {datetime}",
avg: "Avg",
lastUpChecksCount: "last {count} up checks",
basedOnlastChecksCount: "Based on last {count} checks",
totalUptime: "Total Uptime",
totalDowntime: "Total Downtime",
monitoringSettings: "Monitoring Settings",
monitoringSettingsInterval: "Checked every {interval} seconds",
monitoringSettingsType: "monitoring",
upStatusDuration: "Up for {duration}",
downStatusDuration: "Down for {duration}",
incidentHistory: "Incident History",
processing: "Processing",
back: "Back",
last20Checks: "Last 20 checks",
};