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

@@ -185,10 +185,10 @@ $ label specified in message 110 of set 11.
$ Labels for add/don't-add newlines radio buttons in the SaveAs and Save dialogs
44 倾溶侬咝如嘻如岣盛披墨咝如求镊·
45 拟披墨咝如求镊· 品像昼盆 [Return] 塄祈嘻\n咝如·
$
$
$ New message as of 5/31/95 (i.e. new since Sample Implementation). This
$ new message is in response to bug DTS CISlx19530.
$
$
46 偏卒岩篁争嘁挝煅墨\n托摊孚篁争嘻纣绽拟囚倾·
@@ -245,7 +245,7 @@ $ Default file name used in the main window title.
$ This should correspond to the default file name used in the "Save As"
$ dialog box - specified in message 21 of set 5.
6 (UNTITLED)
$
$
$ New messages (7,8) since CDE/SI - error gets displayed when user tries to run
$ dtpad -server when and dtpad server process is already running on the
$ $DISPLAY.
@@ -253,11 +253,11 @@ $ $DISPLAY.
呢孱倾韦侪孚<EFBFBD>泣鹇·
8 蜚毹: 摹远 dtpad 腮韦鹇\n\
呢孱倾韦侪孚<EFBFBD>泣鹇·
$
$
$ Message 9 is also new since CDE/SI - new as of 5/22/95. It is a usage message
$ for dtpad. Don't translate the '-OPTION' just the text explaining the
$ option.
$
$
9 '%s' 岩蜚毹嘻蛸恸·\n\
祁挝: %s...\n\
-saveOnClose\n\
@@ -304,7 +304,7 @@ $
\t破品刭琴 -server 蛸恸损祁, 寝页破品锼祁\n\
\t王腮韦鹇幔施·\n\n\
<EFBFBD>菡髓蛸恸嘻孥茇骜砧, 铢俣镥 dtpad 罾母呶煞喻·\n\n
$
$
$set 10