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:30 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 El proceso ttsession(1) no se está ejecutando y el servicio ToolTalk\n\
no lo puede reiniciar.
2 El identificador de proceso predeterminado actual está desactualizado o no es válido.
3 La sesión de ToolTalk especificada está desactualizada o no es válida.
$
$
$ Message 4: Do not localize the word DtInfo_Start.
$
$
4 El tipo de proceso 'DtInfo_Start' no es el\n\
nombre de un tipo de proceso instalado.
@@ -34,36 +34,36 @@ nombre de un tipo de proceso instalado.
6 No se puede invocar una operación porque malloc(1) ha fallado.
$
$
$ Message 7: Do not localize the word DISPLAY. Do not localize the
$ word XtOpenDisplay().
$
$
7 XtOpenDisplay() ha fallado. Es posible que la variable de entorno DISPLAY\n\
no esté configurada o no sea válida.
$
$
$ Message 8: Do not localize the word DtAppInitialize().
$
$
8 DtAppInitialize() ha fallado. Es posible que el entorno de escritorio\n\
no esté instalado correctamente.
$
$
$ Message 9: Do NOT localize the word DTINFOLIBDEFAULT
$
$
9 No se suministró ninguna infobiblioteca en el mensaje '%s'.\n\
Se utilizará el valor de la variable de entorno DTINFOLIBDEFAULT\n\
(%s) para la infobiblioteca.
$
$
$ Message 10: Do NOT localize the word DTINFOLIBDEFAULT
$
$
10 No se suministró ninguna infobiblioteca en el mensaje '%s'\n\
y no se definió la variable de entorno DTINFOLIBDEFAULT.
$
$
$ 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 La operación de mensaje '%d' no está soportada.