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

@@ -26,7 +26,7 @@ $ *****************************************************************************
$ ----------------------------------------------------------------------------
$ Sun Desktop Names
$
$
$ Names are used on the dtlogin Options->Session menu
$ "NEW-"
291 OpenWindows Desktop

View File

@@ -365,7 +365,7 @@ $ LANG=ca
$ ----------------------------------------------------------------------------
$ Sun Desktop Names
$
$
$ Names are used on the dtlogin Options->Session menu
290 "Common Desktop Environment (CDE)"
@@ -556,13 +556,13 @@ $ LANG=chinese-t
$ ----------------------------------------------------------------------------
$ Login screen language list translations for OSF1 (DEC)
$
$
$ The following are the locale name to descriptive name mappings
$ for OSF1. When the login screen is displayed, the list of available
$ locales (valid values for $LANG) are obtained from the system. When
$ the language list menu is displayed on the login screen, the descriptive
$ text below is displayed rather than the locale name.
$
$
$ For the translations below, the comment 'LANG=' provides the locale name
$ and the numbered item is the translatable descriptive text for that locale.
$ ----------------------------------------------------------------------------
@@ -673,13 +673,13 @@ $ LANG=lt_LT.ISO8859-4
$ ----------------------------------------------------------------------------
$ Login screen language list translations for UXP (Fujitsu)
$
$
$ The following are the locale name to descriptive name mappings
$ for UXP. When the login screen is displayed, the list of available
$ locales (valid values for $LANG) are obtained from the system. When
$ the language list menu is displayed on the login screen, the descriptive
$ text below is displayed rather than the locale name.
$
$
$ For the translations below, the comment 'LANG=' provides the locale name
$ and the numbered item is the translatable descriptive text for that locale.
$ ----------------------------------------------------------------------------
@@ -710,13 +710,13 @@ $ LANG=japan
$ ----------------------------------------------------------------------------
$ Login screen language list translations for USL (Novell)
$
$
$ The following are the locale name to descriptive name mappings
$ for USL. When the login screen is displayed, the list of available
$ locales (valid values for $LANG) are obtained from the system. When
$ the language list menu is displayed on the login screen, the descriptive
$ text below is displayed rather than the locale name.
$
$
$ For the translations below, the comment 'LANG=' provides the locale name
$ and the numbered item is the translatable descriptive text for that locale.
$ ----------------------------------------------------------------------------

View File

@@ -11,11 +11,11 @@ $ * (c) Copyright 1995 FUJITSU LIMITED.
$ * (c) Copyright 1995 Hitachi.
$ *
$ * $XConsortium: _common.session.tmsg /main/3 1996/10/19 14:45:12 rws $
$
$
$ *****************************************************************************
$
$
$set 1
$
$
$ *****************************************************************************
$ *
$ * The following message is used for the session name for a home