Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions lib/hammer_cli_katello/host_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,31 @@ module HostExtensions
# Deprecated label. To be removed in future versions.
label _("Content view"), :sets => ['ALL'] do
field :id, _("Id"), Fields::Field,
:replaced_by => [_('Content Information'), _('Content View Environments'), _('CV Id')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('ContentView ID')].join('/')
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
:replaced_by => [_('Content Information'), _('Content View Environments'), _('ContentView ID')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Content View ID')].join('/')

field :name, _("Name"), Fields::Field,
:replaced_by => [_('Content Information'), _('Content View Environments'), _('CV Name')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Content View Name')].join('/')
field :composite, _("Composite"), Fields::Boolean,
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Composite CV')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Composite Content View')].join('/')
field :rolling, _("Rolling"), Fields::Boolean,
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Rolling CV')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Rolling Content View')].join('/')
end

field :id, _("CV Id")
field :name, _("CV Name")
field :composite, _("Composite CV"), Fields::Boolean
field :rolling, _("Rolling CV"), Fields::Boolean
field :id, _("ContentView ID")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
field :id, _("ContentView ID")
field :id, _("Content View ID")

field :name, _("Content View Name")
field :composite, _("Composite Content View"), Fields::Boolean
field :rolling, _("Rolling Content View"), Fields::Boolean
end
from :lifecycle_environment do
# Deprecated label. To be removed in future versions.
label _("Lifecycle environment"), :sets => ['ALL'] do
field :id, _("Id"), Fields::Field,
:replaced_by => [_('Content Information'), _('Content View Environments'), _('LE Id')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Lifecycle Environment Id')].join('/')
field :name, _("Name"), Fields::Field,
:replaced_by => [_('Content Information'), _('Content View Environments'), _('LE Name')].join('/')
:replaced_by => [_('Content Information'), _('Content View Environments'), _('Lifecycle Environment Name')].join('/')
end

field :id, _("LE Id")
field :name, _("LE Name")
field :id, _("Lifecycle Environment Id")
field :name, _("Lifecycle Environment Name")
end
field :label, _("Label")
end
Expand Down