forked from External/ergo
Add 'are supported by this server' to translatable strings
This commit is contained in:
parent
1fae186637
commit
ddd7f0dc99
4 changed files with 8 additions and 10 deletions
|
|
@ -596,8 +596,10 @@ func (client *Client) LoggedIntoAccount() bool {
|
|||
|
||||
// RplISupport outputs our ISUPPORT lines to the client. This is used on connection and in VERSION responses.
|
||||
func (client *Client) RplISupport() {
|
||||
translatedISupport := client.t("are supported by this server")
|
||||
for _, tokenline := range client.server.ISupport().CachedReply {
|
||||
// ugly trickery ahead
|
||||
tokenline = append(tokenline, translatedISupport)
|
||||
client.Send(nil, client.server.name, RPL_ISUPPORT, append([]string{client.nick}, tokenline...)...)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue