mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-11 06:29:29 +01:00
fix strings for NS SUSPEND
This commit is contained in:
parent
2bb2cab6c2
commit
5094b9da02
@ -343,7 +343,7 @@ Suspending an account disables it (preventing new logins) and disconnects
|
||||
all associated clients. You can specify a time limit or a reason for
|
||||
the suspension. The $bDEL$b subcommand reverses a suspension, and the $bLIST$b
|
||||
command lists all current suspensions.`,
|
||||
helpShort: `$bSUSPEND$b adds or removes an account suspension`,
|
||||
helpShort: `$bSUSPEND$b manages account suspensions`,
|
||||
minParams: 1,
|
||||
capabs: []string{"accreg"},
|
||||
},
|
||||
@ -1375,5 +1375,5 @@ func suspensionToString(client *Client, suspension AccountSuspension) (result st
|
||||
if suspension.Reason != "" {
|
||||
reason = fmt.Sprintf(client.t("Reason: %s"), suspension.Reason)
|
||||
}
|
||||
return fmt.Sprintf(client.t("Account %s suspended at %s. Duration: %s. %s"), suspension.AccountName, ts, duration, reason)
|
||||
return fmt.Sprintf(client.t("Account %[1]s suspended at %[2]s. Duration: %[3]s. %[4]s"), suspension.AccountName, ts, duration, reason)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user