From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-api] fix some typos in user-visible strings
Date: Thu, 14 Nov 2024 11:10:15 +0100 [thread overview]
Message-ID: <20241114101015.107245-1-m.sandoval@proxmox.com> (raw)
Found with the `typos` CLI tool.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
src/PMG/API2/Statistics.pm | 8 ++++----
src/PMG/CLI/pmgreport.pm | 2 +-
src/PMG/Config.pm | 2 +-
src/PMG/RuleDB/LDAPUser.pm | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/PMG/API2/Statistics.pm b/src/PMG/API2/Statistics.pm
index 38c8d0c1..02faa046 100644
--- a/src/PMG/API2/Statistics.pm
+++ b/src/PMG/API2/Statistics.pm
@@ -622,7 +622,7 @@ __PACKAGE__->register_method ({
type => 'integer',
},
pregreet_rejects => {
- description => "PREGREET recject count.",
+ description => "PREGREET reject count.",
type => 'integer',
},
junk_in => {
@@ -922,7 +922,7 @@ __PACKAGE__->register_method ({
type => 'integer',
},
pregreet_rejects => {
- description => "PREGREET recject count.",
+ description => "PREGREET reject count.",
type => 'integer',
},
bounces_in => {
@@ -1188,11 +1188,11 @@ __PACKAGE__->register_method ({
type => 'integer',
},
rbl_rejects => {
- description => "RBL recject count.",
+ description => "RBL reject count.",
type => 'integer',
},
pregreet_rejects => {
- description => "PREGREET recject count.",
+ description => "PREGREET reject count.",
type => 'integer',
},
},
diff --git a/src/PMG/CLI/pmgreport.pm b/src/PMG/CLI/pmgreport.pm
index 3403e445..959ea8ec 100644
--- a/src/PMG/CLI/pmgreport.pm
+++ b/src/PMG/CLI/pmgreport.pm
@@ -273,7 +273,7 @@ __PACKAGE__->register_method ({
default => 0,
},
receiver => {
- description => "Send report to this email address. Default is the administratior email address.",
+ description => "Send report to this email address. Default is the administrator email address.",
type => 'string', format => 'email',
optional => 1,
},
diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm
index cbb127f0..3170241f 100644
--- a/src/PMG/Config.pm
+++ b/src/PMG/Config.pm
@@ -545,7 +545,7 @@ sub properties {
default => 0,
},
smarthost => {
- description => "When set, all outgoing mails are deliverd to the specified smarthost."
+ description => "When set, all outgoing mails are delivered to the specified smarthost."
." (postfix option `default_transport`)",
type => 'string', format => 'address',
},
diff --git a/src/PMG/RuleDB/LDAPUser.pm b/src/PMG/RuleDB/LDAPUser.pm
index 345decb4..6da0421f 100644
--- a/src/PMG/RuleDB/LDAPUser.pm
+++ b/src/PMG/RuleDB/LDAPUser.pm
@@ -177,7 +177,7 @@ sub update {
my $ldapcache = PMG::LDAPCache->new(
id => $profile, syncmode => 1, %$config);
- die "LDAP acoount '$account' does not exist\n"
+ die "LDAP account '$account' does not exist\n"
if !$ldapcache->account_exists($account);
$self->{ldapuser} = $account;
--
2.39.5
_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
reply other threads:[~2024-11-14 10:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241114101015.107245-1-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox