From f7ee773acd0b9e2bec95992d238cc479cd75497a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 20 Apr 2023 12:55:50 -0400 Subject: build: gettextize --- (limited to 'src') diff --git a/src/i18n.h b/src/i18n.h new file mode 100644 index 0000000..fbe5186 --- /dev/null +++ b/src/i18n.h @@ -0,0 +1,3 @@ +#include + +#define _(msgid) gettext(msgid) diff --git a/src/local.mk b/src/local.mk index 808322f..e26508f 100644 --- a/src/local.mk +++ b/src/local.mk @@ -2,6 +2,7 @@ opkg_opk_SOURCES += \ %reldir%/defs.h \ %reldir%/gzip.c \ %reldir%/gzip.h \ + %reldir%/i18n.h \ %reldir%/main.c \ %reldir%/opk.c \ %reldir%/opk.h \ -- cgit v0.9.1