]> git.lyx.org Git - lyx.git/commitdiff
installer: support Bo's latest simplified Chinese menu translations
authorUwe Stöhr <uwestoehr@web.de>
Mon, 16 Jul 2007 22:02:03 +0000 (22:02 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Mon, 16 Jul 2007 22:02:03 +0000 (22:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19091 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/AltInstaller/ChangeLog.txt
development/Win32/packaging/AltInstaller/LanguageSettings.nsh
development/Win32/packaging/AltInstaller/io_ui_language.ini

index ce8abec999652702bcdf8cc1d6671c33a013d226..058dc2140b44f5c8ad40bb863110e65533eb633f 100644 (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
index 134bed2b432c2b9bd5234caa79cc99f5dc146c30..d78a062c28eed22833a0dedda3f550108c6f07c8 100644 (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"
 
 # 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}
 
 # 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}
    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"
    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}
index 49467bb90e8ae1dbb54d321e93d8a803d7e665b9..40452dcc1d5a4a098be5ce1e808e28039a2df97e 100644 (file)
@@ -11,7 +11,7 @@ Text=" Available Languages "
 
 [Field 2]
 Type=Droplist
-ListItems=Ce\9atina|Chinese|Dansk|Deutsch|English|Español|Euskara|Français|Galego|Hebrew|Italiano|Japanese|Korean|Magyar|Nederlands|Norsk|Nynorsk|Polski|Româna|Russian|Slovenský|Sloven\9acina|Suomi|Türkçe
+ListItems=Ce\9atina|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\9acina|Suomi|Türkçe
 Left=20
 Right=130
 Top=15