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 Sélection de la méthode d'entrée
|
||||
$
|
||||
$
|
||||
$ Host title
|
||||
4 Changer l'hôte
|
||||
$
|
||||
$
|
||||
$ Mode title
|
||||
5 Mode de sélection de la méthode d'entrée
|
||||
$
|
||||
$
|
||||
$ OK button label
|
||||
6 OK
|
||||
$
|
||||
$
|
||||
$ Clear button label
|
||||
7 Effacer
|
||||
$
|
||||
$
|
||||
$ Cancel button label
|
||||
8 Annuler
|
||||
$
|
||||
$
|
||||
$ Change Host button label
|
||||
9 Changer l'hôte
|
||||
$
|
||||
$
|
||||
$ Help button label
|
||||
10 Aide
|
||||
$
|
||||
$
|
||||
$ 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 Nom de l'hôte :
|
||||
$
|
||||
$
|
||||
$ 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 \
|
||||
Enter the hostname where the registered\\n \
|
||||
input method servers should be shown.\\n \
|
||||
Empty hostname indicates the local host.
|
||||
$
|
||||
$
|
||||
$ 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 Demander à la connexion
|
||||
$
|
||||
$
|
||||
$ selection mode button1 label string
|
||||
30 Continuer la méthode d'entrée en cours
|
||||
$
|
||||
$
|
||||
$ mode cmd_rc spacing
|
||||
31 50
|
||||
$
|
||||
$
|
||||
$ mode cmd_rc margin width
|
||||
32 20
|
||||
$
|
||||
$
|
||||
$ Input method selection help
|
||||
33 \\n \
|
||||
Input Method Selection\\n \
|
||||
@@ -148,7 +148,7 @@ $ Input method selection help
|
||||
one without any window operation. To do so, execute the action\\n \
|
||||
'DtImsMode', located at Desktop_Tools in Application Manager,\\n \
|
||||
and select 'Resume current input method' on the dialog window.\\n
|
||||
$
|
||||
$
|
||||
$ Input method selection mode help
|
||||
34 \\n \
|
||||
Input Method Selection Mode\\n \
|
||||
@@ -169,5 +169,5 @@ $ Input method selection mode help
|
||||
[Cancel]: discards the changes and closes the window.\\n \
|
||||
\\n \
|
||||
[Help]: shows this message.\\n
|
||||
$
|
||||
$
|
||||
$
|
||||
$
|
||||
|
||||
Reference in New Issue
Block a user