Skip to content

Commit

Permalink
Add display name for PhysicalSwitch model
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Jun 29, 2018
1 parent 2e7a572 commit 150c367
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/physical_switch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ def refresh_ems

EmsRefresh.queue_refresh(ext_management_system)
end

def self.display_name(number = 1)
n_('Physical Switch', 'Physical Switches', number)
end
end
1 change: 1 addition & 0 deletions locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ en:
ManageIQ::Providers::Vmware::CloudManager::OrchestrationTemplate: vApp Template
PersistentVolume: Persistent Volume
PhysicalServer: Physical Server
PhysicalSwitch: Physical Switch
PolicyEvent: Policy Event
ProductUpdate: Product Update
PxeCustomizationTemplate: Customization Template
Expand Down

0 comments on commit 150c367

Please sign in to comment.