diff options
Diffstat (limited to 'src/bin/psql/create_help.pl')
-rw-r--r-- | src/bin/psql/create_help.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/psql/create_help.pl b/src/bin/psql/create_help.pl index 216479f024e..6cba6b06413 100644 --- a/src/bin/psql/create_help.pl +++ b/src/bin/psql/create_help.pl @@ -5,7 +5,7 @@ # # Copyright (c) 2000-2003, PostgreSQL Global Development Group # -# $Header: /cvsroot/pgsql/src/bin/psql/create_help.pl,v 1.8 2003/08/04 23:59:40 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/psql/create_help.pl,v 1.9 2003/09/14 22:37:12 petere Exp $ ################################################################# # @@ -51,6 +51,8 @@ print OUT #ifndef $define #define $define +#define N_(x) (x) /* gettext noop */ + struct _helpStruct { char *cmd; /* the command name */ @@ -110,7 +112,7 @@ foreach $file (sort readdir DIR) { $cmdsynopsis =~ s/\n/\\n/g; $cmdsynopsis =~ s/\"/\\"/g; - print OUT " { \"$cmdname\",\n \"$cmddesc\",\n \"$cmdsynopsis\" },\n\n"; + print OUT " { \"$cmdname\",\n N_(\"$cmddesc\"),\n N_(\"$cmdsynopsis\") },\n\n"; $count++; } else { |