mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-07 11:50:15 +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() {
|
getCategories() {
|
||||||
let categories = [["Default", "guest"],
|
let categories = [["Default", "guest"],
|
||||||
["Routers", "routers"],
|
["Routers", "router"],
|
||||||
["Switches", "switches"],
|
["Switches", "switch"],
|
||||||
["End devices", "end_devices"],
|
["End devices", "end_device"],
|
||||||
["Security devices", "security_devices"]];
|
["Security devices", "security_device"]];
|
||||||
|
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
@ -64,17 +64,17 @@ export class QemuConfigurationService {
|
|||||||
|
|
||||||
getBootPriorities() {
|
getBootPriorities() {
|
||||||
let bootPriorities = [["HDD", "c"],
|
let bootPriorities = [["HDD", "c"],
|
||||||
["CD/DVD-ROM", "d"],
|
["CD/DVD-ROM", "d"],
|
||||||
["Network", "n"],
|
["Network", "n"],
|
||||||
["HDD or Network", "cn"],
|
["HDD or Network", "cn"],
|
||||||
["HDD or CD/DVD-ROM", "cd"]];
|
["HDD or CD/DVD-ROM", "cd"]];
|
||||||
|
|
||||||
return bootPriorities;
|
return bootPriorities;
|
||||||
}
|
}
|
||||||
|
|
||||||
getOnCloseOptions() {
|
getOnCloseOptions() {
|
||||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||||
["Save the VM state", "save_vm_state"]];
|
["Save the VM state", "save_vm_state"]];
|
||||||
|
|
||||||
return onCloseOptions;
|
return onCloseOptions;
|
||||||
@ -82,10 +82,10 @@ export class QemuConfigurationService {
|
|||||||
|
|
||||||
getCategories() {
|
getCategories() {
|
||||||
let categories = [["Default", "guest"],
|
let categories = [["Default", "guest"],
|
||||||
["Routers", "routers"],
|
["Routers", "router"],
|
||||||
["Switches", "switches"],
|
["Switches", "switch"],
|
||||||
["End devices", "end_devices"],
|
["End devices", "end_device"],
|
||||||
["Security devices", "security_devices"]];
|
["Security devices", "security_device"]];
|
||||||
|
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,8 @@ export class VirtualBoxConfigurationService{
|
|||||||
}
|
}
|
||||||
|
|
||||||
getOnCloseoptions() {
|
getOnCloseoptions() {
|
||||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||||
["Save the VM state", "save_vm_state"]];
|
["Save the VM state", "save_vm_state"]];
|
||||||
|
|
||||||
return onCloseOptions;
|
return onCloseOptions;
|
||||||
@ -16,10 +16,10 @@ export class VirtualBoxConfigurationService{
|
|||||||
|
|
||||||
getCategories() {
|
getCategories() {
|
||||||
let categories = [["Default", "guest"],
|
let categories = [["Default", "guest"],
|
||||||
["Routers", "routers"],
|
["Routers", "router"],
|
||||||
["Switches", "switches"],
|
["Switches", "switch"],
|
||||||
["End devices", "end_devices"],
|
["End devices", "end_device"],
|
||||||
["Security devices", "security_devices"]];
|
["Security devices", "security_device"]];
|
||||||
|
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
@ -33,5 +33,5 @@ export class VirtualBoxConfigurationService{
|
|||||||
"Paravirtualized Network (virtio-net)"];
|
"Paravirtualized Network (virtio-net)"];
|
||||||
|
|
||||||
return networkTypes;
|
return networkTypes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,8 @@ export class VmwareConfigurationService{
|
|||||||
}
|
}
|
||||||
|
|
||||||
getOnCloseoptions() {
|
getOnCloseoptions() {
|
||||||
let onCloseOptions = [["Power off the VM", "power_off"],
|
let onCloseOptions = [["Power off the VM", "power_off"],
|
||||||
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
["Send the shutdown signal (ACPI)", "shutdown_signal"],
|
||||||
["Save the VM state", "save_vm_state"]];
|
["Save the VM state", "save_vm_state"]];
|
||||||
|
|
||||||
return onCloseOptions;
|
return onCloseOptions;
|
||||||
@ -16,10 +16,10 @@ export class VmwareConfigurationService{
|
|||||||
|
|
||||||
getCategories() {
|
getCategories() {
|
||||||
let categories = [["Default", "guest"],
|
let categories = [["Default", "guest"],
|
||||||
["Routers", "routers"],
|
["Routers", "router"],
|
||||||
["Switches", "switches"],
|
["Switches", "switch"],
|
||||||
["End devices", "end_devices"],
|
["End devices", "end_device"],
|
||||||
["Security devices", "security_devices"]];
|
["Security devices", "security_device"]];
|
||||||
|
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
@ -35,5 +35,5 @@ export class VmwareConfigurationService{
|
|||||||
"vmxnet3"];
|
"vmxnet3"];
|
||||||
|
|
||||||
return networkTypes;
|
return networkTypes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,10 @@ export class VpcsConfigurationService {
|
|||||||
|
|
||||||
getCategories(){
|
getCategories(){
|
||||||
let categories = [["Default", "guest"],
|
let categories = [["Default", "guest"],
|
||||||
["Routers", "routers"],
|
["Routers", "router"],
|
||||||
["Switches", "switches"],
|
["Switches", "switch"],
|
||||||
["End devices", "end_devices"],
|
["End devices", "end_device"],
|
||||||
["Security devices", "security_devices"]];
|
["Security devices", "security_device"]];
|
||||||
|
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user