[pve-devel] [PATCH container] fix typos on user-visible strings
Maximiliano Sandoval
m.sandoval at proxmox.com
Fri Oct 11 11:40:25 CEST 2024
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
src/PVE/API2/LXC.pm | 4 ++--
src/PVE/CLI/pct.pm | 2 +-
src/PVE/LXC/Config.pm | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 918e719..4657ee1 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -77,7 +77,7 @@ __PACKAGE__->register_method({
method => 'GET',
description => "LXC container index (per node).",
permissions => {
- description => "Only list CTs where you have VM.Audit permissons on /vms/<vmid>.",
+ description => "Only list CTs where you have VM.Audit permission on /vms/<vmid>.",
user => 'all',
},
proxyto => 'node',
@@ -123,7 +123,7 @@ __PACKAGE__->register_method({
description => "Create or restore a container.",
permissions => {
user => 'all', # check inside
- description => "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}. " .
+ description => "You need 'VM.Allocate' permission on /vms/{vmid} or on the VM pool /pool/{pool}. " .
"For restore, it is enough if the user has 'VM.Backup' permission and the VM already exists. " .
"You also need 'Datastore.AllocateSpace' permissions on the storage.",
},
diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm
index 4504b54..b0a1ec2 100755
--- a/src/PVE/CLI/pct.pm
+++ b/src/PVE/CLI/pct.pm
@@ -533,7 +533,7 @@ __PACKAGE__->register_method ({
type => 'boolean',
optional => 1,
default => 0,
- description => 'Do not actually write changes out to conifg.',
+ description => 'Do not actually write changes to the configuration.',
},
},
},
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index ce64c4c..ba50af6 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -607,7 +607,7 @@ my $confdesc = {
optional => 1,
type => 'string',
format => 'pve-volume-id',
- description => 'Script that will be exectued during various steps in the containers lifetime.',
+ description => 'Script that will be executed during various steps in the containers lifetime.',
},
tags => {
type => 'string', format => 'pve-tag-list',
--
2.39.5
More information about the pve-devel
mailing list