mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 00:23:57 +00:00
Make categories singular instead of plural
This commit is contained in:
parent
d4d9093505
commit
80bf232f06
@ -8,10 +8,10 @@ export class DockerConfigurationService {
|
||||
|
||||
getCategories() {
|
||||
let categories = [["Default", "guest"],
|
||||
["Routers", "routers"],
|
||||
["Switches", "switches"],
|
||||
["End devices", "end_devices"],
|
||||
["Security devices", "security_devices"]];
|
||||
["Routers", "router"],
|
||||
["Switches", "switch"],
|
||||
["End devices", "end_device"],
|
||||
["Security devices", "security_device"]];
|
||||
|
||||
return categories;
|
||||
}
|
||||
|
@ -64,17 +64,17 @@ export class QemuConfigurationService {
|
||||
|
||||
getBootPriorities() {
|
||||
let bootPriorities = [["HDD", "c"],
|
||||
["CD/DVD-ROM", "d"],
|
||||
["Network", "n"],
|
||||
["HDD or Network", "cn"],
|
||||
["CD/DVD-ROM", "d"],
|
||||
["Network", "n"],
|
||||
["HDD or Network", "cn"],
|
||||
["HDD or CD/DVD-ROM", "cd"]];
|
||||
|
||||
return bootPriorities;
|
||||
}
|
||||
|
||||
getOnCloseOptions() {
|
||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||
["Save the VM state", "save_vm_state"]];
|
||||
|
||||
return onCloseOptions;
|
||||
@ -82,10 +82,10 @@ export class QemuConfigurationService {
|
||||
|
||||
getCategories() {
|
||||
let categories = [["Default", "guest"],
|
||||
["Routers", "routers"],
|
||||
["Switches", "switches"],
|
||||
["End devices", "end_devices"],
|
||||
["Security devices", "security_devices"]];
|
||||
["Routers", "router"],
|
||||
["Switches", "switch"],
|
||||
["End devices", "end_device"],
|
||||
["Security devices", "security_device"]];
|
||||
|
||||
return categories;
|
||||
}
|
||||
|
@ -7,8 +7,8 @@ export class VirtualBoxConfigurationService{
|
||||
}
|
||||
|
||||
getOnCloseoptions() {
|
||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||
["Save the VM state", "save_vm_state"]];
|
||||
|
||||
return onCloseOptions;
|
||||
@ -16,10 +16,10 @@ export class VirtualBoxConfigurationService{
|
||||
|
||||
getCategories() {
|
||||
let categories = [["Default", "guest"],
|
||||
["Routers", "routers"],
|
||||
["Switches", "switches"],
|
||||
["End devices", "end_devices"],
|
||||
["Security devices", "security_devices"]];
|
||||
["Routers", "router"],
|
||||
["Switches", "switch"],
|
||||
["End devices", "end_device"],
|
||||
["Security devices", "security_device"]];
|
||||
|
||||
return categories;
|
||||
}
|
||||
@ -33,5 +33,5 @@ export class VirtualBoxConfigurationService{
|
||||
"Paravirtualized Network (virtio-net)"];
|
||||
|
||||
return networkTypes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,8 +7,8 @@ export class VmwareConfigurationService{
|
||||
}
|
||||
|
||||
getOnCloseoptions() {
|
||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||
["Save the VM state", "save_vm_state"]];
|
||||
|
||||
return onCloseOptions;
|
||||
@ -16,10 +16,10 @@ export class VmwareConfigurationService{
|
||||
|
||||
getCategories() {
|
||||
let categories = [["Default", "guest"],
|
||||
["Routers", "routers"],
|
||||
["Switches", "switches"],
|
||||
["End devices", "end_devices"],
|
||||
["Security devices", "security_devices"]];
|
||||
["Routers", "router"],
|
||||
["Switches", "switch"],
|
||||
["End devices", "end_device"],
|
||||
["Security devices", "security_device"]];
|
||||
|
||||
return categories;
|
||||
}
|
||||
@ -35,5 +35,5 @@ export class VmwareConfigurationService{
|
||||
"vmxnet3"];
|
||||
|
||||
return networkTypes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,10 +8,10 @@ export class VpcsConfigurationService {
|
||||
|
||||
getCategories(){
|
||||
let categories = [["Default", "guest"],
|
||||
["Routers", "routers"],
|
||||
["Switches", "switches"],
|
||||
["End devices", "end_devices"],
|
||||
["Security devices", "security_devices"]];
|
||||
["Routers", "router"],
|
||||
["Switches", "switch"],
|
||||
["End devices", "end_device"],
|
||||
["Security devices", "security_device"]];
|
||||
|
||||
return categories;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user