* [pmg-devel] [PATCH pmg-api] fix some typos in user-visible strings
@ 2024-11-14 10:10 Maximiliano Sandoval
0 siblings, 0 replies; only message in thread
From: Maximiliano Sandoval @ 2024-11-14 10:10 UTC (permalink / raw)
To: pmg-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-14 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-14 10:10 [pmg-devel] [PATCH pmg-api] fix some typos in user-visible strings Maximiliano Sandoval
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox