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

@@ -22,106 +22,106 @@ $ * \ (at end of line) continue on same line
$ *
$ *****************************************************************************
$ ----------------------------------------------------------------------------
$
$
$ font list
1 -dt-interface user-medium-r-normal-m*-*-*-*-*-m-*:
$
$
$ title bar title
2 dtimsstart
$
$
$ Selection title
3 Selección del método de introducción de datos
$
$
$ Host title
4 Cambiar anfitrión
$
$
$ Mode title
5 Modo de selección del método de introducción de datos
$
$
$ OK button label
6 OK
$
$
$ Clear button label
7 Borrar
$
$
$ Cancel button label
8 Cancelar
$
$
$ Change Host button label
9 Cambiar anfitrión
$
$
$ Help button label
10 Ayuda
$
$
$ selection dialog border width
11 3
$
$
$ host dialog border width
12 3
$
$
$ XmDialogShell border width
13 0
$
$
$ cmd_rc default spacing (margin width)
14 10
$
$
$ cmd_rc default spacing
15 10
$
$
$ Selection dialog cmd_rc (margin width)
16 4
$
$
$ Selection dialog OK margin width
17 16
$
$
$ Selection dialog cmd_rc default spacing
18 40
$
$
$ Change Host dialog label
19 Nombre de anfitrión:
$
$
$ Change Host dialog alignment
20 XmALIGNMENT_BEGINNING
$
$
$ Change Host dialog left margin
21 20
$
$
$ Change Host dialog right margin
22 20
$
$
$ Enter hostname label
23 \
Introduzca el nombre de anfitrión en donde\\n \
deberán aparecer los servidores de método registrados.\\n \
Si el nombre de anfitrión aparece en blanco, significa que se trata del anfitrión local.
$
$
$ Host text max length
24 63
$
$
$ Host text number of columns
25 14
$
$
$ host_rc margin width
26 60
$
$
$ host cmd_rc margin width
27 20
$
$
$ host cmd_rc spacing
28 90
$
$
$ selection mode button0 label string
29 Solicitar al conectar
$
$
$ selection mode button1 label string
30 Reanudar el método de introducción de datos actual
$
$
$ mode cmd_rc spacing
31 50
$
$
$ mode cmd_rc margin width
32 20
$
$
$ Input method selection help
33 \\n \
Selección de método de introducción de datos\\n \
@@ -148,7 +148,7 @@ $ Input method selection help
sin efectuar ninguna operación mediante la ventana, para lo cual deberá efectuar la operación \\n \
'DtImsMode' que se encuentra en Desktop_Tools en Gestor de aplicaciones,\\n \
y seleccione 'Reanudar método de introducción de datos actual' en la ventana del cuadro de diálogo.\\n
$
$
$ Input method selection mode help
34 \\n \
Modo de selección de método de introducción de datos\\n \
@@ -169,5 +169,5 @@ $ Input method selection mode help
[Cancelar]: descarta los cambios y cierra la ventana.\\n \
\\n \
[Ayuda]: muestra este mensaje.\\n
$
$
$
$