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

[i18n] Fix some hardcoded translations on Dashboard & Discover #105555

Merged

Conversation

dmlemeshko
Copy link
Member

@dmlemeshko dmlemeshko commented Jul 14, 2021

Summary

Related to the SDH: customer is not able to change dashboard text to Chinese translation on the saving dialog

PR removes hardcoded text from saving modal dialog on dashboard/save search/visualize (it wasn't hardcoded on Lens & Graph)

新建仪表板 - Elastic 2021-07-14 11-30-27

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

@dmlemeshko dmlemeshko added v7.14.1 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Jul 14, 2021
@dmlemeshko dmlemeshko marked this pull request as ready for review July 14, 2021 13:25
@dmlemeshko dmlemeshko requested a review from a team July 14, 2021 13:25
@dmlemeshko dmlemeshko requested a review from a team as a code owner July 14, 2021 13:25
@dmlemeshko dmlemeshko requested review from Bamieh and alexh97 July 14, 2021 13:26
@dmlemeshko
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Member

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

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

LGTM. There is no need to manually update the ja-JP and zh-CN json files. Our i18n tooling will take care of it.

Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

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

Presentation team changes LGTM!

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Kibana app code changes LGTM!

@dmlemeshko dmlemeshko added v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed and removed v7.14.1 labels Jul 14, 2021
@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
dashboard 221.3KB 221.4KB +105.0B
discover 425.0KB 425.1KB +111.0B
visualize 91.7KB 92.0KB +232.0B
total +448.0B

History

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

@dmlemeshko dmlemeshko added release_note:fix v7.15.0 and removed release_note:skip Skip the PR/issue when compiling release notes labels Jul 14, 2021
@dmlemeshko dmlemeshko merged commit 40e5725 into elastic:master Jul 14, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
…ic#105555)

* [i18n] fix objectType in dashboard/save_search save modal

* [i18n] fix objectType in visualize save modal

* add translations

Co-authored-by: Kibana Machine <[email protected]>
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 14, 2021
…ic#105555)

* [i18n] fix objectType in dashboard/save_search save modal

* [i18n] fix objectType in visualize save modal

* add translations

Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.14
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Jul 14, 2021
…) (#105631)

* [i18n] fix objectType in dashboard/save_search save modal

* [i18n] fix objectType in visualize save modal

* add translations

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Dzmitry Lemechko <[email protected]>
kibanamachine added a commit that referenced this pull request Jul 14, 2021
…) (#105632)

* [i18n] fix objectType in dashboard/save_search save modal

* [i18n] fix objectType in visualize save modal

* add translations

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Dzmitry Lemechko <[email protected]>
@KOTungseth KOTungseth added the Feature:Dashboard Dashboard related features label Jul 28, 2021
@dmlemeshko dmlemeshko deleted the i18n/remove-harcoded-object-type branch January 31, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Dashboard Dashboard related features release_note:fix v7.14.0 v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants