-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[i18n] Translate Security -> Account and Nav control components #26011
Conversation
There was a problem hiding this 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
x-pack/plugins/security/public/views/nav_control/nav_control_component.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/security/public/views/nav_control/nav_control_component.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/security/public/views/nav_control/nav_control.html
Outdated
Show resolved
Hide resolved
💔 Build Failed |
...ment/edit_role/components/privileges/kibana/__snapshots__/privilege_space_form.test.tsx.snap
Outdated
Show resolved
Hide resolved
…/kibana into feature/translations/login
There was a problem hiding this 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)" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
💚 Build Succeeded |
💚 Build Succeeded |
💚 Build Succeeded |
💚 Build Succeeded |
…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
…) (#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
translate login/logout visualization component