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:
@@ -20,31 +20,31 @@ $ *****************************************************************************
|
||||
|
||||
$set 10
|
||||
1 品卒岂仨怅损祁席(superuser)仝如·\n
|
||||
$
|
||||
$
|
||||
2 CDE 堍呢菝贴醛涅贴损祁席孽域· 群孽域\n\
|
||||
倾朔苡母输摹远损祁席嘻圄墨针享淠<EFBFBD>泣·\n\
|
||||
友亦破岩闪圊祈真祁、诶埔恻<EFBFBD>瘼靴锹屿浠怃邛朔苡·\n
|
||||
$
|
||||
$
|
||||
3 淘棚如堍呢菝贴醛涅贴损祁席孽域· 群孽域\n\
|
||||
倾朔苡母输摹远损祁席嘻圄墨针享淠<EFBFBD>泣·\n\
|
||||
友亦破岩闪圊祈真祁、诶埔恻<EFBFBD>瘼靴锹屿浠怃邛朔苡·\n
|
||||
4 CDE 呢孱菝贴醛涅贴损祁席孽域·
|
||||
$
|
||||
$
|
||||
5 淘棚如呢孱菝贴醛涅贴损祁席孽域·\n
|
||||
$
|
||||
$
|
||||
6 祁挝: %s\n\
|
||||
-e (邛祁 dtlogin 嘻 auto-start 劈卒)\n\
|
||||
-d (探旨 dtlogin 嘻 auto-start 劈卒)\n\
|
||||
-kill (勰卩 dtlogin)\n\
|
||||
-reset (屿菝 dtlogin - 屿浠<E5B1BF>探刭弭篁)\n
|
||||
$
|
||||
$
|
||||
7 糯情趴戆 \n
|
||||
$
|
||||
$
|
||||
8 腈友摹远趴戆 \n
|
||||
$
|
||||
$
|
||||
9 嘁挝探旨 xdm、铢俣镥 xdm 罾母呶煞喻盆探旨\n\
|
||||
xdm 虽锹孳摹裙· \n
|
||||
$
|
||||
$
|
||||
10 Dtlogin 虽栖仝如 \n
|
||||
|
||||
$ *****************************************************************************
|
||||
@@ -52,18 +52,18 @@ $ ** Message set 20: For Sun Platforms
|
||||
$ *****************************************************************************
|
||||
|
||||
$set 20
|
||||
$
|
||||
$
|
||||
1 CDE 刭弭狞祁幔娶
|
||||
$
|
||||
$
|
||||
2 %s -d (探旨 auto-start)
|
||||
3 %s -e (邛祁 auto-start)
|
||||
4 %s -kill (勰卩 dtlogin)
|
||||
5 %s -reset (屿菝 dtlogin)
|
||||
6 %s -p (峭闲瘼侬散收浠)
|
||||
$
|
||||
$
|
||||
$ In above messages 2 through 6, only translate words between
|
||||
$ left "(" and right ").
|
||||
$
|
||||
$
|
||||
7 %s: 孚 script 埔恻盆 root 仝如
|
||||
8 祁挝: 糯情趴戆
|
||||
9 祁挝: 腈友摹远趴戆
|
||||
|
||||
Reference in New Issue
Block a user