]> granicus.if.org Git - postgresql/commitdiff
More locale fixes for pg_ctl.
authorBruce Momjian <bruce@momjian.us>
Tue, 1 Jun 2004 03:32:42 +0000 (03:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 1 Jun 2004 03:32:42 +0000 (03:32 +0000)
src/bin/pg_ctl/pg_ctl.c
src/nls-global.mk

index d9d5899ef1d2849fafa2436729a1f1c639938aeb..ce0fc2590142d564599271698355718d8d341f05 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  *
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.3 2004/06/01 01:28:03 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.4 2004/06/01 03:32:42 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -12,6 +12,7 @@
 #include "postgres_fe.h"
 #include "libpq-fe.h"
 
+#include <locale.h>
 #include <signal.h>
 #include <errno.h>
 #include <sys/types.h>
@@ -402,7 +403,8 @@ do_start(void)
                        if (ret == -1)
                                fprintf(stderr,
                                                _("The program \"postmaster\" is needed by %s "
-                                  "but was not found in the same directory as \"%s\".\n"
+                                                 "but was not found in the same directory as "
+                                                 "\"%s\".\n"
                                                  "Check your installation.\n"),
                                                progname, progname);
                        else
index bdd7fb39800964c256e3a2219074bb06ce30fada..fc681bdd44493ff3cd7777cd9a7b8442686a119a 100644 (file)
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/nls-global.mk,v 1.9 2003/11/29 19:51:39 pgsql Exp $
+# $PostgreSQL: pgsql/src/nls-global.mk,v 1.10 2004/06/01 03:32:28 momjian Exp $
 
 # Common rules for Native Language Support (NLS)
 #
@@ -6,11 +6,11 @@
 # needs to contain a file 'nls.mk' with the following make variable
 # assignments:
 #
-# CATALOG_NAME         -- name of the message catalog (xxx.po); probably
-#                          name of the program
+# CATALOG_NAME         -- name of the message catalog (xxx.po); probably
+#                         name of the program
 # AVAIL_LANGUAGES      -- list of languages that are provided/supported
-# GETTEXT_FILES         -- list of source files that contain message strings
-# GETTEXT_TRIGGERS      -- (optional) list of functions that contain
+# GETTEXT_FILES                -- list of source files that contain message strings
+# GETTEXT_TRIGGERS     -- (optional) list of functions that contain
 #                          translatable strings
 #
 # That's all, the rest is done here, if --enable-nls was specified.