Skip to content

Commit

Permalink
[ML] Fix earliest and latest texts for date fields (#87482)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
qn895 and kibanamachine authored Jan 8, 2021
1 parent e20817e commit db022a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,19 @@ export const DateContent: FC<FieldDataCardProps> = ({ config }) => {
{
function: 'earliest',
display: (
<FormattedMessage id="xpack.ml.fieldDataCard.cardDate.minLabel" defaultMessage="min" />
<FormattedMessage
id="xpack.ml.fieldDataCard.cardDate.earliestLabel"
defaultMessage="earliest"
/>
),
value: formatDate(earliest, TIME_FORMAT),
},
{
function: 'latest',
display: (
<FormattedMessage
id="xpack.ml.fieldDataCard.cardDate.medianLabel"
defaultMessage="median"
id="xpack.ml.fieldDataCard.cardDate.latestLabel"
defaultMessage="latest"
/>
),
value: formatDate(latest, TIME_FORMAT),
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -13141,8 +13141,6 @@
"xpack.ml.feature.reserved.description": "ユーザーアクセスを許可するには、machine_learning_user か machine_learning_admin ロールのどちらかを割り当てる必要があります。",
"xpack.ml.featureRegistry.mlFeatureName": "機械学習",
"xpack.ml.fieldDataCard.cardBoolean.valuesLabel": "値",
"xpack.ml.fieldDataCard.cardDate.medianLabel": "中間",
"xpack.ml.fieldDataCard.cardDate.minLabel": "分",
"xpack.ml.fieldDataCard.cardDate.summaryTableTitle": "まとめ",
"xpack.ml.fieldDataCard.cardIp.topValuesLabel": "トップの値",
"xpack.ml.fieldDataCard.cardKeyword.topValuesLabel": "トップの値",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -13172,8 +13172,6 @@
"xpack.ml.feature.reserved.description": "要向用户授予访问权限,还应分配 machine_learning_user 或 machine_learning_admin 角色。",
"xpack.ml.featureRegistry.mlFeatureName": "Machine Learning",
"xpack.ml.fieldDataCard.cardBoolean.valuesLabel": "值",
"xpack.ml.fieldDataCard.cardDate.medianLabel": "中值",
"xpack.ml.fieldDataCard.cardDate.minLabel": "min",
"xpack.ml.fieldDataCard.cardDate.summaryTableTitle": "摘要",
"xpack.ml.fieldDataCard.cardIp.topValuesLabel": "排名最前值",
"xpack.ml.fieldDataCard.cardKeyword.topValuesLabel": "排名最前值",
Expand Down

0 comments on commit db022a3

Please sign in to comment.