mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
installer: updated for dictionaries
- support thesaurus for Icelandic and Ukrainian - update for other dictionaries
This commit is contained in:
parent
80fe665406
commit
ea96d0531c
@ -4,9 +4,11 @@
|
|||||||
- language support files for Belarusian and Hungarian are now included
|
- language support files for Belarusian and Hungarian are now included
|
||||||
- spell-checker dictionaries for Serbian(Latin) and French(Canada) are now available
|
- spell-checker dictionaries for Serbian(Latin) and French(Canada) are now available
|
||||||
(for French(Canada) see also http://wiki.lyx.org/Windows/FrenchCanadian)
|
(for French(Canada) see also http://wiki.lyx.org/Windows/FrenchCanadian)
|
||||||
|
- thesaurus dictionaries for Icelandic and Ukrainian are now available
|
||||||
- updated to eLyXer 1.2.5
|
- updated to eLyXer 1.2.5
|
||||||
- updated spell-checker dictionaries for Belarusian, Breton, Italian, Korean,
|
- updated spell-checker dictionaries for Belarusian, Breton, Gaelic, Interlingua,
|
||||||
Latin, Norwegian, Portuguese, Romanian, Serbian(Cyrillic), Slovakian and Swedish
|
Italian, Korean, Latin, Latvian, Norwegian, Portuguese, Romanian, Serbian(Cyrillic),
|
||||||
|
Slovakian and Swedish
|
||||||
(To benefit from them you must uninstall an already installed LyX 2.0.x and
|
(To benefit from them you must uninstall an already installed LyX 2.0.x and
|
||||||
then use this installer.)
|
then use this installer.)
|
||||||
- updated thesaurus for Italian, Norwegian (Bokmal), Portuguese, Romanian,
|
- updated thesaurus for Italian, Norwegian (Bokmal), Portuguese, Romanian,
|
||||||
|
@ -24,6 +24,8 @@ th_ga_IE_v2.dat
|
|||||||
th_ga_IE_v2.idx
|
th_ga_IE_v2.idx
|
||||||
th_hu_HU_v2.dat
|
th_hu_HU_v2.dat
|
||||||
th_hu_HU_v2.idx
|
th_hu_HU_v2.idx
|
||||||
|
th_is_IS_v2.dat
|
||||||
|
th_is_IS_v2.idx
|
||||||
th_it_IT_v2.dat
|
th_it_IT_v2.dat
|
||||||
th_it_IT_v2.idx
|
th_it_IT_v2.idx
|
||||||
th_nb_NO_v2.dat
|
th_nb_NO_v2.dat
|
||||||
@ -42,3 +44,5 @@ th_sl_SI_v2.dat
|
|||||||
th_sl_SI_v2.idx
|
th_sl_SI_v2.idx
|
||||||
th_sv_SE_v2.dat
|
th_sv_SE_v2.dat
|
||||||
th_sv_SE_v2.idx
|
th_sv_SE_v2.idx
|
||||||
|
th_uk_UA_v2.dat
|
||||||
|
th_uk_UA_v2.idx
|
||||||
|
@ -43,8 +43,8 @@ Function FindDictionaries
|
|||||||
|
|
||||||
# read out the possible thesaurus filenames from the file
|
# read out the possible thesaurus filenames from the file
|
||||||
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
||||||
${for} $5 1 22
|
${for} $5 1 24
|
||||||
# the file has 44 lines, but we only need to check for one of the 2 dictionary files per language
|
# the file has 48 lines, but we only need to check for one of the 2 dictionary files per language
|
||||||
# therefore check only for every second line
|
# therefore check only for every second line
|
||||||
FileRead $R5 $String # $String is now the dictionary name
|
FileRead $R5 $String # $String is now the dictionary name
|
||||||
FileRead $R5 $String # $String is now the dictionary name
|
FileRead $R5 $String # $String is now the dictionary name
|
||||||
@ -112,7 +112,7 @@ Function DownloadThesaurusDictionaries
|
|||||||
|
|
||||||
# read out the locations from the file
|
# read out the locations from the file
|
||||||
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
|
||||||
${For} $5 1 44 # the file has 44 lines
|
${For} $5 1 48 # the file has 48 lines
|
||||||
|
|
||||||
FileRead $R5 $String # $String is now the dictionary name
|
FileRead $R5 $String # $String is now the dictionary name
|
||||||
StrCpy $R3 $String 5 3 # $R3 is now the dictionary language code
|
StrCpy $R3 $String 5 3 # $R3 is now the dictionary language code
|
||||||
|
@ -240,7 +240,7 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Gàidhlig" SecDScottish
|
Section /o "Gàidhlig" SecDScottish
|
||||||
StrCpy $DictCodes "gd_GB,$DictCodes"
|
StrCpy $DictCodes "gd_GB,$DictCodes"
|
||||||
AddSize 1660
|
AddSize 1819
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Galego" SecDGalician
|
Section /o "Galego" SecDGalician
|
||||||
@ -271,7 +271,7 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Interlingua" SecDInterlingua
|
Section /o "Interlingua" SecDInterlingua
|
||||||
StrCpy $DictCodes "ia_IA,$DictCodes"
|
StrCpy $DictCodes "ia_IA,$DictCodes"
|
||||||
AddSize 649
|
AddSize 556
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Íslenska" SecDIcelandic
|
Section /o "Íslenska" SecDIcelandic
|
||||||
@ -306,7 +306,7 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Latviešu" SecDLatvian
|
Section /o "Latviešu" SecDLatvian
|
||||||
StrCpy $DictCodes "lv_LV,$DictCodes"
|
StrCpy $DictCodes "lv_LV,$DictCodes"
|
||||||
AddSize 2140
|
AddSize 2243
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
# enable this for LyX 2.1!
|
# enable this for LyX 2.1!
|
||||||
@ -322,12 +322,12 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Norsk (Bokmål)" SecDNorwegianNB
|
Section /o "Norsk (Bokmål)" SecDNorwegianNB
|
||||||
StrCpy $DictCodes "nb_NO,$DictCodes"
|
StrCpy $DictCodes "nb_NO,$DictCodes"
|
||||||
AddSize 5000
|
AddSize 3992
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Norsk (Nynorsk)" SecDNorwegianNN
|
Section /o "Norsk (Nynorsk)" SecDNorwegianNN
|
||||||
StrCpy $DictCodes "nn_NO,$DictCodes"
|
StrCpy $DictCodes "nn_NO,$DictCodes"
|
||||||
AddSize 2970
|
AddSize 2982
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
# enable this for LyX 2.1!
|
# enable this for LyX 2.1!
|
||||||
@ -499,6 +499,11 @@ Section /o "Greek" SecTGreek
|
|||||||
AddSize 903
|
AddSize 903
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
Section /o "Íslenska" SecTIcelandic
|
||||||
|
StrCpy $ThesCodes "is_IS,$ThesCodes"
|
||||||
|
AddSize 63
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Italiano" SecTItalian
|
Section /o "Italiano" SecTItalian
|
||||||
StrCpy $ThesCodes "it_IT,$ThesCodes"
|
StrCpy $ThesCodes "it_IT,$ThesCodes"
|
||||||
AddSize 2520
|
AddSize 2520
|
||||||
@ -511,7 +516,7 @@ SectionEnd
|
|||||||
|
|
||||||
Section /o "Norsk (Bokmål)" SecTNorwegianNB
|
Section /o "Norsk (Bokmål)" SecTNorwegianNB
|
||||||
StrCpy $ThesCodes "nb_NO,$ThesCodes"
|
StrCpy $ThesCodes "nb_NO,$ThesCodes"
|
||||||
AddSize 2540
|
AddSize 2535
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Polski" SecTPolish
|
Section /o "Polski" SecTPolish
|
||||||
@ -549,6 +554,11 @@ Section /o "Svenska" SecTSwedish
|
|||||||
AddSize 720
|
AddSize 720
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
Section /o "Ukrainian" SecTUkrainian
|
||||||
|
StrCpy $ThesCodes "uk_UA,$ThesCodes"
|
||||||
|
AddSize 1309
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
|
|
||||||
# Section descriptions
|
# Section descriptions
|
||||||
@ -1248,6 +1258,13 @@ Function .onInit
|
|||||||
SectionSetFlags ${SecTGreek} $0
|
SectionSetFlags ${SecTGreek} $0
|
||||||
SectionSetSize ${SecTGreek} 0
|
SectionSetSize ${SecTGreek} 0
|
||||||
${endif}
|
${endif}
|
||||||
|
StrCpy $Search "is_IS"
|
||||||
|
Call StrPoint
|
||||||
|
${if} $Pointer != "-1"
|
||||||
|
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
||||||
|
SectionSetFlags ${SecTIcelandic} $0
|
||||||
|
SectionSetSize ${SecTIcelandic} 0
|
||||||
|
${endif}
|
||||||
StrCpy $Search "it_IT"
|
StrCpy $Search "it_IT"
|
||||||
Call StrPoint
|
Call StrPoint
|
||||||
${if} $Pointer != "-1"
|
${if} $Pointer != "-1"
|
||||||
@ -1317,7 +1334,14 @@ Function .onInit
|
|||||||
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
||||||
SectionSetFlags ${SecTSwedish} $0
|
SectionSetFlags ${SecTSwedish} $0
|
||||||
SectionSetSize ${SecTSwedish} 0
|
SectionSetSize ${SecTSwedish} 0
|
||||||
${endif}*/
|
${endif}
|
||||||
|
StrCpy $Search "uk_UA"
|
||||||
|
Call StrPoint
|
||||||
|
${if} $Pointer != "-1"
|
||||||
|
IntOp $0 ${SF_SELECTED} | ${SF_RO}
|
||||||
|
SectionSetFlags ${SecTUkrainian} $0
|
||||||
|
SectionSetSize ${SecTUkrainian} 0
|
||||||
|
${endif}
|
||||||
|
|
||||||
${IfNot} ${Silent}
|
${IfNot} ${Silent}
|
||||||
Banner::destroy
|
Banner::destroy
|
||||||
|
Loading…
Reference in New Issue
Block a user