mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +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
|
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
|
the suspension. The $bDEL$b subcommand reverses a suspension, and the $bLIST$b
|
||||||
command lists all current suspensions.`,
|
command lists all current suspensions.`,
|
||||||
helpShort: `$bSUSPEND$b adds or removes an account suspension`,
|
helpShort: `$bSUSPEND$b manages account suspensions`,
|
||||||
minParams: 1,
|
minParams: 1,
|
||||||
capabs: []string{"accreg"},
|
capabs: []string{"accreg"},
|
||||||
},
|
},
|
||||||
@ -1375,5 +1375,5 @@ func suspensionToString(client *Client, suspension AccountSuspension) (result st
|
|||||||
if suspension.Reason != "" {
|
if suspension.Reason != "" {
|
||||||
reason = fmt.Sprintf(client.t("Reason: %s"), 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