Skip to content

Commit 962a94b

Browse files
committed
More locale fixes for pg_ctl.
1 parent a0d6e29 commit 962a94b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
*
55
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.3 2004/06/01 01:28:03 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.4 2004/06/01 03:32:42 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
1111

1212
#include "postgres_fe.h"
1313
#include "libpq-fe.h"
1414

15+
#include <locale.h>
1516
#include <signal.h>
1617
#include <errno.h>
1718
#include <sys/types.h>
@@ -402,7 +403,8 @@ do_start(void)
402403
if (ret == -1)
403404
fprintf(stderr,
404405
_("The program \"postmaster\" is needed by %s "
405-
"but was not found in the same directory as \"%s\".\n"
406+
"but was not found in the same directory as "
407+
"\"%s\".\n"
406408
"Check your installation.\n"),
407409
progname, progname);
408410
else

src/nls-global.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.9 2003/11/29 19:51:39 pgsql Exp $
1+
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.10 2004/06/01 03:32:28 momjian Exp $
22

33
# Common rules for Native Language Support (NLS)
44
#
55
# If some subdirectory of the source tree wants to provide NLS, it
66
# needs to contain a file 'nls.mk' with the following make variable
77
# assignments:
88
#
9-
# CATALOG_NAME -- name of the message catalog (xxx.po); probably
10-
# name of the program
9+
# CATALOG_NAME -- name of the message catalog (xxx.po); probably
10+
# name of the program
1111
# AVAIL_LANGUAGES -- list of languages that are provided/supported
12-
# GETTEXT_FILES -- list of source files that contain message strings
13-
# GETTEXT_TRIGGERS -- (optional) list of functions that contain
12+
# GETTEXT_FILES -- list of source files that contain message strings
13+
# GETTEXT_TRIGGERS -- (optional) list of functions that contain
1414
# translatable strings
1515
#
1616
# That's all, the rest is done here, if --enable-nls was specified.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy