public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH container] fix typos on user-visible strings
@ 2024-10-11  9:40 Maximiliano Sandoval
  2024-10-24 14:53 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2024-10-11  9:40 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Maximiliano Sandoval <m.sandoval@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH container] fix typos on user-visible strings
  2024-10-11  9:40 [pve-devel] [PATCH container] fix typos on user-visible strings Maximiliano Sandoval
@ 2024-10-24 14:53 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-10-24 14:53 UTC (permalink / raw)
  To: Proxmox VE development discussion, Maximiliano Sandoval

Am 11/10/2024 um 11:40 schrieb Maximiliano Sandoval:
> Signed-off-by: Maximiliano Sandoval <m.sandoval@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(-)
> 
>

applied, thanks! But fixed up the following whitespace error:

.git/rebase-apply/patch:25: space before tab in indent.
        description => "You need 'VM.Allocate' permission on /vms/{vmid} or on the VM pool /pool/{pool}. " .
warning: 1 line adds whitespace errors.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-24 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-11  9:40 [pve-devel] [PATCH container] fix typos on user-visible strings Maximiliano Sandoval
2024-10-24 14:53 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal