Use sentence case whenever possible

This commit is contained in:
Girish Ramakrishnan
2025-11-12 18:42:24 +01:00
parent ce15958a9a
commit 39c68075fb
15 changed files with 306 additions and 291 deletions

View File

@@ -11,16 +11,16 @@ const networkModel = NetworkModel.create();
const providers = [
{ name: 'Disabled', value: 'noop' },
{ name: 'Public IP', value: 'generic' },
{ name: 'Static IP Address', value: 'fixed' },
{ name: 'Network Interface', value: 'network-interface' }
{ name: 'Static IP address', value: 'fixed' },
{ name: 'Network interface', value: 'network-interface' }
];
function prettyIpProviderName(provider) {
switch (provider) {
case 'noop': return 'Disabled';
case 'generic': return 'Public IP';
case 'fixed': return 'Static IP Address';
case 'network-interface': return 'Network Interface';
case 'fixed': return 'Static IP address';
case 'network-interface': return 'Network interface';
default: return 'Unknown';
}
}