refactor(i18n): Add internationalization support for the dashboard service status card
- Add new translation items to multiple language files, including Chinese and English - Implement internationalization support in the StatusCards component
This commit is contained in:
@@ -89,4 +89,10 @@ export const servicesTranslations: ServicesTranslations = {
|
||||
serviceNameRequired: "Service name is required",
|
||||
urlDomainHostRequired: "URL/Domain/Host is required",
|
||||
enterValidUrlHostnameDomain: "Please enter a valid URL, hostname, or domain",
|
||||
|
||||
// Dashboard
|
||||
upServices: "UP SERVICES",
|
||||
downServices: "DOWN SERVICES",
|
||||
pausedServices: "PAUSED SERVICES",
|
||||
warningServices: "WARNING SERVICES",
|
||||
};
|
||||
@@ -87,4 +87,10 @@ export interface ServicesTranslations {
|
||||
serviceNameRequired: string;
|
||||
urlDomainHostRequired: string;
|
||||
enterValidUrlHostnameDomain: string;
|
||||
|
||||
// Dashboard
|
||||
upServices: string;
|
||||
downServices: string;
|
||||
pausedServices: string;
|
||||
warningServices: string;
|
||||
}
|
||||
|
||||
@@ -89,4 +89,10 @@ export const servicesTranslations: ServicesTranslations = {
|
||||
serviceNameRequired: "服务名称是必填项",
|
||||
urlDomainHostRequired: "URL/域名/主机名是必填项",
|
||||
enterValidUrlHostnameDomain: "请输入有效的URL、主机名或域名",
|
||||
|
||||
// Dashboard
|
||||
upServices: "在线服务",
|
||||
downServices: "下线服务",
|
||||
pausedServices: "暂停服务",
|
||||
warningServices: "告警服务",
|
||||
};
|
||||
Reference in New Issue
Block a user