git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Gettextize the source, make library strings translatable.
[libguestfs.git]
/
fish
/
fish.h
diff --git
a/fish/fish.h
b/fish/fish.h
index
c9dd350
..
91424e1
100644
(file)
--- a/
fish/fish.h
+++ b/
fish/fish.h
@@
-21,6
+21,15
@@
#include <guestfs.h>
#include <guestfs.h>
+#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;
/* in fish.c */
extern guestfs_h *g;
extern int quit;