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:
@@ -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 Selezione del metodo di input
|
||||
$
|
||||
$
|
||||
$ Host title
|
||||
4 Cambiare host
|
||||
$
|
||||
$
|
||||
$ Mode title
|
||||
5 Modalità di selezione
|
||||
$
|
||||
$
|
||||
$ OK button label
|
||||
6 OK
|
||||
$
|
||||
$
|
||||
$ Clear button label
|
||||
7 Ripristinare
|
||||
$
|
||||
$
|
||||
$ Cancel button label
|
||||
8 Annullare
|
||||
$
|
||||
$
|
||||
$ Change Host button label
|
||||
9 Cambiare host
|
||||
$
|
||||
$
|
||||
$ Help button label
|
||||
10 Aiuto
|
||||
$
|
||||
$
|
||||
$ 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 Nome host:
|
||||
$
|
||||
$
|
||||
$ 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 \
|
||||
Immettere il nome dell'host dove si desidera visualizzare\\n \
|
||||
i nomi dei server registrati per il metodo di input.\\n \
|
||||
Il campo vuoto indica l'host locale.
|
||||
$
|
||||
$
|
||||
$ 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 Scelta all'eseguire login
|
||||
$
|
||||
$
|
||||
$ selection mode button1 label string
|
||||
30 Riprendere metodo corrente
|
||||
$
|
||||
$
|
||||
$ mode cmd_rc spacing
|
||||
31 50
|
||||
$
|
||||
$
|
||||
$ mode cmd_rc margin width
|
||||
32 20
|
||||
$
|
||||
$
|
||||
$ Input method selection help
|
||||
33 \\n \
|
||||
Selezione del metodo di input\\n \
|
||||
@@ -148,7 +148,7 @@ $ Input method selection help
|
||||
alcuna operazione di finestra. Eseguire l'azione\\n \
|
||||
'DtImsMode', che si trova in Desktop_Tools nella Gestione applicazioni,\\n \
|
||||
e selezionare 'Resume current input method' nella finestra di dialogo.\\n
|
||||
$
|
||||
$
|
||||
$ Input method selection mode help
|
||||
34 \\n \
|
||||
Modalità di selezione\\n \
|
||||
@@ -168,5 +168,5 @@ $ Input method selection mode help
|
||||
[Annullare]: ignora le modifiche e chiude la finestra.\\n \
|
||||
\\n \
|
||||
[Aiuto]: mostra questo messaggio.\\n
|
||||
$
|
||||
$
|
||||
$
|
||||
$
|
||||
|
||||
Reference in New Issue
Block a user