-
Notifications
You must be signed in to change notification settings - Fork 356
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 #2082 from europ/remove-ui-constants-46
Remove ASSIGN_TOS from UiConstants
- quinteros-2.2
- quinteros-2.1
- quinteros-2
- quinteros-1
- petrosian-1
- oparin-1.1
- oparin-1
- najdorf-1.3
- najdorf-1.2
- najdorf-1.1
- najdorf-1
- morphy-1
- morphy-1-beta1
- lasker-1
- lasker-1-beta1
- kasparov-2
- kasparov-1
- kasparov-1-beta1.1
- kasparov-1-beta1
- kasparov-1-alpha1
- jansa-4
- jansa-3
- jansa-2
- jansa-1
- jansa-1-rc2
- jansa-1-rc1
- jansa-1-beta1
- jansa-1-alpha1
- ivanchuk-8
- ivanchuk-7
- ivanchuk-6
- ivanchuk-5
- ivanchuk-4
- ivanchuk-3
- ivanchuk-2
- ivanchuk-1
- ivanchuk-1-rc1
- ivanchuk-1-beta2
- ivanchuk-1-beta1
- hammer-11
- hammer-10
- hammer-9
- hammer-8
- hammer-7
- hammer-6
- hammer-5.1
- hammer-5
- hammer-4
- hammer-3
- hammer-2
- hammer-1
- hammer-1-rc2
- hammer-1-rc1
- hammer-1-beta2
- hammer-1-beta1.1
- hammer-1-beta1
- gaprindashvili-7
- gaprindashvili-6
- gaprindashvili-5
- gaprindashvili-4
- gaprindashvili-3
- gaprindashvili-2
- gaprindashvili-1
- gaprindashvili-1-rc1
- gaprindashvili-1-beta2
- gaprindashvili-1-beta1
Showing
4 changed files
with
56 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
module TermOfServiceHelper | ||
ASSIGN_TOS = { | ||
# This set of assignments was created for miq_alerts | ||
"ExtManagementSystem" => { | ||
"enterprise" => N_("The Enterprise"), | ||
"ext_management_system" => N_("Selected Providers"), | ||
"ext_management_system-tags" => N_("Tagged Providers"), | ||
"EmsCluster" => { | ||
"ems_cluster" => N_("Selected Cluster / Deployment Roles"), | ||
"ems_cluster-tags" => N_("Tagged Cluster / Deployment Roles"), | ||
"Host" => { | ||
"host" => N_("Selected Host / Nodes"), | ||
"host-tags" => N_("Tagged Host / Nodes"), | ||
"Vm" => { | ||
"ems_folder" => N_("Selected Folders"), | ||
"resource_pool" => N_("Selected Resource Pools"), | ||
"resource_pool-tags" => N_("Tagged Resource Pools"), | ||
"vm-tags" => N_("Tagged VMs and Instances") | ||
} | ||
} | ||
} | ||
}, | ||
"Storage" => { | ||
"enterprise" => N_("The Enterprise"), | ||
"storage" => N_("Selected Datastores"), | ||
"storage-tags" => N_("Tagged Datastores"), | ||
"tenant" => N_("Tenants") | ||
}, | ||
"MiqServer" => { | ||
"miq_server" => N_("Selected Servers"), | ||
}, | ||
"MiddlewareServer" => { | ||
"enterprise" => N_("The Enterprise"), | ||
"middleware_server" => N_("Selected Middleware Servers") | ||
}, | ||
"ContainerNode" => { | ||
"enterprise" => N_("The Enterprise"), | ||
}, | ||
# This set of assignments was created for chargeback_rates | ||
:chargeback_compute => { | ||
"enterprise" => N_("The Enterprise"), | ||
"ext_management_system" => N_("Selected Providers"), | ||
"ems_cluster" => N_("Selected Cluster / Deployment Roles"), | ||
"ems_container" => N_("Selected Containers Providers"), | ||
"vm-tags" => N_("Tagged VMs and Instances"), | ||
"container_image-tags" => N_("Tagged Container Images"), | ||
"container_image-labels" => N_("Labeled Container Images"), | ||
"tenant" => N_("Tenants") | ||
} | ||
} | ||
|
||
ASSIGN_TOS[:chargeback_storage] = ASSIGN_TOS["Storage"] | ||
ASSIGN_TOS.freeze | ||
end |
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