mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Adds anomaly time to aria label for anomalies table actions button (#32777)
* [ML] Adds anomaly time to aria label for anomalies table actions button * [ML] Update CHinese translation for edited table actions button
This commit is contained in:
parent
e2e55bc08c
commit
1ebe64fd4d
2 changed files with 3 additions and 3 deletions
|
@ -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) })}
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
|
@ -4646,7 +4646,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": "查看示例",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue