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:28:58 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 Der Prozeß ttsession(1) läuft nicht und ToolTalk\n\
kann ihn nicht erneut starten.
2 Die aktuelle Standardprozeßkennung ist veraltet oder ungültig.
3 Die angegebene ToolTalk-Session ist veraltet oder ungültig.
$
$
$ Message 4: Do not localize the word DtInfo_Start.
$
$
4 Der Prozeßtyp 'DtInfo_Start' ist nicht der\n\
Name eines installierten Prozeßtyps.
@@ -34,36 +34,36 @@ Name eines installierten Proze
6 Kann keine Aktion aufrufen, weil malloc(1) fehlschlug.
$
$
$ Message 7: Do not localize the word DISPLAY. Do not localize the
$ word XtOpenDisplay().
$
$
7 XtOpenDisplay() fehlgeschlagen. Möglicherweise ist die Umgebungsvariable DISPLAY\n\
nicht gesetzt oder ungültig.
$
$
$ Message 8: Do not localize the word DtAppInitialize().
$
$
8 DtAppInitialize() fehlgeschlagen. Möglicherweise ist die Desktop-Umgebung\n\
nicht richtig installiert.
$
$
$ Message 9: Do NOT localize the word DTINFOLIBDEFAULT
$
$
9 Eine InfoBibl wurde nicht in der Nachricht '%s' zur Verfügung gestellt.\n\
Der Wert der Umgebungsvariable DTINFOLIBDEFAULT\n\
(%s) wird für die InfoBibl verwendet.
$
$
$ Message 10: Do NOT localize the word DTINFOLIBDEFAULT
$
$
10 Eine InfoBibl wurde nicht in der Nachricht '%s' zur Verfügung gestellt,\n\
und die Umgebungsvariable DTINFOLIBDEFAULT wurde nicht definiert.
$
$
$ 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 Die Nachrichtenoperation '%d' wird nicht unterstützt.