Commit 58f17dcf authored by Alvaro Herrera's avatar Alvaro Herrera

Add translator comments to module names

parent d7b47e51
...@@ -74,6 +74,7 @@ struct CompressorState ...@@ -74,6 +74,7 @@ struct CompressorState
#endif #endif
}; };
/* translator: this is a module name */
static const char *modulename = gettext_noop("compress_io"); static const char *modulename = gettext_noop("compress_io");
static void ParseCompressionOption(int compression, CompressionAlgorithm *alg, static void ParseCompressionOption(int compression, CompressionAlgorithm *alg,
......
...@@ -112,6 +112,7 @@ typedef struct _outputContext ...@@ -112,6 +112,7 @@ typedef struct _outputContext
int gzOut; int gzOut;
} OutputContext; } OutputContext;
/* translator: this is a module name */
static const char *modulename = gettext_noop("archiver"); static const char *modulename = gettext_noop("archiver");
......
...@@ -85,6 +85,7 @@ static pgoff_t _getFilePos(ArchiveHandle *AH, lclContext *ctx); ...@@ -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 _CustomWriteFunc(ArchiveHandle *AH, const char *buf, size_t len);
static size_t _CustomReadFunc(ArchiveHandle *AH, char **buf, size_t *buflen); 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"); static const char *modulename = gettext_noop("custom archiver");
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define DB_MAX_ERR_STMT 128 #define DB_MAX_ERR_STMT 128
/* translator: this is a module name */
static const char *modulename = gettext_noop("archiver (db)"); static const char *modulename = gettext_noop("archiver (db)");
static void _check_database_version(ArchiveHandle *AH); static void _check_database_version(ArchiveHandle *AH);
......
...@@ -58,6 +58,7 @@ typedef struct ...@@ -58,6 +58,7 @@ typedef struct
char *filename; /* filename excluding the directory (basename) */ char *filename; /* filename excluding the directory (basename) */
} lclTocEntry; } lclTocEntry;
/* translator: this is a module name */
static const char *modulename = gettext_noop("directory archiver"); static const char *modulename = gettext_noop("directory archiver");
/* prototypes for private functions */ /* prototypes for private functions */
......
...@@ -101,6 +101,7 @@ typedef struct ...@@ -101,6 +101,7 @@ typedef struct
char *filename; char *filename;
} lclTocEntry; } lclTocEntry;
/* translator: this is a module name */
static const char *modulename = gettext_noop("tar archiver"); static const char *modulename = gettext_noop("tar archiver");
static void _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt); static void _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt);
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "dumputils.h" #include "dumputils.h"
#include "dumpmem.h" #include "dumpmem.h"
/* translator: this is a module name */
static const char *modulename = gettext_noop("sorter"); static const char *modulename = gettext_noop("sorter");
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment