diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-06-03 14:53:56 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-06-03 14:53:56 +0000 |
commit | 12c1552066cac81a6b93062e8966cfa0d2d56af5 (patch) | |
tree | 44fdd9a63ca2c0b2d5b1497b30fe8581da5f1505 /src/backend/bootstrap/bootstrap.c | |
parent | 277a47ad0febca0eeaf09b695639df7d93e3c628 (diff) | |
download | postgresql-12c1552066cac81a6b93062e8966cfa0d2d56af5.tar.gz postgresql-12c1552066cac81a6b93062e8966cfa0d2d56af5.zip |
Mark many strings in backend not covered by elog for translation. Also,
make strings in xlog.c look more like English and less like binary noise.
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index c6ca5e081de..706d350659f 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.107 2001/05/12 01:48:49 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.108 2001/06/03 14:53:56 petere Exp $ * *------------------------------------------------------------------------- */ @@ -185,11 +185,13 @@ err_out(void) static void usage(void) { - fprintf(stderr, "Usage:\n postgres -boot [-d] [-D datadir] [-F] [-x num] dbname\n"); - fprintf(stderr, " -d debug mode\n"); - fprintf(stderr, " -D datadir data directory\n"); - fprintf(stderr, " -F turn off fsync\n"); - fprintf(stderr, " -x num internal use\n"); + fprintf(stderr, + gettext("Usage:\n" + " postgres -boot [-d] [-D datadir] [-F] [-x num] dbname\n" + " -d debug mode\n" + " -D datadir data directory\n" + " -F turn off fsync\n" + " -x num internal use\n")); proc_exit(1); } @@ -286,10 +288,11 @@ BootstrapMain(int argc, char *argv[]) { if (!potential_DataDir) { - fprintf(stderr, "%s does not know where to find the database system " - "data. You must specify the directory that contains the " - "database system either by specifying the -D invocation " - "option or by setting the PGDATA environment variable.\n\n", + fprintf(stderr, + gettext("%s does not know where to find the database system data.\n" + "You must specify the directory that contains the database system\n" + "either by specifying the -D invocation option or by setting the\n" + "PGDATA environment variable.\n\n"), argv[0]); proc_exit(1); } |