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

Fixes #37691 - rename AuthSource Welcome var to fix translation #10255

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

MariaAga
Copy link
Member

the theme plugin renames FreeIPA and adds spaces which breaks the formatter, so I renamed the variable name

)}
values={{
FreeIPA: <em>FreeIPA</em>,
Free_IPA: <em>FreeIPA</em>,
Copy link
Contributor

Choose a reason for hiding this comment

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

The formatted message is not broken anymore, but the branding for FreeIPA is missing.
image

Suggested change
Free_IPA: <em>FreeIPA</em>,
Free_IPA: <em>{__('FreeIPA')}</em>,

This way, FreeIPA is still branded to Red Hat Identity Management.
image

I don't think OpenLDAP or Active Directory need the same treatment, as they do not need to be branded.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, fixed!

Copy link
Contributor

@Thorben-D Thorben-D left a comment

Choose a reason for hiding this comment

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

Looks good now! The formatting works fine and so does the branding.

@jeremylenz
Copy link
Contributor

@MariaAga can you re-run the failing tests? I don't seem to have those permissions

@MariaAga
Copy link
Member Author

MariaAga commented Sep 6, 2024

Rebased for the failing tests

)}
values={{
FreeIPA: <em>FreeIPA</em>,
Free_IPA: <em>{__('FreeIPA')}</em>,
Copy link
Member

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

4 participants