summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rw-r--r--quota.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 0b343a3..c81d7a9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -58,7 +58,7 @@ realclean: clobber
-rm -f $(RPCSRC) po/*.mo
pot:
- xgettext -k_ -d pot *.c
+ xgettext -k_ -kN_ -d pot *.c *.h
mo: po
for n in $(shell ls po/*.po); do \
diff --git a/quota.h b/quota.h
index 0491975..ac034d0 100644
--- a/quota.h
+++ b/quota.h
@@ -12,11 +12,13 @@ typedef int64_t qsize_t; /* Type in which we store size limitations */
/*
* Definitions for the default names of the quotas files.
+ * N_ is gettext magic for static strings
*/
+#define N_(x) (x)
#define INITQFNAMES { \
- "user", /* USRQUOTA */ \
- "group", /* GRPQUOTA */ \
- "undefined", \
+ N_("user"), /* USRQUOTA */ \
+ N_("group"), /* GRPQUOTA */ \
+ N_("undefined"), \
}
/*