From d3f992d772a8356ee519e2d4d9a0bc7d400c1df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Mon, 8 Apr 2013 01:17:23 +0200 Subject: [PATCH] installer: add support for Marathi - also update some spell check and thesaurus dictionaries --- .../Win32/packaging/installer/ChangeLog.txt | 6 ++++ .../installer/HunspellDictionaryNames.txt | 2 ++ .../packaging/installer/include/init.nsh | 30 +++++++++++-------- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/development/Win32/packaging/installer/ChangeLog.txt b/development/Win32/packaging/installer/ChangeLog.txt index 2156bdb57f..ed483a6e68 100644 --- a/development/Win32/packaging/installer/ChangeLog.txt +++ b/development/Win32/packaging/installer/ChangeLog.txt @@ -3,6 +3,12 @@ automatically be installed to MiKTeX - language support files for Belarusian and Hungarian are now included - updated to eLyXer 1.2.5 +- updated spell-checker dictionaries for Belarusian, Breton, Korean, Norwegian, + Portuguese and Swedish + (To benefit from them you must uninstall an already installed LyX 2.0.x and + then use this installer.) +- updated thesaurus for Norwegian (Bokmal), Portuguese and Slovenian + (need to reinstall LyX to benefit from this) Changelog for LyX-2051-5: - Fix broken importing of TeX files to LyX diff --git a/development/Win32/packaging/installer/HunspellDictionaryNames.txt b/development/Win32/packaging/installer/HunspellDictionaryNames.txt index 4ee0bb01aa..216f803831 100644 --- a/development/Win32/packaging/installer/HunspellDictionaryNames.txt +++ b/development/Win32/packaging/installer/HunspellDictionaryNames.txt @@ -88,6 +88,8 @@ lt_LT.aff lt_LT.dic lv_LV.aff lv_LV.dic +mr_IN.aff +mr_IN.dic ms_MY.aff ms_MY.dic nb_NO.aff diff --git a/development/Win32/packaging/installer/include/init.nsh b/development/Win32/packaging/installer/include/init.nsh index 8b3125522b..87e79f3b97 100644 --- a/development/Win32/packaging/installer/include/init.nsh +++ b/development/Win32/packaging/installer/include/init.nsh @@ -100,7 +100,7 @@ SectionEnd Section /o "Brezhoneg" SecDBreton StrCpy $DictCodes "br_FR,$DictCodes" - AddSize 11000 + AddSize 5510 SectionEnd Section /o "Bulgarian" SecDBulgarian @@ -286,7 +286,7 @@ SectionEnd Section /o "Korean" SecDKorean StrCpy $DictCodes "ko_KR,$DictCodes" - AddSize 15200 + AddSize 16540 SectionEnd Section /o "Latina" SecDLatin @@ -304,6 +304,12 @@ Section /o "Latvie AddSize 2140 SectionEnd +# enable this for LyX 2.1! +#Section /o "Marathi" SecDMarathi +# StrCpy $DictCodes "mr_IN,$DictCodes" +# AddSize 5290 +#SectionEnd + Section /o "Nederlands" SecDDutch StrCpy $DictCodes "nl_NL,$DictCodes" AddSize 1820 @@ -311,12 +317,12 @@ SectionEnd Section /o "Norsk (Bokmål)" SecDNorwegianNB StrCpy $DictCodes "nb_NO,$DictCodes" - AddSize 4890 + AddSize 5000 SectionEnd Section /o "Norsk (Nynorsk)" SecDNorwegianNN StrCpy $DictCodes "nn_NO,$DictCodes" - AddSize 2890 + AddSize 2970 SectionEnd # enable this for LyX 2.1! @@ -337,7 +343,7 @@ SectionEnd Section /o "Português (PT)" SecDPortuguesePT StrCpy $DictCodes "pt_PT,$DictCodes" - AddSize 1460 + AddSize 1520 SectionEnd Section /o "Româna" SecDRomanian @@ -493,9 +499,9 @@ Section /o "Magyar" SecTHungarian AddSize 632 SectionEnd -Section /o "Norsk" SecTNorwegian - StrCpy $ThesCodes "no_NO,$ThesCodes" - AddSize 2470 +Section /o "Norsk (Bokmål)" SecTNorwegianNB + StrCpy $ThesCodes "nb_NO,$ThesCodes" + AddSize 2540 SectionEnd Section /o "Polski" SecTPolish @@ -505,7 +511,7 @@ SectionEnd Section /o "Português" SecTPortuguese StrCpy $ThesCodes "pt_PT,$ThesCodes" - AddSize 855 + AddSize 860 SectionEnd Section /o "Româna" SecTRomanian @@ -1232,12 +1238,12 @@ Function .onInit SectionSetFlags ${SecTHungarian} $0 SectionSetSize ${SecTHungarian} 0 ${endif} - StrCpy $Search "no_NO" + StrCpy $Search "nb_NO" Call StrPoint ${if} $Pointer != "-1" IntOp $0 ${SF_SELECTED} | ${SF_RO} - SectionSetFlags ${SecTNorwegian} $0 - SectionSetSize ${SecTNorwegian} 0 + SectionSetFlags ${SecTNorwegianNB} $0 + SectionSetSize ${SecTNorwegianNB} 0 ${endif} StrCpy $Search "pl_PL" Call StrPoint