-
Notifications
You must be signed in to change notification settings - Fork 900
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
Add PxeServer.verify_depot_settings_queue #21013
Conversation
2ac0f36
to
b60096d
Compare
@@ -24,6 +24,21 @@ def verify_depot_settings(settings) | |||
res | |||
end | |||
|
|||
def verify_depot_settings_queue(userid, options) | |||
task_opts = { | |||
:action => "Verify #{display_name} Credentials", |
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.
I don't think this is i18n compliant. @mzazrivec can you remind me of the right way to do this?
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.
I think it's
:action => "Verify #{display_name} Credentials", | |
:action => _("Verify %{display_name} Credentials") % {:display_name => display_name} |
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.
@Fryguy correct
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.
This action
would be logged into the log file and saved into task's message
column. Do we really need to make it I18N compliant? @Fryguy
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.
If the message ends up in a log file, then no, we're not translating that.
@bdunne Can you please also review? |
b60096d
to
edcc516
Compare
edcc516
to
d892d49
Compare
Checked commit lfu@d892d49 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint |
@bdunne can you take another look? |
Blocks ManageIQ/manageiq-api#1017
ManageIQ/manageiq-api#926
@miq-bot add_label enhancement, kasparov/no