X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.h;h=91424e1e5896008216c33c893cfb27eaed5564b0;hb=ff9c8dfcd178dcd3a35ae3e368b461f3bf44b2ad;hp=40f19901c22e1d1f12942b8af26eec27c2ce82eb;hpb=4581eb2523eeb4d094d53af0555cb7e0f760ae2d;p=libguestfs.git diff --git a/fish/fish.h b/fish/fish.h index 40f1990..91424e1 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -21,9 +21,17 @@ #include +#ifdef HAVE_GETTEXT +#include "gettext.h" +#define _(str) dgettext(PACKAGE, (str)) +#define N_(str) dgettext(PACKAGE, (str)) +#else +#define _(str) str +#define N_(str) str +#endif + /* in fish.c */ extern guestfs_h *g; -extern int g_launched; extern int quit; extern int verbose; extern void pod2text (const char *heading, const char *body);