refactor(i18n): Added Chinese translations for Create Event and Maintenance

- Supplemented missing Chinese translations
- Added translation entries related to Create Event and Maintenance in both English and Chinese translation files
This commit is contained in:
YiZixuan
2025-09-09 21:21:34 +08:00
parent 06ba38aa15
commit 43957f65d2
4 changed files with 24 additions and 1 deletions
@@ -61,4 +61,5 @@ export const incidentTranslations: IncidentTranslations = {
affectedSystems: 'Affected Systems',
enterAffectedSystems: 'Enter Affected Systems',
separateSystemsWithComma: 'Enter affected systems seperated by comma',
createIncidentDesc: 'Create a new incident',
};
@@ -59,5 +59,5 @@ export interface IncidentTranslations {
affectedSystems: string;
enterAffectedSystems: string;
separateSystemsWithComma: string;
createIncidentDesc: string;
}
@@ -53,4 +53,13 @@ export const incidentTranslations: IncidentTranslations = {
failedToUpdateStatus: '更新状态失败',
inProgress: '进行中',
enterRootCause: '输入故障根源',
enterIncidentTitle: '输入事件标题',
enterIncidentDescription: '输入事件描述',
enterServiceId: '输入以逗号分隔的服务ID',
selectAssignedUser: '选择分配用户',
noAssignedUser: '该事件当前未分配给任何用户',
affectedSystems: '受影响系统',
enterAffectedSystems: '受影响系统',
separateSystemsWithComma: '输入受影响的系统,以逗号分隔',
createIncidentDesc: '创建一个新的事件',
};
@@ -65,4 +65,17 @@ export const maintenanceTranslations: MaintenanceTranslations = {
noScheduledMaintenance: '没有计划的维护',
noMaintenanceWindows: '没有此时间段的维护窗口。通过点击“创建维护”按钮创建一个。',
maintenanceCreatedSuccess: '维护窗口创建成功',
editMaintenanceWindow: '编辑维护',
editMaintenanceDesc: '编辑维护详情',
priorityDescription: '选择维护优先级',
statusDescription: '选择维护状态',
impactLevel: '影响级别',
impactLevelDescription: '选择影响级别',
selectAssignedUsers: '选择分配的用户',
assignedPersonnelDescription: '当前分配的用户',
mutedNotifications: '通知已禁用',
notificationsAreMuted: '此维护期间的通知当前已静音',
selectNotificationChannel: '添加通知渠道',
enableNotificationsFirst: '首先启用通知以选择频道',
updateMaintenance: '更新维护',
};