X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Ffish.h;h=91424e1e5896008216c33c893cfb27eaed5564b0;hp=c9dd3508c55d1b03efa14f09a34befe451f0a2f0;hb=d70248333edf8a5b5f509609cf2c8f7fd77d5e05;hpb=29204fe10d6ad46bace50e82557cb95e8a0f3529 diff --git a/fish/fish.h b/fish/fish.h index c9dd350..91424e1 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -21,6 +21,15 @@ #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 quit;