diff --git a/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js b/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js index 26849f73396f90..e780f1e3196bb4 100644 --- a/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js +++ b/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js @@ -30,6 +30,7 @@ import { getFieldTypeFromMapping } from '../../services/mapping_service'; import { ml } from '../../services/ml_api_service'; import { mlJobService } from '../../services/job_service'; import { getUrlForRecord } from '../../util/custom_url_utils'; +import { formatHumanReadableDateTimeSeconds } from '../../util/date_utils'; import { getIndexPatterns } from '../../util/index_utils'; import { replaceStringTokens } from '../../util/string_utils'; @@ -374,8 +375,8 @@ export const LinksMenu = injectI18n(class LinksMenu extends Component { iconType="gear" aria-label={intl.formatMessage({ id: 'xpack.ml.anomaliesTable.linksMenu.selectActionAriaLabel', - defaultMessage: 'Select action', - })} + defaultMessage: 'Select action for anomaly at {time}', + }, { time: formatHumanReadableDateTimeSeconds(anomaly.time) })} /> ); diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index d7ae05a3918443..5e1c4eb38efb8b 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -4675,7 +4675,6 @@ "xpack.ml.anomaliesTable.linksMenu.configureRulesLabel": "配置规则", "xpack.ml.anomaliesTable.linksMenu.loadingDetailsErrorMessage": "无法查看示例,因为加载有关类别 ID {categoryId} 的详细信息时出错", "xpack.ml.anomaliesTable.linksMenu.noMappingCouldBeFoundErrorMessage": "无法查看 mlcategory 为 {categoryId} 的文档的示例,因为找不到分类字段 {categorizationFieldName} 的映射", - "xpack.ml.anomaliesTable.linksMenu.selectActionAriaLabel": "选择操作", "xpack.ml.anomaliesTable.linksMenu.unableToOpenLinkErrorMessage": "无法打开链接,因为加载有关类别 ID {categoryId} 的详细信息时出错", "xpack.ml.anomaliesTable.linksMenu.unableToViewExamplesErrorMessage": "无法查看示例,因为未找到作业 ID {jobId} 的详细信息", "xpack.ml.anomaliesTable.linksMenu.viewExamplesLabel": "查看示例",