1
0
Fork 0
forked from External/ergo

add disambiguating numbers in translated strings

This commit is contained in:
Shivaram Lingamneni 2022-01-02 17:32:14 -05:00
parent fb2be58e60
commit d174b5aad6
2 changed files with 2 additions and 2 deletions

View file

@ -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")