forked from External/ergo
Fix translation notes
This commit is contained in:
parent
dcb15d619d
commit
3394700def
2 changed files with 6 additions and 6 deletions
|
|
@ -408,13 +408,13 @@ func nsRegisterHandler(server *Server, client *Client, command, params string, r
|
|||
|
||||
// details could not be stored and relevant numerics have been dispatched, abort
|
||||
if err != nil {
|
||||
errMsg := "Could not register"
|
||||
errMsg := client.t("Could not register")
|
||||
if err == errCertfpAlreadyExists {
|
||||
errMsg = "An account already exists for your certificate fingerprint"
|
||||
errMsg = client.t("An account already exists for your certificate fingerprint")
|
||||
} else if err == errAccountAlreadyRegistered {
|
||||
errMsg = "Account already exists"
|
||||
errMsg = client.t("Account already exists")
|
||||
}
|
||||
nsNotice(rb, client.t(errMsg))
|
||||
nsNotice(rb, errMsg)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue