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

Migrate model display names from locale/en.yml to plugin #197

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

mzazrivec
Copy link
Contributor

This is a continuation of the work started in ManageIQ/manageiq#16596 where we want to migrate display model names from locale/en.yml into particular models, where we'll use standard gettext. Main goal here is to make this one aspect of our application pluggable.

Core PR: ManageIQ/manageiq#16836

@miq-bot
Copy link
Member

miq-bot commented Jan 18, 2018

Checked commit mzazrivec@e16cb1d with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🍰

@masayag
Copy link
Contributor

masayag commented Jan 18, 2018

@mzazrivec is it possible to add display name for templates as well ?

@mzazrivec
Copy link
Contributor Author

@masayag The changes in this PR were generated automatically by a script from the content of locale/en.yml (in core repo). Obviously, the display name can be added for any model, but I'd rather do that in a separate pull request.

@masayag masayag self-assigned this Jan 18, 2018
@masayag masayag merged commit 89df36f into ManageIQ:master Jan 18, 2018
@agrare agrare added this to the Sprint 78 Ending Jan 29, 2018 milestone Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants