Make categories singular instead of plural

This commit is contained in:
Billy Nix 2021-01-31 00:47:03 +01:00
parent d4d9093505
commit 80bf232f06
5 changed files with 31 additions and 31 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}