Explorar el Código

fix strings for NS SUSPEND

tags/v2.4.0-rc1
Shivaram Lingamneni hace 3 años
padre
commit
5094b9da02
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      irc/nickserv.go

+ 2
- 2
irc/nickserv.go Ver fichero

@@ -343,7 +343,7 @@ Suspending an account disables it (preventing new logins) and disconnects
343 343
 all associated clients. You can specify a time limit or a reason for
344 344
 the suspension. The $bDEL$b subcommand reverses a suspension, and the $bLIST$b
345 345
 command lists all current suspensions.`,
346
-			helpShort: `$bSUSPEND$b adds or removes an account suspension`,
346
+			helpShort: `$bSUSPEND$b manages account suspensions`,
347 347
 			minParams: 1,
348 348
 			capabs:    []string{"accreg"},
349 349
 		},
@@ -1375,5 +1375,5 @@ func suspensionToString(client *Client, suspension AccountSuspension) (result st
1375 1375
 	if suspension.Reason != "" {
1376 1376
 		reason = fmt.Sprintf(client.t("Reason: %s"), suspension.Reason)
1377 1377
 	}
1378
-	return fmt.Sprintf(client.t("Account %s suspended at %s. Duration: %s. %s"), suspension.AccountName, ts, duration, reason)
1378
+	return fmt.Sprintf(client.t("Account %[1]s suspended at %[2]s. Duration: %[3]s. %[4]s"), suspension.AccountName, ts, duration, reason)
1379 1379
 }

Loading…
Cancelar
Guardar