From 170dfdf2783c8c2431861f77193c92f40860ea07 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 27 May 2025 20:58:35 -0300 Subject: Update to latest project skeleton: i18n and fine-grained fuzzing --- src/golite.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/golite.go') diff --git a/src/golite.go b/src/golite.go index 0229229..5648408 100644 --- a/src/golite.go +++ b/src/golite.go @@ -17,6 +17,8 @@ import ( "time" "unsafe" "syscall" + + gt "gotext" ) @@ -170,7 +172,7 @@ func newHandle(db *SQLiteConn, v any) unsafe.Pointer { val := handleVal{db: db, val: v} p := C.malloc(C.size_t(1)) if p == nil { - panic("can't allocate 'cgo-pointer hack index pointer': ptr == nil") + panic(gt.Gettext("can't allocate 'cgo-pointer hack index pointer': ptr == nil")) } { handleLock.Lock() -- cgit v1.2.3