Skip to content

Commit f694d2f

Browse files
committed
Minor naming changes and grammar
1 parent d0f044f commit f694d2f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

server/src/main/java/com/cloud/configuration/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public enum Config {
506506
"The time interval in seconds when the management server polls for snapshots to be scheduled.",
507507
null),
508508
SnapshotDeltaMax("Snapshots", SnapshotManager.class, Integer.class, "snapshot.delta.max", "16", "max delta snapshots between two full snapshots.", null),
509-
KVMSnapshotEnabled("Hidden", SnapshotManager.class, Boolean.class, "kvm.snapshot.enabled", "false", "whether volume snapshot is enabled on running instances on KVM hosts", null),
509+
KVMSnapshotEnabled("Hidden", SnapshotManager.class, Boolean.class, "kvm.snapshot.enabled", "false", "Whether volume snapshot is enabled on running instances on a KVM host", null),
510510

511511
// Advanced
512512
EventPurgeInterval(

server/src/main/java/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ private void validateVpnConnectionDoesntExist(Long vpnGatewayId, Long customerGa
345345
private void validatePrerequisiteVpnGateway(Site2SiteVpnGateway vpnGateway) {
346346
// check if gateway has been defined on the VPC
347347
if (_vpnGatewayDao.findByVpcId(vpnGateway.getVpcId()) == null) {
348-
throw new InvalidParameterValueException("we can not create a VPN connection for a VPC that does not have a VPN gateway defined");
348+
throw new InvalidParameterValueException("We can not create a VPN connection for a VPC that does not have a VPN gateway defined");
349349
}
350350
}
351351

@@ -592,7 +592,7 @@ public boolean deleteVpnConnection(DeleteVpnConnectionCmd cmd) throws ResourceUn
592592
private void stopVpnConnection(Long id) throws ResourceUnavailableException {
593593
Site2SiteVpnConnectionVO conn = _vpnConnectionDao.acquireInLockTable(id);
594594
if (conn == null) {
595-
throw new CloudRuntimeException("Unable to acquire lock for stopping of VPN connection with ID " + id);
595+
throw new CloudRuntimeException("Unable to acquire lock for stopping VPN connection with ID " + id);
596596
}
597597
try {
598598
if (conn.getState() == State.Pending) {

server/src/main/java/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public VMSnapshot allocVMSnapshot(Long vmId, String vsDisplayName, String vsDesc
381381
if (snapshotStrategy == null) {
382382
String message;
383383
if (!SnapshotManager.VmStorageSnapshotKvm.value() && !snapshotMemory) {
384-
message = "KVM does not support instance snapshot without snapshot memory";
384+
message = "KVM does not support instance snapshot without snapshot memory on a running instance";
385385
} else {
386386
message = "KVM does not support the type of snapshot requested";
387387
}

ui/public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@
402402
"label.attaching": "Attaching",
403403
"label.authentication.method": "Authentication Method",
404404
"label.authentication.sshkey": "System SSH Key",
405-
"label.autofill.vcenter.credentials.from.zone": "Autofill vCenter credentials from Zone",
405+
"label.use.existing.vcenter.credentials.from.zone": "Use existing vCenter credentials from the Zone",
406406
"label.autoscale": "AutoScale",
407407
"label.autoscalevmgroupname": "AutoScaling Group",
408408
"label.author.email": "Author e-mail",

ui/src/views/infra/ClusterAdd.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
</div>
115115

116116
<div class="form__item" name="useDefaultVMwareCred">
117-
<div class="form__label">{{ $t('label.autofill.vcenter.credentials.from.zone') }}</div>
117+
<div class="form__label">{{ $t('label.use.existing.vcenter.credentials.from.zone') }}</div>
118118
<a-switch v-model="useDefaultVMwareCred" :checked="useDefaultVMwareCred" @change="onChangeUseDefaultVMwareCred()" />
119119
</div>
120120

0 commit comments

Comments
 (0)