installer: support Bo's latest simplified Chinese menu translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19091 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-07-16 22:02:03 +00:00
parent a5c7bdc41e
commit a76c162cec
3 changed files with 23 additions and 14 deletions

View File

@ -1,7 +1,8 @@
Version 3.18
- LyX 1.5.0
- support to set "Chinese" as LyX's menu language
- support to set "Chinese (China)" (simplified Chinese) and
"Chinese (Taiwan)" (traditional Chinese) as LyX's menu language
- updated to MiKTeX 2.6 (version 2742)
- updated to ImageMagick 6.3.5
- updated to GhostScript 8.57

View File

@ -4,7 +4,7 @@
# LangNme is the language name when there exists a LyX translation for this language; used for the menu language dialog and for the Aspell installation
# LangNmeSys is the Windows system language; used for the Aspell installation
# LangCdeSys is the ISO 630 language code of the language; used for the Aspell installation
# LangSysEnc is the Windows codepage for the character encoding of the language; used in lyx.bat to assure that scripts are correctly executed
# LangSysEnc is the Windows codepage for the character encoding of the language; can be used in lyx.bat to assure that scripts are correctly executed
!macro TranslateLangCode LangNme LangNmeSys LangCdeSys LangISOCode LangSysEnc
StrCpy ${LangCdeSys} ""
@ -29,7 +29,7 @@
# currently no dictionary available
${if} ${LangISOCode} = 1028
StrCpy ${LangNme} "Chinese"
StrCpy ${LangNme} "Chinese (Taiwan)"
StrCpy ${LangCdeSys} "zh_TW"
StrCpy ${LangNmeSys} "Chinese"
StrCpy ${LangSysEnc} "936"
@ -336,8 +336,8 @@
# currently no dictionary available
${if} ${LangISOCode} = 2052
StrCpy ${LangNme} "Chinese"
StrCpy ${LangCdeSys} "zh_TW"
StrCpy ${LangNme} "Chinese (China)"
StrCpy ${LangCdeSys} "zh_CN"
StrCpy ${LangNmeSys} "Chinese"
StrCpy ${LangSysEnc} "936"
${endif}
@ -411,8 +411,8 @@
# currently no dictionary available
${if} ${LangISOCode} = 3076
StrCpy ${LangNme} "Chinese"
StrCpy ${LangCdeSys} "zh_TW"
StrCpy ${LangNme} "Chinese (China)"
StrCpy ${LangCdeSys} "zh_CN"
StrCpy ${LangNmeSys} "Chinese"
StrCpy ${LangSysEnc} "936"
${endif}
@ -459,6 +459,14 @@
StrCpy ${LangSysEnc} "1252"
${endif}
# currently no dictionary available
${if} ${LangISOCode} = 5124
StrCpy ${LangNme} "Chinese (China)"
StrCpy ${LangCdeSys} "zh_CN"
StrCpy ${LangNmeSys} "Chinese"
StrCpy ${LangSysEnc} "936"
${endif}
${if} ${LangISOCode} = 5129
StrCpy ${LangCdeSys} "en"
StrCpy ${LangNmeSys} "English"
@ -515,12 +523,12 @@
StrCpy ${LangEnc} "cp-1250"
${endif}
# ${if} ${Name} == "Chinese (China)"
# StrCpy ${LangCde} "zh_CN"
# StrCpy ${LangEnc} "cp-936"
# ${endif}
${if} ${Name} == "Chinese"
${if} ${Name} == "Chinese (China)"
StrCpy ${LangCde} "zh_CN"
StrCpy ${LangEnc} "cp-936"
${endif}
${if} ${Name} == "Chinese (Taiwan)"
StrCpy ${LangCde} "zh_TW"
StrCpy ${LangEnc} "cp-936"
${endif}

View File

@ -11,7 +11,7 @@ Text=" Available Languages "
[Field 2]
Type=Droplist
ListItems=Ceština|Chinese|Dansk|Deutsch|English|Español|Euskara|Français|Galego|Hebrew|Italiano|Japanese|Korean|Magyar|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenský|Slovenšcina|Suomi|Türkçe
ListItems=Ceština|Chinese (China)|Chinese (Taiwan)|Dansk|Deutsch|English|Español|Euskara|Français|Galego|Hebrew|Italiano|Japanese|Korean|Magyar|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenský|Slovenšcina|Suomi|Türkçe
Left=20
Right=130
Top=15