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

Ensure remaining models are translated but not through rails' titleize #20361

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented Jul 16, 2020

ui_lookup already deals with going to gettext and should be used for translating models by default. Delegating to titleize was something did before gettext and ui_lookup was rebust enough to be used but now that it is, we need to use it.

@miq-bot
Copy link
Member

miq-bot commented Jul 16, 2020

Checked commit jrafanie@ca162ce with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@h-kataria h-kataria self-assigned this Jul 16, 2020
@h-kataria h-kataria merged commit d6ea037 into ManageIQ:master Jul 16, 2020
@jrafanie jrafanie deleted the translate_compare_section_headers_for_all_models branch July 16, 2020 17:45
simaishi pushed a commit that referenced this pull request Jul 16, 2020
…ders_for_all_models

Ensure remaining models are translated but not through rails' titleize

(cherry picked from commit d6ea037)
@simaishi
Copy link
Contributor

Jansa backport details:

$ git log -1
commit 3873fd2d238f8f59ee755e1e7f45a7e5dcdbeacf
Author: Harpreet Kataria <hkataria@redhat.com>
Date:   Thu Jul 16 12:31:13 2020 -0400

    Merge pull request #20361 from jrafanie/translate_compare_section_headers_for_all_models

    Ensure remaining models are translated but not through rails' titleize

    (cherry picked from commit d6ea037cf8cae7d709a5438cc19f94c9861651ad)

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