summaryrefslogtreecommitdiff
path: root/quota.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-03-01 23:31:56 +0100
committerJan Kara <jack@suse.cz>2012-03-01 23:31:56 +0100
commit3ff187335dcc4862d109cbe8c8c4d7535e969d91 (patch)
tree5eabc2cf90ec3749a8bcb1f416608489966af568 /quota.h
parentfe2675fcd256dbd5fd33c10a94ed6c58f4bb5c5b (diff)
Add quota type names to message catalogue
Add gettext magic so that quota type names get to message catalogue. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quota.h')
-rw-r--r--quota.h8
1 files changed, 5 insertions, 3 deletions
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"), \
}
/*