commit 5022ad51cb0bd28c1a08fbaedcfb6a5fa9b720d8
Author: Uwe Stöhr <[email protected]>
Date:   Wed Oct 12 02:24:01 2016 +0200

    Win installer: update some dictionaries
    
    there is now a separate thesaurus for Australian available
---
 .../Win32/packaging/installer/ChangeLog.txt        |    6 ++++
 .../Win32/packaging/installer/include/init.nsh     |   26 ++++++++++++++-----
 2 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/development/Win32/packaging/installer/ChangeLog.txt 
b/development/Win32/packaging/installer/ChangeLog.txt
index 5600b0b..fd257e5 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 6447734..53f8b21 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

Reply via email to