From: Uwe Stöhr Date: Wed, 12 Oct 2016 00:24:01 +0000 (+0200) Subject: Win installer: update some dictionaries X-Git-Tag: 2.3.0alpha1~898 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5022ad51cb0bd28c1a08fbaedcfb6a5fa9b720d8;p=features.git Win installer: update some dictionaries there is now a separate thesaurus for Australian available --- diff --git a/development/Win32/packaging/installer/ChangeLog.txt b/development/Win32/packaging/installer/ChangeLog.txt index 5600b0b6a6..fd257e55e1 100644 --- a/development/Win32/packaging/installer/ChangeLog.txt +++ b/development/Win32/packaging/installer/ChangeLog.txt @@ -5,6 +5,12 @@ - updated to JabRef 3.6 - updated to NSIS 3.0 - updated to Ghostscript 9.20 +- new thesaurus for English (AU) +- updated thesaurus for Portuguese and Ukrainian +- updated spell checker dictionaries for English (CA, GB and US), Portuguese + and Ukrainian + (To benefit from them you must uninstall an already installed LyX 2.2.x and + then use this installer.) Changelog for LyX-221-2: diff --git a/development/Win32/packaging/installer/include/init.nsh b/development/Win32/packaging/installer/include/init.nsh index 644773451f..53f8b21706 100644 --- a/development/Win32/packaging/installer/include/init.nsh +++ b/development/Win32/packaging/installer/include/init.nsh @@ -348,7 +348,7 @@ SectionEnd Section /o "Português (PT)" SecDPortuguesePT StrCpy $DictCodes "pt_PT,$DictCodes" - AddSize 1490 + AddSize 1568 SectionEnd Section /o "Româna" SecDRomanian @@ -428,7 +428,7 @@ SectionEnd Section /o "Ukrainian" SecDUkrainian StrCpy $DictCodes "uk_UA,$DictCodes" - AddSize 3077 + AddSize 5298 SectionEnd Section /o "Urdu" SecDUrdu @@ -476,12 +476,17 @@ Section /o "Deutsch (CH)" SecTGermanCH AddSize 14600 SectionEnd +Section /o "English (AU)" SecTEnglishAU + StrCpy $ThesCodes "en_AU,$ThesCodes" + AddSize 21642 +SectionEnd + Section /o "English (GB)" SecTEnglishGB StrCpy $ThesCodes "en_GB,$ThesCodes" AddSize 14300 SectionEnd -Section /o "English (US/AU)" SecTEnglishUSAU +Section /o "English (US)" SecTEnglishUS StrCpy $ThesCodes "en_US,$ThesCodes" AddSize 22095 SectionEnd @@ -543,7 +548,7 @@ SectionEnd Section /o "Português" SecTPortuguese StrCpy $ThesCodes "pt_PT,$ThesCodes" - AddSize 860 + AddSize 3950 SectionEnd Section /o "Româna" SecTRomanian @@ -573,7 +578,7 @@ SectionEnd Section /o "Ukrainian" SecTUkrainian StrCpy $ThesCodes "uk_UA,$ThesCodes" - AddSize 1309 + AddSize 1339 SectionEnd SectionGroupEnd @@ -1262,6 +1267,13 @@ Function .onInit SectionSetFlags ${SecTGermanCH} $0 SectionSetSize ${SecTGermanCH} 0 ${endif} + StrCpy $Search "en_AU" + Call StrPoint + ${if} $Pointer != "-1" + IntOp $0 ${SF_SELECTED} | ${SF_RO} + SectionSetFlags ${SecTEnglishAU} $0 + SectionSetSize ${SecTEnglishAU} 0 + ${endif} StrCpy $Search "en_GB" Call StrPoint ${if} $Pointer != "-1" @@ -1273,8 +1285,8 @@ Function .onInit Call StrPoint ${if} $Pointer != "-1" IntOp $0 ${SF_SELECTED} | ${SF_RO} - SectionSetFlags ${SecTEnglishUSAU} $0 - SectionSetSize ${SecTEnglishUSAU} 0 + SectionSetFlags ${SecTEnglishUS} $0 + SectionSetSize ${SecTEnglishUS} 0 ${endif} StrCpy $Search "es_ES" Call StrPoint