message catalogs: fix comment lines, also remove linux hack in merge.c

According to the spec, blank lines in message catalogs or lines
beginning with '$ ' are valid comments.

However, there were many cases where lines in the message catalogs
contained just a single '$', without the required space after it.

Under linux, this caused 126766 error lines (in my builds) of the
form:

... unknown directive `': line ignored

This also causes gencat to exit with a non-0 exit code.  Even though
gencat says it ignores the line, it really doesn't.

An early porting change to programs/localized/util/merge.c was made to
ignore this return value on linux.  This hack has now been removed.

Build logs are a lot smaller and cleaner now.
This commit is contained in:
Jon Trulson
2012-09-03 15:12:57 -06:00
parent e9bb2bcf09
commit a29fc20957
470 changed files with 22507 additions and 22515 deletions

View File

@@ -1,5 +1,5 @@
$ $TOG: dtinfo_start.msg /main/3 1999/09/20 13:29:26 mgreess $
$
$
$ (c) Copyright 1996 Digital Equipment Corporation.
$ (c) Copyright 1996 Hewlett-Packard Company.
$ (c) Copyright 1996 International Business Machines Corp.
@@ -7,26 +7,26 @@ $ (c) Copyright 1996 Sun Microsystems, Inc.
$ (c) Copyright 1996 Novell, Inc.
$ (c) Copyright 1996 FUJITSU LIMITED.
$ (c) Copyright 1996 Hitachi.
$
$
$ ******************************************************************************
$
$
$set 1
$ The messages in this set will only appear in the users
$ "errorlog" file.
$
$
$ ******************************************************************************
$
$
$ Messages 1-5: These messages result from an error in a tt_* function
$ call.
$
$
1 The ttsession(1) process is not running and the ToolTalk\n\
service cannot restart it.
2 The current default process identifier is out of date or invalid.
3 The specified ToolTalk session is out of date or invalid.
$
$
$ Message 4: Do not localize the word DtInfo_Start.
$
$
4 The process type 'DtInfo_Start' is not the\n\
name of an installed process type.
@@ -34,36 +34,36 @@ name of an installed process type.
6 Cannot invoke an action because malloc(1) failed.
$
$
$ Message 7: Do not localize the word DISPLAY. Do not localize the
$ word XtOpenDisplay().
$
$
7 XtOpenDisplay() failed. Perhaps the DISPLAY environment\n\
variable is not set or is invalid.
$
$
$ Message 8: Do not localize the word DtAppInitialize().
$
$
8 DtAppInitialize() failed. Perhaps the desktop environment\n\
is not properly installed.
$
$
$ Message 9: Do NOT localize the word DTINFOLIBDEFAULT
$
$
9 An InfoLib was not provided in the '%s' message.\n\
The value of the environment variable DTINFOLIBDEFAULT\n\
(%s) will be used for the InfoLib.
$
$
$ Message 10: Do NOT localize the word DTINFOLIBDEFAULT
$
$
10 An InfoLib was not provided in the '%s' message\n\
and the environment variable DTINFOLIBDEFAULT was not defined.
$
$
$ Messages 11-16: These message are the result of the dtinfo_start
$ getting an error while trying to parse a ToolTalk message.
$
$
$ Do NOT localize the word NULL
$
11 The message operation '%d' is not supported.