installer: support for the Chinese menu language translations

scons/scons_manifest.py: add the new Chinese .po files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18938 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-06-29 00:14:50 +00:00
parent ab507ec444
commit 208a64d292
5 changed files with 41 additions and 15 deletions

View File

@ -1,4 +1,12 @@
Version LyX 1.5rc2-27-06-2007 Version LyX 1.5xx-xx-07-2007
- LyX 1.5xx-xx-07-2007
- new "Chinese (Taiwan)" translation of LyX's menus
- support to set "Chinese (Taiwan)" (simplified Chinese) and
"Chinese (Taiwan)" as LyX's menu language
Version LyX 1.5rc2-27-06-2007
- LyX 1.5rc2 from 27-06-2007 - LyX 1.5rc2 from 27-06-2007
- new Chinese translation of LyX's menus - new Chinese translation of LyX's menus
- new button to close document tabs separately - new button to close document tabs separately
@ -8,7 +16,7 @@
- Aspell (thanks to Joost Verburg) - Aspell (thanks to Joost Verburg)
- updated dictionaries for Bulgarian (bg), Farsi (fa), Irish (ga), - updated dictionaries for Bulgarian (bg), Farsi (fa), Irish (ga),
- Kurdish (ku), Polish (pl), Ukrainian (uk), and Uzbek (uz) Kurdish (ku), Polish (pl), Ukrainian (uk), and Uzbek (uz)
- new dictionaries for Armenian (hy), Frisian (fy), Hindi (hi), - new dictionaries for Armenian (hy), Frisian (fy), Hindi (hi),
and Portuguese(pt_BR and pt_PT) and Portuguese(pt_BR and pt_PT)
- Norwegian (no) dictionary renamed and updated to Norwegian (nb) - Norwegian (no) dictionary renamed and updated to Norwegian (nb)

View File

@ -283,11 +283,11 @@
${endif} ${endif}
# currently no dictionary available # currently no dictionary available
# ${if} ${LangISOCode} = 2052 ${if} ${LangISOCode} = 2052
# StrCpy ${LangCdeSys} "zh" StrCpy ${LangCdeSys} "zh_CN"
# StrCpy ${LangNmeSys} "Chinese" StrCpy ${LangNmeSys} "Chinese"
# StrCpy ${LangSysEnc} "936" StrCpy ${LangSysEnc} "936"
# ${endif} ${endif}
${if} ${LangISOCode} = 2055 ${if} ${LangISOCode} = 2055
StrCpy ${LangCdeSys} "de" StrCpy ${LangCdeSys} "de"
@ -351,6 +351,13 @@
StrCpy ${LangSysEnc} "1252" StrCpy ${LangSysEnc} "1252"
${endif} ${endif}
# currently no dictionary available
${if} ${LangISOCode} = 3076
StrCpy ${LangCdeSys} "zh_CN"
StrCpy ${LangNmeSys} "Chinese (China)"
StrCpy ${LangSysEnc} "936"
${endif}
${if} ${LangISOCode} = 3079 ${if} ${LangISOCode} = 3079
StrCpy ${LangCdeSys} "de" StrCpy ${LangCdeSys} "de"
StrCpy ${LangNmeSys} "Deutsch" StrCpy ${LangNmeSys} "Deutsch"
@ -449,6 +456,16 @@
StrCpy ${LangEnc} "cp-1250" StrCpy ${LangEnc} "cp-1250"
${endif} ${endif}
${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}
${if} ${Name} == "Dansk" ${if} ${Name} == "Dansk"
StrCpy ${LangCde} "da_DK" StrCpy ${LangCde} "da_DK"
StrCpy ${LangEnc} "cp-1252" StrCpy ${LangEnc} "cp-1252"

View File

@ -3,7 +3,7 @@
!define PRODUCT_DIR "D:\LyXPackage1.5" !define PRODUCT_DIR "D:\LyXPackage1.5"
!define PRODUCT_NAME "LyX" !define PRODUCT_NAME "LyX"
!define PRODUCT_VERSION "1.5rc2-27-05-2007" !define PRODUCT_VERSION "1.5xx-xx-07-2007"
!define PRODUCT_VERSION_SHORT "150svn" !define PRODUCT_VERSION_SHORT "150svn"
!define PRODUCT_SUBFOLDER "lyx15" !define PRODUCT_SUBFOLDER "lyx15"
!define PRODUCT_LICENSE_FILE "${PRODUCT_DIR}\License.txt" !define PRODUCT_LICENSE_FILE "${PRODUCT_DIR}\License.txt"
@ -19,12 +19,12 @@
!define PRODUCT_INFO_URL "http://www.lyx.org/" !define PRODUCT_INFO_URL "http://www.lyx.org/"
!define LAUNCHER_EXE "$INSTDIR\bin\LyXLauncher.exe" !define LAUNCHER_EXE "$INSTDIR\bin\LyXLauncher.exe"
BrandingText "LyXWinInstaller v3.17 - ${INSTALLER_VERSION}" BrandingText "LyXWinInstaller v3.18 - ${INSTALLER_VERSION}"
# to check later if this installer version is running at the same time # to check later if this installer version is running at the same time
!define INSTALLER_EXE "LyXWin${PRODUCT_VERSION_SHORT}${INSTALLER_VERSION}-3-17.exe" !define INSTALLER_EXE "LyXWin${PRODUCT_VERSION_SHORT}${INSTALLER_VERSION}-3-18.exe"
!define INSTALLER2_EXE "LyXWin${PRODUCT_VERSION_SHORT}${INSTALLER2_VERSION}-3-17.exe" !define INSTALLER2_EXE "LyXWin${PRODUCT_VERSION_SHORT}${INSTALLER2_VERSION}-3-18.exe"
!define INSTALLER3_EXE "LyXWin${PRODUCT_VERSION_SHORT}${INSTALLER3_VERSION}-3-17.exe" !define INSTALLER3_EXE "LyXWin${PRODUCT_VERSION_SHORT}${INSTALLER3_VERSION}-3-18.exe"
!define VERSION_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_vert${PRODUCT_VERSION_SHORT}.bmp" !define VERSION_BITMAP "${PRODUCT_DIR}\icons\lyx_logo_vert${PRODUCT_VERSION_SHORT}.bmp"
# Replaced by HKLM or HKCU depending on SetShellVarContext. # Replaced by HKLM or HKCU depending on SetShellVarContext.
@ -39,7 +39,7 @@ BrandingText "LyXWinInstaller v3.17 - ${INSTALLER_VERSION}"
# definitions for the Update installer # definitions for the Update installer
!if ${INSTALLER_VERSION} == "Update" !if ${INSTALLER_VERSION} == "Update"
!define PRODUCT_UNINST_KEY_OLD "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX150svn" !define PRODUCT_UNINST_KEY_OLD "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX150svn"
!define PRODUCT_VERSION_OLD "LyX 1.5rc1-31-05-2007" !define PRODUCT_VERSION_OLD "LyX 1.5rc2-27-05-2007"
!define PRODUCT_UNINSTALL_EXE_OLD "$INSTDIR\LyXWinUninstall.exe" !define PRODUCT_UNINSTALL_EXE_OLD "$INSTDIR\LyXWinUninstall.exe"
!define PRODUCT_VERSION_SHORT_OLD "150svn" !define PRODUCT_VERSION_SHORT_OLD "150svn"
!define JabRefVersion "2.2" # could be an older version !define JabRefVersion "2.2" # could be an older version

View File

@ -11,7 +11,7 @@ Text=" Available Languages "
[Field 2] [Field 2]
Type=Droplist Type=Droplist
ListItems=Ceština|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 Left=20
Right=130 Right=130
Top=15 Top=15

View File

@ -1411,7 +1411,8 @@ po_extra_files = Split('''
sv.po sv.po
tr.po tr.po
wa.po wa.po
zh.po zh_CN.po
zh_TW.po
''') ''')