mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
add disambiguating numbers in translated strings
This commit is contained in:
parent
fb2be58e60
commit
d174b5aad6
2 changed files with 2 additions and 2 deletions
|
|
@ -3560,7 +3560,7 @@ func zncHandler(server *Server, client *Client, msg ircmsg.Message, rb *Response
|
|||
func unknownCommandHandler(server *Server, client *Client, msg ircmsg.Message, rb *ResponseBuffer) bool {
|
||||
var message string
|
||||
if strings.HasPrefix(msg.Command, "/") {
|
||||
message = fmt.Sprintf(client.t("Unknown command; if you are using /QUOTE, the correct syntax is /QUOTE %s, not /QUOTE %s"),
|
||||
message = fmt.Sprintf(client.t("Unknown command; if you are using /QUOTE, the correct syntax is /QUOTE %[1]s, not /QUOTE %[2]s"),
|
||||
strings.TrimPrefix(msg.Command, "/"), msg.Command)
|
||||
} else {
|
||||
message = client.t("Unknown command")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue