[pmg-devel] [PATCH pmg-api] fix some typos in user-visible strings
Maximiliano Sandoval
m.sandoval at proxmox.com
Thu Nov 14 11:10:15 CET 2024
Found with the `typos` CLI tool.
Signed-off-by: Maximiliano Sandoval <m.sandoval at 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
More information about the pmg-devel
mailing list