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] Translate Security -> Account and Nav control components #26011

Merged
merged 16 commits into from
Dec 5, 2018

Conversation

tibmt
Copy link
Contributor

@tibmt tibmt commented Nov 21, 2018

translate login/logout visualization component

@tibmt tibmt self-assigned this Nov 21, 2018
@tibmt tibmt requested review from pavel06081991 and maryia-lapata and removed request for maryia-lapata November 21, 2018 12:51
Copy link
Contributor

@pavel06081991 pavel06081991 left a comment

Choose a reason for hiding this comment

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

LGTM but please fix some comments and CI

@tibmt tibmt requested a review from joshdover November 23, 2018 08:05
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@elastic elastic deleted a comment from elasticmachine Nov 30, 2018
@maryia-lapata maryia-lapata changed the title translate login/logout visualization component [i18n] Translate Security -> Account and Nav control components Dec 3, 2018
Copy link
Contributor

@joshdover joshdover left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -10,7 +10,7 @@
<global-nav-link
kbn-route="'/logout'"
icon="'plugins/security/images/logout.svg'"
tooltip-content="formatTooltip('Logout')"
label="'Logout'"
tooltip-content="formatTooltip(logoutLabel)"
Copy link
Contributor

Choose a reason for hiding this comment

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

@joshdover I added localization for tooltip as well, but I didn't find formatTooltip function. I think it should be similar to accountTooltip https://github.com/elastic/kibana/pull/26011/files#diff-02abf9793c68e526c53c333ee2301584R41
Is this issue known?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I'm not seeing that function anywhere either. I agree it seems like it should just be accountTooltip

Copy link
Contributor

@maryia-lapata maryia-lapata Dec 3, 2018

Choose a reason for hiding this comment

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

@joshdover, don't you mind if I just replace formatTooltip with accountTooltip in this PR?

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@maryia-lapata maryia-lapata merged commit 9c022d8 into elastic:master Dec 5, 2018
maryia-lapata pushed a commit to maryia-lapata/kibana that referenced this pull request Dec 5, 2018
…tic#26011)

* translate login/logout visualization component

* Update login/logout component - change injecti18n name to injectI18n

* Update login/logout component - make needed changes

* update one snapshot

* update login translation

* update one snapshot

* Fix

* Fix unit test

* Localize logout tooltip
maryia-lapata added a commit that referenced this pull request Dec 5, 2018
…) (#26689)

* translate login/logout visualization component

* Update login/logout component - change injecti18n name to injectI18n

* Update login/logout component - make needed changes

* update one snapshot

* update login translation

* update one snapshot

* Fix

* Fix unit test

* Localize logout tooltip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants