aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-07-25 00:02:49 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-07-25 00:02:49 -0400
commit58f17dcf83dbd684613cbe8fea0886d2f81a3a14 (patch)
tree0cdcb522dacdd30ebe5115a59e9623b12d6978c0
parentd7b47e515530520da9564b05991bd8a8c6f52b06 (diff)
downloadpostgresql-58f17dcf83dbd684613cbe8fea0886d2f81a3a14.tar.gz
postgresql-58f17dcf83dbd684613cbe8fea0886d2f81a3a14.zip
Add translator comments to module names
-rw-r--r--src/bin/pg_dump/compress_io.c1
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.c1
-rw-r--r--src/bin/pg_dump/pg_backup_custom.c1
-rw-r--r--src/bin/pg_dump/pg_backup_db.c1
-rw-r--r--src/bin/pg_dump/pg_backup_directory.c1
-rw-r--r--src/bin/pg_dump/pg_backup_tar.c1
-rw-r--r--src/bin/pg_dump/pg_dump_sort.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/pg_dump/compress_io.c b/src/bin/pg_dump/compress_io.c
index e192c724776..dea058899bf 100644
--- a/src/bin/pg_dump/compress_io.c
+++ b/src/bin/pg_dump/compress_io.c
@@ -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,
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index 7f2bc070ade..c7ef9a6fd33 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -112,6 +112,7 @@ typedef struct _outputContext
int gzOut;
} OutputContext;
+/* translator: this is a module name */
static const char *modulename = gettext_noop("archiver");
diff --git a/src/bin/pg_dump/pg_backup_custom.c b/src/bin/pg_dump/pg_backup_custom.c
index 204309d6ad6..f7dc5be8e5a 100644
--- a/src/bin/pg_dump/pg_backup_custom.c
+++ b/src/bin/pg_dump/pg_backup_custom.c
@@ -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");
diff --git a/src/bin/pg_dump/pg_backup_db.c b/src/bin/pg_dump/pg_backup_db.c
index d912aaf77f3..c295fc5ddd2 100644
--- a/src/bin/pg_dump/pg_backup_db.c
+++ b/src/bin/pg_dump/pg_backup_db.c
@@ -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);
diff --git a/src/bin/pg_dump/pg_backup_directory.c b/src/bin/pg_dump/pg_backup_directory.c
index 494dd075295..a2be6ac000b 100644
--- a/src/bin/pg_dump/pg_backup_directory.c
+++ b/src/bin/pg_dump/pg_backup_directory.c
@@ -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 */
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c
index 9b581917e1e..ced5c13321e 100644
--- a/src/bin/pg_dump/pg_backup_tar.c
+++ b/src/bin/pg_dump/pg_backup_tar.c
@@ -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);
diff --git a/src/bin/pg_dump/pg_dump_sort.c b/src/bin/pg_dump/pg_dump_sort.c
index 5318e7add89..cccc1e0646e 100644
--- a/src/bin/pg_dump/pg_dump_sort.c
+++ b/src/bin/pg_dump/pg_dump_sort.c
@@ -17,6 +17,7 @@
#include "dumputils.h"
#include "dumpmem.h"
+/* translator: this is a module name */
static const char *modulename = gettext_noop("sorter");
/*