Skip to content

Add missing i18n call#42234

Merged
timroes merged 3 commits intoelastic:masterfrom
timroes:missing-i18n
Jul 30, 2019
Merged

Add missing i18n call#42234
timroes merged 3 commits intoelastic:masterfrom
timroes:missing-i18n

Conversation

@timroes
Copy link
Contributor

@timroes timroes commented Jul 30, 2019

Summary

Fix #42176

Adds the missing i18n.translate call (we try to get away from the React intl properties) for the "Filters" text in the query bar. It also fixes the "filter applied." message which broke in #40262.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@timroes timroes added Feature:Query Bar Querying and query bar features Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.4.0 labels Jul 30, 2019
@timroes timroes requested review from flash1293 and kertal July 30, 2019 09:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

Code LGTM, Tested in Chrome.
In case you want to be a busy 🐝 you could also adapt the filters applied text in the same file to sentence case

@timroes
Copy link
Contributor Author

timroes commented Jul 30, 2019

Good catch Matthias. I think that label is actually completely broken since it should contain the numbers of filters (broke in #40262). Will fix that.

@timroes timroes requested a review from kertal July 30, 2019 11:05
@elasticmachine
Copy link
Contributor

💔 Build Failed

@timroes
Copy link
Contributor Author

timroes commented Jul 30, 2019

Jenkins, test this - great CI passed but failed to report that correctly

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

Code LGTM, tested with chrome, here are your flowers 🌻💐🌸 for the collection of pollen grains

@elasticmachine
Copy link
Contributor

💔 Build Failed

@kertal
Copy link
Member

kertal commented Jul 30, 2019

jenkins test this (quit playing games with tim's ❤️)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@timroes timroes merged commit 5294557 into elastic:master Jul 30, 2019
@timroes timroes deleted the missing-i18n branch July 30, 2019 16:00
timroes pushed a commit to timroes/kibana that referenced this pull request Jul 30, 2019
* Add missing i18n call

* Fix filter applied message

* Add another missing translation
timroes pushed a commit that referenced this pull request Jul 30, 2019
* Add missing i18n call

* Fix filter applied message

* Add another missing translation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Query Bar Querying and query bar features release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.4.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'filters' text in filter bar isn't localized

3 participants