-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from mzazrivec/migrate_display_names_for_models
Migrate model display names from locale/en.yml to plugin
- Loading branch information
Showing
9 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
app/models/manageiq/providers/azure/network_manager/cloud_network.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
class ManageIQ::Providers::Azure::NetworkManager::CloudNetwork < ::CloudNetwork | ||
def self.display_name(number = 1) | ||
n_('Cloud Network (Microsoft Azure)', 'Cloud Networks (Microsoft Azure)', number) | ||
end | ||
end |
3 changes: 3 additions & 0 deletions
3
app/models/manageiq/providers/azure/network_manager/cloud_subnet.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
class ManageIQ::Providers::Azure::NetworkManager::CloudSubnet < ::CloudSubnet | ||
def self.display_name(number = 1) | ||
n_('Cloud Subnet (Microsoft Azure)', 'Cloud Subnets (Microsoft Azure)', number) | ||
end | ||
end |
3 changes: 3 additions & 0 deletions
3
app/models/manageiq/providers/azure/network_manager/load_balancer.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
class ManageIQ::Providers::Azure::NetworkManager::LoadBalancer < ::LoadBalancer | ||
def self.display_name(number = 1) | ||
n_('Load Balancer (Microsoft Azure)', 'Load Balancers (Microsoft Azure)', number) | ||
end | ||
end |
3 changes: 3 additions & 0 deletions
3
app/models/manageiq/providers/azure/network_manager/network_port.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
class ManageIQ::Providers::Azure::NetworkManager::NetworkPort < ::NetworkPort | ||
def self.display_name(number = 1) | ||
n_('Network Port (Microsoft Azure)', 'Network Ports (Microsoft Azure)', number) | ||
end | ||
end |