Add translator comments to module names

This commit is contained in:
Alvaro Herrera 2012-07-25 00:02:49 -04:00
parent d7b47e5155
commit 58f17dcf83
7 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,7 @@ struct CompressorState
#endif
};
/* translator: this is a module name */
static const char *modulename = gettext_noop("compress_io");
static void ParseCompressionOption(int compression, CompressionAlgorithm *alg,

View File

@ -112,6 +112,7 @@ typedef struct _outputContext
int gzOut;
} OutputContext;
/* translator: this is a module name */
static const char *modulename = gettext_noop("archiver");

View File

@ -85,6 +85,7 @@ static pgoff_t _getFilePos(ArchiveHandle *AH, lclContext *ctx);
static size_t _CustomWriteFunc(ArchiveHandle *AH, const char *buf, size_t len);
static size_t _CustomReadFunc(ArchiveHandle *AH, char **buf, size_t *buflen);
/* translator: this is a module name */
static const char *modulename = gettext_noop("custom archiver");

View File

@ -23,6 +23,7 @@
#define DB_MAX_ERR_STMT 128
/* translator: this is a module name */
static const char *modulename = gettext_noop("archiver (db)");
static void _check_database_version(ArchiveHandle *AH);

View File

@ -58,6 +58,7 @@ typedef struct
char *filename; /* filename excluding the directory (basename) */
} lclTocEntry;
/* translator: this is a module name */
static const char *modulename = gettext_noop("directory archiver");
/* prototypes for private functions */

View File

@ -101,6 +101,7 @@ typedef struct
char *filename;
} lclTocEntry;
/* translator: this is a module name */
static const char *modulename = gettext_noop("tar archiver");
static void _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt);

View File

@ -17,6 +17,7 @@
#include "dumputils.h"
#include "dumpmem.h"
/* translator: this is a module name */
static const char *modulename = gettext_noop("sorter");
/*