Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Upgrade assistant] Clean up i18n #89661

Merged

Conversation

alisonelizabeth
Copy link
Contributor

This PR removes the use of injectI18n() in favor of i18n.translate() in Upgrade Assistant per i18n guidelines.

Most of the text affects the overview tab in Upgrade Assistant. There are also some table headers updated that are rendered under the "Indices" tab. If you'd like to test this, you'll need to hack x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts as described in #89207.

@alisonelizabeth alisonelizabeth added chore v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes Feature:Upgrade Assistant v7.12.0 labels Jan 29, 2021
@alisonelizabeth alisonelizabeth requested a review from a team as a code owner January 29, 2021 01:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
upgradeAssistant 135.9KB 135.8KB -74.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@yuliacech yuliacech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alisonelizabeth , thanks for updating UA to use the correct i18n function 👍
code LGTM, didn't test locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:Upgrade Assistant release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants