[8.8] [Enterprise Search] Fix wording of ML permissions message (#156910) (#157064)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Enterprise Search] Fix wording of ML permissions message
(#156910)](https://github.com/elastic/kibana/pull/156910)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Adam
Demjen","email":"demjened@gmail.com"},"sourceCommit":{"committedDate":"2023-05-08T20:01:27Z","message":"[Enterprise
Search] Fix wording of ML permissions message (#156910)\n\n##
Summary\r\n\r\nMake the tooltip (the one that shows over the Add ML
Inference Pipeline\r\nbutton if there are not enough permissions) sound
better in English.\r\n\r\n![Screenshot 2023-05-05 at 3 41
12\r\nPM](https://user-images.githubusercontent.com/14224983/236554464-9029578f-4e82-4301-8ca8-2f1d32698ea9.png)\r\n\r\n\r\n###
Checklist\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"7691cd27f0a237db48993a0f114b517fc04bb246","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.8.0","v8.9.0"],"number":156910,"url":"https://github.com/elastic/kibana/pull/156910","mergeCommit":{"message":"[Enterprise
Search] Fix wording of ML permissions message (#156910)\n\n##
Summary\r\n\r\nMake the tooltip (the one that shows over the Add ML
Inference Pipeline\r\nbutton if there are not enough permissions) sound
better in English.\r\n\r\n![Screenshot 2023-05-05 at 3 41
12\r\nPM](https://user-images.githubusercontent.com/14224983/236554464-9029578f-4e82-4301-8ca8-2f1d32698ea9.png)\r\n\r\n\r\n###
Checklist\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"7691cd27f0a237db48993a0f114b517fc04bb246"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156910","number":156910,"mergeCommit":{"message":"[Enterprise
Search] Fix wording of ML permissions message (#156910)\n\n##
Summary\r\n\r\nMake the tooltip (the one that shows over the Add ML
Inference Pipeline\r\nbutton if there are not enough permissions) sound
better in English.\r\n\r\n![Screenshot 2023-05-05 at 3 41
12\r\nPM](https://user-images.githubusercontent.com/14224983/236554464-9029578f-4e82-4301-8ca8-2f1d32698ea9.png)\r\n\r\n\r\n###
Checklist\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"7691cd27f0a237db48993a0f114b517fc04bb246"}}]}]
BACKPORT-->

Co-authored-by: Adam Demjen <demjened@gmail.com>
This commit is contained in:
Kibana Machine 2023-05-08 17:23:57 -04:00 committed by GitHub
parent 4a7d2b3211
commit fb1a5b8f65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ export const AddMLInferencePipelineButton: React.FC<AddMLInferencePipelineButton
<EuiToolTip
content={i18n.translate(
'xpack.enterpriseSearch.content.indices.pipelines.mlInference.addButton.mlPermissions.disabledTooltip',
{ defaultMessage: 'You do not have permission to Machine Learning on this cluster.' }
{ defaultMessage: 'You do not have permission to use Machine Learning on this cluster.' }
)}
>
<AddButton ingestionMethod={ingestionMethod} disabled />