diff --git a/lib/hammer_cli_katello/organization.rb b/lib/hammer_cli_katello/organization.rb index 636428e1..2c15e7af 100644 --- a/lib/hammer_cli_katello/organization.rb +++ b/lib/hammer_cli_katello/organization.rb @@ -77,7 +77,9 @@ def request_params params["organization"] = params.fetch('organization', {}).merge( "_simple_content_access" => params['simple_content_access']) unless params['simple_content_access'] - warn "Simple Content Access will be required for all organizations in Katello 4.12." + warn( + _("Simple Content Access will be required for all organizations in the next release.") + ) end end params diff --git a/lib/hammer_cli_katello/simple_content_access.rb b/lib/hammer_cli_katello/simple_content_access.rb index 5397b0e7..d277aa1e 100644 --- a/lib/hammer_cli_katello/simple_content_access.rb +++ b/lib/hammer_cli_katello/simple_content_access.rb @@ -1,5 +1,7 @@ module HammerCLIKatello class SimpleContentAccess < HammerCLIKatello::Command + resource :simple_content_access + desc "Toggle simple content access mode across organization" module EligibleCheck @@ -47,7 +49,7 @@ class DisableCommand < HammerCLIKatello::SingleResourceCommand build_options def execute - warn "Simple Content Access will be required for all organizations in Katello 4.12." + warn _("Simple Content Access will be required for all organizations in the next release.") super end end