From 9cc15130935dfaa6b58231ec708a2c71e54c3968 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 29 May 2025 06:22:34 -0300 Subject: Update to latest project skeleton: i18n and fine-grained fuzzing --- src/wscat.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wscat.go b/src/wscat.go index 744ccc3..40dd4dc 100644 --- a/src/wscat.go +++ b/src/wscat.go @@ -244,6 +244,7 @@ import ( "unsafe" g "gobang" + gt "gotext" ) @@ -1014,7 +1015,7 @@ func (w *messageWriter) flushFrame(final bool, extra []byte) error { // documentation for more info. if c.isWriting { - panic("concurrent write to websocket connection") + panic(gt.Gettext("concurrent write to websocket connection")) } c.isWriting = true -- cgit v1.2.3