diff options
author | EuAndreh <eu@euandre.org> | 2025-05-15 04:35:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-15 04:35:47 -0300 |
commit | 55b109185bc1718e3e5743b123fcf8cca0e81f58 (patch) | |
tree | 03c9d8f22ee998ce89fcc8cb988907b5c1b6255e /src | |
parent | Revamp Heredoc(), add fuzz to prevent panics (diff) | |
download | gobang-55b109185bc1718e3e5743b123fcf8cca0e81f58.tar.gz gobang-55b109185bc1718e3e5743b123fcf8cca0e81f58.tar.xz |
Support i18n via gotext(0)
Diffstat (limited to '')
-rw-r--r-- | src/gobang.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gobang.go b/src/gobang.go index 88b4c57..e7280a9 100644 --- a/src/gobang.go +++ b/src/gobang.go @@ -17,6 +17,7 @@ import ( "strings" "time" + gt "gotext" "uuid" ) @@ -217,7 +218,7 @@ func WrapErrors(errs ...error) error { out = err } else { out = fmt.Errorf( - "error %w on top of %w", + gt.Gettext("error %w on top of %w"), err, out, ) |