forked from External/ergo
Fix dodgy TL strings to make them easier to translate
This commit is contained in:
parent
92a3ed9eca
commit
6d109e92a5
10 changed files with 49 additions and 43 deletions
|
|
@ -392,8 +392,8 @@ func nsRegisterHandler(server *Server, client *Client, command string, params []
|
|||
sendSuccessfulRegResponse(client, rb, true)
|
||||
}
|
||||
} else {
|
||||
messageTemplate := client.t("Account created, pending verification; verification code has been sent to %s:%s")
|
||||
message := fmt.Sprintf(messageTemplate, callbackNamespace, callbackValue)
|
||||
messageTemplate := client.t("Account created, pending verification; verification code has been sent to %s")
|
||||
message := fmt.Sprintf(messageTemplate, fmt.Sprintf("%s:%s", callbackNamespace, callbackValue))
|
||||
nsNotice(rb, message)
|
||||
}
|
||||
}
|
||||
|
|
@ -459,7 +459,7 @@ func nsUnregisterHandler(server *Server, client *Client, command string, params
|
|||
expectedCode := unregisterConfirmationCode(account.Name, account.RegisteredAt)
|
||||
if expectedCode != verificationCode {
|
||||
nsNotice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b")))
|
||||
nsNotice(rb, fmt.Sprintf(client.t("To confirm account unregistration, type: /NS UNREGISTER %s %s"), cfname, expectedCode))
|
||||
nsNotice(rb, fmt.Sprintf(client.t("To confirm account unregistration, type: /NS UNREGISTER %[1]s %[2]s"), cfname, expectedCode))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue