diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2007-06-03 06:25:30 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2007-06-03 06:25:30 +0000 |
commit | aeb363f49abef168cbe6f0fbddb3869b68fe521f (patch) | |
tree | 626c89d7004a6001bc9ccd139e7a21613b2e3714 /camlibs/template | |
parent | 577513e5e5f100411e11371e221661c58d36d59c (diff) | |
download | libgphoto2-aeb363f49abef168cbe6f0fbddb3869b68fe521f.tar.gz |
comment _() and N_()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10350 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/template')
-rw-r--r-- | camlibs/template/template.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/camlibs/template/template.c b/camlibs/template/template.c index 651c8bfb2..40def0771 100644 --- a/camlibs/template/template.c +++ b/camlibs/template/template.c @@ -59,8 +59,18 @@ #ifdef ENABLE_NLS # include <libintl.h> # undef _ +/** + * This define is the string translation macro used in + * libgphoto2. It will resolve to a dcgettext() function call and + * does both the translation itself and also marks up the string + * for the collector (xgettext). + */ # define _(String) dgettext (GETTEXT_PACKAGE, String) # ifdef gettext_noop +/** + * This is the noop translation macro, which does not translate the + * string, but marks it up for the extraction of translatable strings. + */ # define N_(String) gettext_noop (String) # else # define N_(String) (String) |