From dc5dc850bff7c15e6d64ce760928d18d2ee701f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sun, 3 Jun 2012 23:55:21 +0200 Subject: [PATCH] installer: implement new method to select hunspell and thesaurus dictionaries and to download the selected ones (final part 2) --- .../packaging/installer/DictionaryMirrors.txt | 3 + .../installer/HunspellDictionaryNames.txt | 234 +++++++------- .../installer/ThesaurusDictionaryNames.txt | 88 +++--- .../packaging/installer/include/init.nsh | 290 +++++++++++++++++- .../packaging/installer/include/thesaurus.nsh | 39 +-- .../packaging/installer/include/variables.nsh | 1 - .../Win32/packaging/installer/lang/arabic.nsh | 7 +- .../packaging/installer/lang/catalan.nsh | 7 +- .../Win32/packaging/installer/lang/czech.nsh | 7 +- .../Win32/packaging/installer/lang/danish.nsh | 3 + .../Win32/packaging/installer/lang/dutch.nsh | 5 +- .../packaging/installer/lang/english.nsh | 7 +- .../Win32/packaging/installer/lang/french.nsh | 7 +- .../packaging/installer/lang/galician.nsh | 3 + .../Win32/packaging/installer/lang/german.nsh | 5 +- .../packaging/installer/lang/hungarian.nsh | 3 + .../packaging/installer/lang/indonesian.nsh | 7 +- .../packaging/installer/lang/italian.nsh | 5 +- .../packaging/installer/lang/japanese.nsh | 7 +- .../packaging/installer/lang/norwegian.nsh | 7 +- .../Win32/packaging/installer/lang/polish.nsh | 3 + .../packaging/installer/lang/portuguese.nsh | 3 + .../packaging/installer/lang/romanian.nsh | 3 + .../Win32/packaging/installer/lang/slovak.nsh | 5 +- .../packaging/installer/lang/spanish.nsh | 3 + .../packaging/installer/lang/swedish.nsh | 7 +- .../packaging/installer/lang/turkish.nsh | 3 + .../packaging/installer/lang/ukrainian.nsh | 7 +- 28 files changed, 565 insertions(+), 204 deletions(-) diff --git a/development/Win32/packaging/installer/DictionaryMirrors.txt b/development/Win32/packaging/installer/DictionaryMirrors.txt index 04da26e39c..cee664d1b2 100644 --- a/development/Win32/packaging/installer/DictionaryMirrors.txt +++ b/development/Win32/packaging/installer/DictionaryMirrors.txt @@ -1,5 +1,8 @@ +dfn +freefr garr heanet ignum +kent netcologne switch diff --git a/development/Win32/packaging/installer/HunspellDictionaryNames.txt b/development/Win32/packaging/installer/HunspellDictionaryNames.txt index 80b8ae6fca..46913fd7f6 100644 --- a/development/Win32/packaging/installer/HunspellDictionaryNames.txt +++ b/development/Win32/packaging/installer/HunspellDictionaryNames.txt @@ -1,114 +1,120 @@ -af_ZA.aff?r=&ts= -af_ZA.dic?r=&ts= -ar_DZ.aff?r=&ts= -ar_DZ.dic?r=&ts= -be_BY.aff?r=&ts= -be_BY.dic?r=&ts= -bg_BG.aff?r=&ts= -bg_BG.dic?r=&ts= -br_FR.aff?r=&ts= -br_FR.dic?r=&ts= -ca_ES.aff?r=&ts= -ca_ES.dic?r=&ts= -cs_CZ.aff?r=&ts= -cs_CZ.dic?r=&ts= -cy_GB.aff?r=&ts= -cy_GB.dic?r=&ts= -da_DK.aff?r=&ts= -da_DK.dic?r=&ts= -de_AT.aff?r=&ts= -de_AT.dic?r=&ts= -de_CH.aff?r=&ts= -de_CH.dic?r=&ts= -de_DE.aff?r=&ts= -de_DE.dic?r=&ts= -db_DE.aff?r=&ts= -db_DE.dic?r=&ts= -el_GR.aff?r=&ts= -el_GR.dic?r=&ts= -en_AU.aff?r=&ts= -en_AU.dic?r=&ts= -en_CA.aff?r=&ts= -en_CA.dic?r=&ts= -en_GB.aff?r=&ts= -en_GB.dic?r=&ts= -en_NZ.aff?r=&ts= -en_NZ.dic?r=&ts= -en_US.aff?r=&ts= -en_US.dic?r=&ts= -eo_EO.aff?r=&ts= -eo_EO.dic?r=&ts= -es_ES.aff?r=&ts= -es_ES.dic?r=&ts= -es_MX.aff?r=&ts= -es_MX.dic?r=&ts= -et_EE.aff?r=&ts= -et_EE.dic?r=&ts= -fa_IR.aff?r=&ts= -fa_IR.dic?r=&ts= -fr_FR.aff?r=&ts= -fr_FR.dic?r=&ts= -ga_IE.aff?r=&ts= -ga_IE.dic?r=&ts= -gd_GB.aff?r=&ts= -gd_GB.dic?r=&ts= -gl_ES.aff?r=&ts= -gl_ES.dic?r=&ts= -he_IL.aff?r=&ts= -he_IL.dic?r=&ts= -hr_HR.aff?r=&ts= -hr_HR.dic?r=&ts= -hu_HU.aff?r=&ts= -hu_HU.dic?r=&ts= -hy_AM.aff?r=&ts= -hy_AM.dic?r=&ts= -id_ID.aff?r=&ts= -id_ID.dic?r=&ts= -is_IS.aff?r=&ts= -is_IS.dic?r=&ts= -it_IT.aff?r=&ts= -it_IT.dic?r=&ts= -kk_KZ.aff?r=&ts= -kk_KZ.dic?r=&ts= -ko_KR.aff?r=&ts= -ko_KR.dic?r=&ts= -la_LA.aff?r=&ts= -la_LA.dic?r=&ts= -lt_LT.aff?r=&ts= -lt_LT.dic?r=&ts= -lv_LV.aff?r=&ts= -lv_LV.dic?r=&ts= -ms_MY.aff?r=&ts= -ms_MY.dic?r=&ts= -nb_NO.aff?r=&ts= -nb_NO.dic?r=&ts= -nl_NL.aff?r=&ts= -nl_NL.dic?r=&ts= -nn_NO.aff?r=&ts= -nn_NO.dic?r=&ts= -pl_PL.aff?r=&ts= -pl_PL.dic?r=&ts= -pt_BR.aff?r=&ts= -pt_BR.dic?r=&ts= -pt_PT.aff?r=&ts= -pt_PT.dic?r=&ts= -ro_RO.aff?r=&ts= -ro_RO.dic?r=&ts= -ru_RU.aff?r=&ts= -ru_RU.dic?r=&ts= -sk_SK.aff?r=&ts= -sk_SK.dic?r=&ts= -sl_SI.aff?r=&ts= -sl_SI.dic?r=&ts= -sq_AL.aff?r=&ts= -sq_AL.dic?r=&ts= -sr_RS.aff?r=&ts= -sr_RS.dic?r=&ts= -sv_SE.aff?r=&ts= -sv_SE.dic?r=&ts= -th_TH.aff?r=&ts= -th_TH.dic?r=&ts= -uk_UA.aff?r=&ts= -uk_UA.dic?r=&ts= -vi_VN.aff?r=&ts= -vi_VN.dic?r=&ts= +af_ZA.aff +af_ZA.dic +ar_DZ.aff +ar_DZ.dic +be_BY.aff +be_BY.dic +bg_BG.aff +bg_BG.dic +br_FR.aff +br_FR.dic +ca_ES.aff +ca_ES.dic +cs_CZ.aff +cs_CZ.dic +cy_GB.aff +cy_GB.dic +da_DK.aff +da_DK.dic +db_DE.aff +db_DE.dic +de_AT.aff +de_AT.dic +de_CH.aff +de_CH.dic +de_DE.aff +de_DE.dic +el_GR.aff +el_GR.dic +en_AU.aff +en_AU.dic +en_CA.aff +en_CA.dic +en_GB.aff +en_GB.dic +en_NZ.aff +en_NZ.dic +en_US.aff +en_US.dic +eo_EO.aff +eo_EO.dic +es_ES.aff +es_ES.dic +es_MX.aff +es_MX.dic +et_EE.aff +et_EE.dic +eu_ES.aff +eu_ES.dic +fa_IR.aff +fa_IR.dic +fr_FR.aff +fr_FR.dic +ga_IE.aff +ga_IE.dic +gd_GB.aff +gd_GB.dic +gl_ES.aff +gl_ES.dic +hb_DE.aff +hb_DE.dic +he_IL.aff +he_IL.dic +hr_HR.aff +hr_HR.dic +hu_HU.aff +hu_HU.dic +hy_AM.aff +hy_AM.dic +ia_IA.aff +ia_IA.dic +id_ID.aff +id_ID.dic +is_IS.aff +is_IS.dic +it_IT.aff +it_IT.dic +kk_KZ.aff +kk_KZ.dic +ko_KR.aff +ko_KR.dic +la_LA.aff +la_LA.dic +lt_LT.aff +lt_LT.dic +lv_LV.aff +lv_LV.dic +ms_MY.aff +ms_MY.dic +nb_NO.aff +nb_NO.dic +nl_NL.aff +nl_NL.dic +nn_NO.aff +nn_NO.dic +pl_PL.aff +pl_PL.dic +pt_BR.aff +pt_BR.dic +pt_PT.aff +pt_PT.dic +ro_RO.aff +ro_RO.dic +ru_RU.aff +ru_RU.dic +sk_SK.aff +sk_SK.dic +sl_SI.aff +sl_SI.dic +sq_AL.aff +sq_AL.dic +sr_RS.aff +sr_RS.dic +sv_SE.aff +sv_SE.dic +th_TH.aff +th_TH.dic +uk_UA.aff +uk_UA.dic +vi_VN.aff +vi_VN.dic diff --git a/development/Win32/packaging/installer/ThesaurusDictionaryNames.txt b/development/Win32/packaging/installer/ThesaurusDictionaryNames.txt index 8584ba6e1d..52b154b06b 100644 --- a/development/Win32/packaging/installer/ThesaurusDictionaryNames.txt +++ b/development/Win32/packaging/installer/ThesaurusDictionaryNames.txt @@ -1,44 +1,44 @@ -th_bg_BG_v2.dat?r=&ts= -th_bg_BG_v2.idx?r=&ts= -th_ca_ES_v2.dat?r=&ts=1338694206 -th_ca_ES_v2.idx?r=&ts=1338694208 -th_cs_CZ_v2.dat?r=&ts= -th_cs_CZ_v2.idx?r=&ts= -th_da_DK_v2.dat?r=&ts= -th_da_DK_v2.idx?r=&ts= -th_de_CH_v2.dat?r=&ts=1338690386 -th_de_CH_v2.idx?r=&ts=1338690545 -th_de_DE_v2.dat?r=&ts=1338686429 -th_de_DE_v2.idx?r=&ts=1338690578 -th_el_GR_v2.dat?r=&ts= -th_el_GR_v2.idx?r=&ts= -th_en_GB_v2.dat?r=&ts= -th_en_GB_v2.idx?r=&ts= -th_en_US_v2.dat?r=&ts= -th_en_US_v2.idx?r=&ts= -th_es_ES_v2.dat?r=&ts= -th_es_ES_v2.idx?r=&ts= -th_fr_FR_v2.dat?r=&ts= -th_fr_FR_v2.idx?r=&ts= -th_ga_IE_v2.dat?r=&ts= -th_ga_IE_v2.idx?r=&ts= -th_hu_HU_v2.dat?r=&ts=1338694214 -th_hu_HU_v2.idx?r=&ts=1338694321 -th_it_IT_v2.dat?r=&ts= -th_it_IT_v2.idx?r=&ts= -th_nb_NO_v2.dat?r=&ts= -th_nb_NO_v2.idx?r=&ts= -th_pl_PL_v2.dat?r=&ts= -th_pl_PL_v2.idx?r=&ts= -th_pt_PT_v2.dat?r=&ts= -th_pt_PT_v2.idx?r=&ts= -th_ro_RO_v2.dat?r=&ts= -th_ro_RO_v2.idx?r=&ts= -th_ru_RU_v2.dat?r=&ts= -th_ru_RU_v2.idx?r=&ts= -th_sk_SK_v2.dat?r=&ts=1338686412 -th_sk_SK_v2.idx?r=&ts=1338686211 -th_sl_SI_v2.dat?r=&ts=1338686213 -th_sl_SI_v2.idx?r=&ts=1338686215 -th_sv_SE_v2.dat?r=&ts=1338686216 -th_sv_SE_v2.idx?r=&ts=1338686414 +th_bg_BG_v2.dat +th_bg_BG_v2.idx +th_ca_ES_v2.dat +th_ca_ES_v2.idx +th_cs_CZ_v2.dat +th_cs_CZ_v2.idx +th_da_DK_v2.dat +th_da_DK_v2.idx +th_de_CH_v2.dat +th_de_CH_v2.idx +th_de_DE_v2.dat +th_de_DE_v2.idx +th_el_GR_v2.dat +th_el_GR_v2.idx +th_en_GB_v2.dat +th_en_GB_v2.idx +th_en_US_v2.dat +th_en_US_v2.idx +th_es_ES_v2.dat +th_es_ES_v2.idx +th_fr_FR_v2.dat +th_fr_FR_v2.idx +th_ga_IE_v2.dat +th_ga_IE_v2.idx +th_hu_HU_v2.dat +th_hu_HU_v2.idx +th_it_IT_v2.dat +th_it_IT_v2.idx +th_nb_NO_v2.dat +th_nb_NO_v2.idx +th_pl_PL_v2.dat +th_pl_PL_v2.idx +th_pt_PT_v2.dat +th_pt_PT_v2.idx +th_ro_RO_v2.dat +th_ro_RO_v2.idx +th_ru_RU_v2.dat +th_ru_RU_v2.idx +th_sk_SK_v2.dat +th_sk_SK_v2.idx +th_sl_SI_v2.dat +th_sl_SI_v2.idx +th_sv_SE_v2.dat +th_sv_SE_v2.idx diff --git a/development/Win32/packaging/installer/include/init.nsh b/development/Win32/packaging/installer/include/init.nsh index f430d972aa..4655996699 100644 --- a/development/Win32/packaging/installer/include/init.nsh +++ b/development/Win32/packaging/installer/include/init.nsh @@ -212,6 +212,66 @@ SectionEnd SectionGroup "Dictionaries" SecDictionaries +Section /o "Afrikaans" SecDAfrikaans + StrCpy $DictCodes "af_ZA$DictCodes" + AddSize 1440 +SectionEnd + +Section /o "Arabic" SecDArabic + StrCpy $DictCodes "ar_DZ$DictCodes" + AddSize 2500 +SectionEnd + +Section /o "Armenian" SecDArmenian + StrCpy $DictCodes "hy_AM$DictCodes" + AddSize 2000 +SectionEnd + +Section /o "Bahasa Indonesia" SecDIndonesian + StrCpy $DictCodes "id_ID$DictCodes" + AddSize 217 +SectionEnd + +Section /o "Bahasa Melayu" SecDMalayan + StrCpy $DictCodes "ms_MY$DictCodes" + AddSize 227 +SectionEnd + +Section /o "Belarusian" SecDBelarusian + StrCpy $DictCodes "be_BY$DictCodes" + AddSize 1040 +SectionEnd + +Section /o "Brezhoneg" SecDBreton + StrCpy $DictCodes "br_FR$DictCodes" + AddSize 11000 +SectionEnd + +Section /o "Bulgarian" SecDBulgarian + StrCpy $DictCodes "bg_BG$DictCodes" + AddSize 985 +SectionEnd + +Section /o "Catal" SecDCatalanian + StrCpy $DictCodes "ca_ES$DictCodes" + AddSize 1210 +SectionEnd + +Section /o "Cetina" SecDCzech + StrCpy $DictCodes "cs_CZ$DictCodes" + AddSize 2190 +SectionEnd + +Section /o "Cymraeg" SecDWelsh + StrCpy $DictCodes "cy_GB$DictCodes" + AddSize 1540 +SectionEnd + +Section /o "Dansk" SecDDanish + StrCpy $DictCodes "da_DK$DictCodes" + AddSize 2470 +SectionEnd + Section /o "German (A)" SecDGermanAT StrCpy $DictCodes "de_AT$DictCodes" AddSize 1000 @@ -223,20 +283,244 @@ Section /o "German (CH)" SecDGermanCH SectionEnd Section "German (D)" SecDGermanD - StrCpy $DictCodes "de_DE$DictCodes" + # already installed by default + #StrCpy $DictCodes "de_DE$DictCodes" AddSize 2650 SectionEnd -Section "Magyar" SecDHungarian +Section /o "Greek" SecDGreek + StrCpy $DictCodes "el_GR$DictCodes" + AddSize 6550 +SectionEnd + +Section /o "Eesti" SecDEstonian + StrCpy $DictCodes "et_EE$DictCodes" + AddSize 4400 +SectionEnd + +# enable this for LyX 2.1! +#Section /o "English (AU)" SecDEnglishAU +# StrCpy $DictCodes "en_AU$DictCodes" +# AddSize 587 +#SectionEnd + +Section /o "English (CA)" SecDEnglishCA + StrCpy $DictCodes "en_CA$DictCodes" + AddSize 690 +SectionEnd + +Section "English (GB)" SecDEnglishGB + # already installed by default + #StrCpy $DictCodes "en_GB$DictCodes" + AddSize 757 +SectionEnd + +# enable this for LyX 2.1! +#Section /o "English (NZ)" SecDEnglishNZ +# StrCpy $DictCodes "en_NZ$DictCodes" +# AddSize 551 +#SectionEnd + +Section "English (US)" SecDEnglishUS + # already installed by default + #StrCpy $DictCodes "en_US$DictCodes" + AddSize 688 +SectionEnd + +Section "Espaol (ES)" SecDSpanishES + # already installed by default + #StrCpy $DictCodes "es_ES$DictCodes" + AddSize 974 +SectionEnd + +Section "Espaol (MX)" SecDSpanishMX + # already installed by default + #StrCpy $DictCodes "es_MX$DictCodes" + AddSize 924 +SectionEnd + +Section /o "Esperanto" SecDEsperanto + StrCpy $DictCodes "eo_EO$DictCodes" + AddSize 389 +SectionEnd + +Section /o "Euskara" SecDBasque + StrCpy $DictCodes "eu_ES$DictCodes" + AddSize 4850 +SectionEnd + +Section /o "Farsi" SecDFarsi + StrCpy $DictCodes "fa_IR$DictCodes" + AddSize 6710 +SectionEnd + +Section "Franais" SecDFrench + # already installed by default + #StrCpy $DictCodes "fr_FR$DictCodes" + AddSize 1200 +SectionEnd + +Section /o "Gaeilge" SecDGaelic + StrCpy $DictCodes "ga_IR$DictCodes" + AddSize 1090 +SectionEnd + +Section /o "Gidhlig" SecDScottish + StrCpy $DictCodes "gd_GB$DictCodes" + AddSize 2460 +SectionEnd + +Section /o "Galego" SecDGalician + StrCpy $DictCodes "gl_ES$DictCodes" + AddSize 916 +SectionEnd + +Section /o "Hebrew" SecDHebrew + StrCpy $DictCodes "he_IL$DictCodes" + AddSize 3120 +SectionEnd + +Section /o "Hrvatski" SecDCroatian + StrCpy $DictCodes "hr_HR$DictCodes" + AddSize 2240 +SectionEnd + +Section /o "Magyar" SecDHungarian StrCpy $DictCodes "hu_HU$DictCodes" AddSize 3380 SectionEnd -Section "Serbcina" SecDSorbian +Section /o "Interlingua" SecDInterlingua + StrCpy $DictCodes "ia_IA$DictCodes" + AddSize 649 +SectionEnd + +Section /o "slenska" SecDIcelandic + StrCpy $DictCodes "is_IS$DictCodes" + AddSize 2320 +SectionEnd + +Section /o "Italiano" SecDItalian + StrCpy $DictCodes "it_IT$DictCodes" + AddSize 1300 +SectionEnd + +Section /o "Kazakh" SecDKazakh + StrCpy $DictCodes "kk_KZ$DictCodes" + AddSize 2120 +SectionEnd + +Section /o "Korean" SecDKorean + StrCpy $DictCodes "ko_KR$DictCodes" + AddSize 15200 +SectionEnd + +Section /o "Latina" SecDLatin + StrCpy $DictCodes "la_LA$DictCodes" + AddSize 1250 +SectionEnd + +Section /o "Lietuviu" SecDLithuanian + StrCpy $DictCodes "lt_LT$DictCodes" + AddSize 1320 +SectionEnd + +Section /o "Latvieu" SecDLatvian + StrCpy $DictCodes "lv_LV$DictCodes" + AddSize 2140 +SectionEnd + +Section /o "Nederlands" SecDDutch + StrCpy $DictCodes "nl_NL$DictCodes" + AddSize 1820 +SectionEnd + +Section /o "Norsk (Bokml)" SecDNorwegianNB + StrCpy $DictCodes "nb_NO$DictCodes" + AddSize 4890 +SectionEnd + +Section /o "Norsk (Nynorsk)" SecDNorwegianNN + StrCpy $DictCodes "nn_NO$DictCodes" + AddSize 2890 +SectionEnd + +Section /o "Polski" SecDPolish + StrCpy $DictCodes "pl_PL$DictCodes" + AddSize 4540 +SectionEnd + +Section /o "Portugus (BR)" SecDPortugueseBR + StrCpy $DictCodes "pt_BR$DictCodes" + AddSize 5280 +SectionEnd + +Section /o "Portugus (PT)" SecDPortuguesePT + StrCpy $DictCodes "pt_PT$DictCodes" + AddSize 1460 +SectionEnd + +Section /o "Romna" SecDRomanian + StrCpy $DictCodes "ro_RO$DictCodes" + AddSize 1930 +SectionEnd + +Section "Russian" SecDRussian + # already installed by default + #StrCpy $DictCodes "ru_RU$DictCodes" + AddSize 1920 +SectionEnd + +Section /o "Serbcina (Dolno)" SecDSorbianD StrCpy $DictCodes "db_DE$DictCodes" AddSize 904 SectionEnd +Section /o "Serbcina (Horno)" SecDSorbianH + StrCpy $DictCodes "hb_DE$DictCodes" + AddSize 740 +SectionEnd + +Section /o "Shqipe" SecDAlbanian + StrCpy $DictCodes "sq_AL$DictCodes" + AddSize 2400 +SectionEnd + +Section /o "Slovencina" SecDSlowenian + StrCpy $DictCodes "sl_SI$DictCodes" + AddSize 2840 +SectionEnd + +Section /o "Slovensk" SecDSlowakian + StrCpy $DictCodes "sk_SK$ThesCodes" + AddSize 4090 +SectionEnd + +Section /o "Srpski" SecDSerbian + StrCpy $DictCodes "sr_RS$DictCodes" + AddSize 3460 +SectionEnd + +Section /o "Svenska" SecDSwedish + StrCpy $DictCodes "sv_SE$DictCodes" + AddSize 1030 +SectionEnd + +Section /o "Thai" SecDThai + StrCpy $DictCodes "th_TH$DictCodes" + AddSize 351 +SectionEnd + +Section /o "Ukrainian" SecDUkrainian + StrCpy $DictCodes "uk_UA$DictCodes" + AddSize 2620 +SectionEnd + +Section /o "Vietnamese" SecDVietnamese + StrCpy $DictCodes "vi_VN$DictCodes" + AddSize 39600 +SectionEnd + SectionGroupEnd SectionGroup "Thesaurus" SecThesaurus diff --git a/development/Win32/packaging/installer/include/thesaurus.nsh b/development/Win32/packaging/installer/include/thesaurus.nsh index 43cce3766d..fcfb007d34 100644 --- a/development/Win32/packaging/installer/include/thesaurus.nsh +++ b/development/Win32/packaging/installer/include/thesaurus.nsh @@ -8,32 +8,29 @@ Function DownloadHunspellDictionary FileOpen $R5 "$INSTDIR\Resources\HunspellDictionaryNames.txt" r ${For} $5 1 114 FileRead $R5 $String # $String is now the dictionary name - StrCpy $R3 $String 5 3 # $R3 is now the dictionary language code - MessageBox MB_OK|MB_ICONEXCLAMATION "$R3" + StrCpy $R3 $String 5 # $R3 is now the dictionary language code ${if} $DictCode == $R3 StrCpy $String $String -2 # delete the linebreak characters at the end - StrCpy $FileName $String 15 # extract the real file name # Download hunspell dictionaries, # if first download repository is not available try the other ones listed in "DictionaryMirrors.txt" FileOpen $R4 "$INSTDIR\Resources\DictionaryMirrors.txt" r - - ${For} $4 1 5 + + ${For} $4 1 8 FileRead $R4 $Search # $Search is now the mirror StrCpy $Search $Search -2 # delete the linebreak characters at the end Push $R0 - MessageBox MB_OK|MB_ICONEXCLAMATION "http://downloads.sourceforge.net/project/lyxwininstaller/thesaurus/$String&use_mirror=$Search" - InetLoad::load /TIMEOUT=5000 "http://downloads.sourceforge.net/project/lyxwininstaller/thesaurus/$String&use_mirror=$Search" "$INSTDIR\Resources\dicts\$FileName" /END + InetLoad::load /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/hunspell/$String" "$INSTDIR\Resources\dicts\$String" /END Pop $R0 ${if} $R0 == "OK" ${ExitFor} ${endif} ${Next} - + FileClose $R4 # if download failed ${if} $R0 != "OK" - MessageBox MB_OK|MB_ICONEXCLAMATION "(AspellDownloadFailed) $R0" + MessageBox MB_OK|MB_ICONEXCLAMATION "$(HunspellFailed)" Goto abortinstall ${endif} ${endif} # end if $DictCode == $R3 @@ -42,7 +39,7 @@ Function DownloadHunspellDictionary FileClose $R5 abortinstall: - Delete "$INSTDIR\$FileName" + Delete "$INSTDIR\$String" FunctionEnd @@ -60,17 +57,15 @@ Function DownloadThesaurusDictionary ${if} $ThesCode == $R3 StrCpy $String $String -2 # delete the linebreak characters at the end - StrCpy $FileName $String 15 # extract the real file name # Download thesaurus dictionaries, # if first download repository is not available try the other ones listed in "DictionaryMirrors.txt" FileOpen $R4 "$INSTDIR\Resources\DictionaryMirrors.txt" r - ${For} $4 1 5 + ${For} $4 1 8 FileRead $R4 $Search # $Search is now the mirror StrCpy $Search $Search -2 # delete the linebreak characters at the end Push $R0 - MessageBox MB_OK|MB_ICONEXCLAMATION "http://downloads.sourceforge.net/project/lyxwininstaller/thesaurus/$String&use_mirror=$Search" - InetLoad::load /TIMEOUT=5000 "http://downloads.sourceforge.net/project/lyxwininstaller/thesaurus/$String&use_mirror=$Search" "$INSTDIR\Resources\thes\$FileName" /END + InetLoad::load /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/thesaurus/$String" "$INSTDIR\Resources\thes\$String" /END Pop $R0 ${if} $R0 == "OK" ${ExitFor} @@ -80,7 +75,7 @@ Function DownloadThesaurusDictionary FileClose $R4 # if download failed ${if} $R0 != "OK" - MessageBox MB_OK|MB_ICONEXCLAMATION "(AspellDownloadFailed) $R0" + MessageBox MB_OK|MB_ICONEXCLAMATION "$(ThesaurusFailed)" Goto abortinstall ${endif} ${endif} # end if $ThesCode == $R3 @@ -89,7 +84,7 @@ Function DownloadThesaurusDictionary FileClose $R5 abortinstall: - Delete "$INSTDIR\$FileName" + Delete "$INSTDIR\$String" FunctionEnd @@ -104,10 +99,19 @@ Function InstallHunspellDictionary ${Do} StrCpy $DictCode $DictCodes 5 StrCpy $DictCodes $DictCodes "" 5 - MessageBox MB_OK|MB_ICONEXCLAMATION "$DictCode" Call DownloadHunspellDictionary ${LoopUntil} $DictCodes == "" + # some dictionaries need to be renamed + ${if} ${FileExists} "$INSTDIR\Resources\dicts\db_DE.aff" + Rename "$INSTDIR\Resources\dicts\db_DE.aff" "$INSTDIR\Resources\dicts\dsb_DE.aff" + Rename "$INSTDIR\Resources\dicts\db_DE.dic" "$INSTDIR\Resources\dicts\dsb_DE.dic" + ${endif} + ${if} ${FileExists} "$INSTDIR\Resources\dicts\hb_DE.aff" + Rename "$INSTDIR\Resources\dicts\hb_DE.aff" "$INSTDIR\Resources\dicts\hsb_DE.aff" + Rename "$INSTDIR\Resources\dicts\hb_DE.dic" "$INSTDIR\Resources\dicts\hsb_DE.dic" + ${endif} + FunctionEnd #-------------------------------- @@ -121,7 +125,6 @@ Function InstallThesaurusDictionary ${Do} StrCpy $ThesCode $ThesCodes 5 StrCpy $ThesCodes $ThesCodes "" 5 - MessageBox MB_OK|MB_ICONEXCLAMATION "$ThesCode" Call DownloadThesaurusDictionary ${LoopUntil} $ThesCodes == "" diff --git a/development/Win32/packaging/installer/include/variables.nsh b/development/Win32/packaging/installer/include/variables.nsh index 787f5da138..8e926cac18 100644 --- a/development/Win32/packaging/installer/include/variables.nsh +++ b/development/Win32/packaging/installer/include/variables.nsh @@ -24,7 +24,6 @@ Var DictCode Var DictCodes Var DelPythonFiles Var EditorPath -Var FileName Var GhostscriptPath Var GnumericPath Var ImageEditorPath diff --git a/development/Win32/packaging/installer/lang/arabic.nsh b/development/Win32/packaging/installer/lang/arabic.nsh index 545b848112..5322008059 100644 --- a/development/Win32/packaging/installer/lang/arabic.nsh +++ b/development/Win32/packaging/installer/lang/arabic.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo ' ${LangFileString} LatexError1 ' -!$\r$\n\ MiKTeX!$\r$\n\ .' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo ' JabRef.$\r$\n\ JabRef.' ${LangFileString} JabRefError ' JabRef!$\r$\n\ .$\r$\n\ JabRef .' - + ${LangFileString} LatexConfigInfo " ." ${LangFileString} MiKTeXPathInfo " miktex $\r$\n\ diff --git a/development/Win32/packaging/installer/lang/catalan.nsh b/development/Win32/packaging/installer/lang/catalan.nsh index 21fee8e5da..610f903848 100644 --- a/development/Win32/packaging/installer/lang/catalan.nsh +++ b/development/Win32/packaging/installer/lang/catalan.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo 'Ara s$\'executar ${LangFileString} LatexError1 'No s$\'ha trobat cap distribuci LaTeX!$\r$\n\ No podeu usar el LyX sense cap distribuci LaTeX, com ara $\"MiKTeX$\"!$\r$\n\ Es cancellar la installaci.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Ara s$\'executar l$\'installador del programa $\"JabRef$\".$\r$\n\ Podeu usar totes les opcions predeterminades de l$\'installador del JabRef.' ${LangFileString} JabRefError 'El programa $\"JabRef$\" no s$\'ha installat correctament!$\r$\n\ L$\'installador continuar igualment.$\r$\n\ Intenteu installar el JabRef altre cop ms tard.' - + ${LangFileString} LatexConfigInfo "La configuraci segent del LyX pot trigar una mica." ${LangFileString} MiKTeXPathInfo "Per a que cada usuari pugui personalitzar el MiKTeX segons les seves necessitats\r$\n\ diff --git a/development/Win32/packaging/installer/lang/czech.nsh b/development/Win32/packaging/installer/lang/czech.nsh index 8d7d5ecbab..020ab62203 100644 --- a/development/Win32/packaging/installer/lang/czech.nsh +++ b/development/Win32/packaging/installer/lang/czech.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo 'Nyn ${LangFileString} LatexError1 'dn LaTeXov-distribuce nebyla nalezena!$\r$\n\ Nemete pouvat LyX bez distribuce LaTeXu jako je nap. $\"MiKTeX$\"!$\r$\n\ Instalace bude proto peruena.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Nyn bude sputn instaltor programu $\"JabRef$\".$\r$\n\ Mete pout vechny pedvolby instaltoru JabRef.' ${LangFileString} JabRefError 'Program $\"JabRef$\" nebyl spn nainstalovn.$\r$\n\ Instaltor bude navzdory tomu pokraovat.$\r$\n\ Pokuste se nainstalovat JabRef pozdji.' - + ${LangFileString} LatexConfigInfo "Nsledujc konfigurovn LyXu chvli potrv." ${LangFileString} MiKTeXPathInfo "Aby kad uivatel mohl pozdji pizpsobit MiKTeX pro sv poteby$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/danish.nsh b/development/Win32/packaging/installer/lang/danish.nsh index 5cf88db34e..692d08caec 100644 --- a/development/Win32/packaging/installer/lang/danish.nsh +++ b/development/Win32/packaging/installer/lang/danish.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 'Ingen LaTeX-distribution fundet!$\r$\n\ LyX kan ikke bruges uden en LaTeX-distribution sasom $\"MiKTeX$\"!$\r$\n\ Installationen afbrydes.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Installationen af programmet $\"JabRef$\" startes.$\r$\n\ Du kan roligt bruge alle $\"default$\" valgmuligheder ved JabRef-installationen.' ${LangFileString} JabRefError 'Programmet $\"JabRef$\" kunne ikke installeres!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/dutch.nsh b/development/Win32/packaging/installer/lang/dutch.nsh index 09d5d3b8c3..045afbe2d7 100644 --- a/development/Win32/packaging/installer/lang/dutch.nsh +++ b/development/Win32/packaging/installer/lang/dutch.nsh @@ -49,12 +49,15 @@ ${LangFileString} LatexError1 'Er is geen LaTeX software gevonden!$\r$\n\ LyX kan niet worden gebruikt zonder LaTeX software zoals $\"MiKTeX$\"!$\r$\n\ De installatie wordt daarom afgebroken.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Het installatie programma van $\"JabRef$\" wordt nu gestart.$\r$\n\ U kunt de standaard opties gebruiken.' ${LangFileString} JabRefError 'Het programma $\"JabRef$\" kon niet worden geinstalleerd!$\r$\n\ De LyX installatie gaat desondanks verder.$\r$\n\ Probeer JabRef later te installeren.' - + ${LangFileString} LatexConfigInfo "De volgende configuratie van LyX zal enige tijd duren." ${LangFileString} MiKTeXPathInfo "Opdat elke gebruiker zijn MiKTeX configuratie kan aanpassen$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/english.nsh b/development/Win32/packaging/installer/lang/english.nsh index 948641b75a..175e75362d 100644 --- a/development/Win32/packaging/installer/lang/english.nsh +++ b/development/Win32/packaging/installer/lang/english.nsh @@ -129,13 +129,16 @@ ${LangFileString} LatexInfo 'Now the installer of the LaTeX-distribution $\"MiKT ${LangFileString} LatexError1 'No LaTeX-distribution could be found!$\r$\n\ LyX cannot be used without a LaTeX-distribution like $\"MiKTeX$\"!$\r$\n\ The installation will therefore be aborted.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Now the installer of the program $\"JabRef$\" will be launched.$\r$\n\ You can use all default options of the JabRef-installer.' ${LangFileString} JabRefError 'The program $\"JabRef$\" could not successfully be installed!$\r$\n\ The installer will continue anyway.$\r$\n\ Try to install JabRef again later.' - + ${LangFileString} LatexConfigInfo "The following configuration of LyX will take a while." ${LangFileString} MiKTeXPathInfo "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/french.nsh b/development/Win32/packaging/installer/lang/french.nsh index a1350231d3..57abdba9eb 100644 --- a/development/Win32/packaging/installer/lang/french.nsh +++ b/development/Win32/packaging/installer/lang/french.nsh @@ -137,13 +137,16 @@ ${LangFileString} LatexInfo 'Lancement de l$\'installation de la distribution La ${LangFileString} LatexError1 'Distribution LaTeX introuvable !$\r$\n\ LyX ne peut tre utilis sans distribution LaTeX, comme par exemple $\"MiKTeX$\" !$\r$\n\ L$\'installation de LyX va donc tre abandonne.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Lancement de l$\'installation de l$\'application $\"JabRef$\".$\r$\n\ Vous pouvez utiliser les options implicites du programme d$\'installation JabRef.' ${LangFileString} JabRefError 'L$\'application $\"JabRef$\" n$\'a pas pu tre installe correctement !$\r$\n\ L$\'installation de LyX va continuer.$\r$\n\ Essayer d$\'installer JabRef de nouveau plus tard.' - + ${LangFileString} LatexConfigInfo "La configuration de LyX qui va suivre prendra un moment." ${LangFileString} MiKTeXPathInfo "Pour que chaque utilisateur soit capable de personnaliser MiKTeX pour ses besoins$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/galician.nsh b/development/Win32/packaging/installer/lang/galician.nsh index bffe7cd2be..71b2989df2 100644 --- a/development/Win32/packaging/installer/lang/galician.nsh +++ b/development/Win32/packaging/installer/lang/galician.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 'Non se achou nengunha distribuci Non se pode usar o LyX sen unha distribucin de LaTeX como a $\"MiKTeX$\"!$\r$\n\ Por iso a instalacin vai ser abortada.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Agora lanzar-se o instalador do programa $\"JabRef$\".$\r$\n\ Pode usar todas as opcins por defeito no instalador do JabRef.' ${LangFileString} JabRefError 'Non se deu instalado o programa $\"JabRef$\"!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/german.nsh b/development/Win32/packaging/installer/lang/german.nsh index 4630574fa5..ead5e9a7ed 100644 --- a/development/Win32/packaging/installer/lang/german.nsh +++ b/development/Win32/packaging/installer/lang/german.nsh @@ -133,7 +133,10 @@ ${LangFileString} LatexInfo 'Als N ${LangFileString} LatexError1 'Es konnte keine LaTeX-Distribution gefunden werden!$\r$\n\ LyX kann ohne eine LaTeX-Distribution wie z.B. $\"MiKTeX$\" nicht benutzt werden!$\r$\n\ Die Installation wird daher abgebrochen.' - + +${LangFileString} HunspellFailed 'Herunterladen des Wrterbuchs fr Sprache $\"$R3$\" fehlgeschlagen.' +${LangFileString} ThesaurusFailed 'Herunterladen des Thesaurus fr Sprache $\"$R3$\" fehlgeschlagen.' + ${LangFileString} JabRefInfo 'Als Nchstes wird der Installer des Programms $\"JabRef$\" gestartet.$\r$\n\ Sie knnen alle voreingestellten Optionen des JabRef-Installers verwenden.' ${LangFileString} JabRefError 'Das Programm $\"JabRef$\" konnte nicht erfolgreich installiert werden!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/hungarian.nsh b/development/Win32/packaging/installer/lang/hungarian.nsh index c3feefcd78..991ccf9380 100644 --- a/development/Win32/packaging/installer/lang/hungarian.nsh +++ b/development/Win32/packaging/installer/lang/hungarian.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 'Nem tal A LyX nem hasznlhat egy LaTeX-disztibci nlkl,(mint pldul a $\"MiKTeX$\")!$\r$\n\ Ezrt a telepts nem folytathat!' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'A $\"JabRef$\" teleptjnek elindtsa kvetkezik.$\r$\n\ Hasznlhatja az alaprtelmezett opcikat.' ${LangFileString} JabRefError 'Nem tudom telepteni a $\"JabRef$\" programot!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/indonesian.nsh b/development/Win32/packaging/installer/lang/indonesian.nsh index 5a7f16751d..b26ab1649a 100644 --- a/development/Win32/packaging/installer/lang/indonesian.nsh +++ b/development/Win32/packaging/installer/lang/indonesian.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo 'Sekarang instalasi program distribusi LaTeX $\"MiKT ${LangFileString} LatexError1 'Distribusi LaTeX tidak ditemukan!$\r$\n\ LyX tidak bisa digunakan tanpa menggunakan salah satu distribusi LaTeX seperti $\"MiKTeX$\"!$\r$\n\ Oleh karena itu proses instalasi dibatalkan.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Sekarang instalasi program $\"JabRef$\" akan dijalankan.$\r$\n\ Anda boleh memilih semua pilihan default yang ada di program instalasi JabRef.' ${LangFileString} JabRefError 'Program $\"JabRef$\" tidak berhasil diinstal secara keseluruhan!$\r$\n\ Namun proses instalasi dapat diteruskan.$\r$\n\ Anda dapat mengulang instalasi JabRef nanti.' - + ${LangFileString} LatexConfigInfo "Proses konfigurasi LyX selanjutnya akan memerlukan waktu beberapa saat." ${LangFileString} MiKTeXPathInfo "Agar memungkinkan semua pengguna dapat mengatur MiKTeX sesuai keinginannya$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/italian.nsh b/development/Win32/packaging/installer/lang/italian.nsh index 4b78e17ff0..9af11e7295 100644 --- a/development/Win32/packaging/installer/lang/italian.nsh +++ b/development/Win32/packaging/installer/lang/italian.nsh @@ -131,7 +131,10 @@ ${LangFileString} LatexInfo 'Verr ${LangFileString} LatexError1 'Il programma non ha rilevato la presenza di alcuna distribuzione valida di LaTeX!$\r$\n\ LyX non pu funzionare senza una distribuzione LaTeX (ad es. $\"MiKTeX$\")!$\r$\n\ Il processo di installazione verr quindi terminato.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Verr adesso lanciato il programma di installazione di $\"JabRef$\".$\r$\n\ Puoi usare tutte le opzioni predefinite per il programma di installazione di JabRef.' ${LangFileString} JabRefError 'Il programma $\"JabRef$\" non stato installato correttamente!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/japanese.nsh b/development/Win32/packaging/installer/lang/japanese.nsh index 1ab1c5259b..ed140cd4f9 100644 --- a/development/Win32/packaging/installer/lang/japanese.nsh +++ b/development/Win32/packaging/installer/lang/japanese.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo ' ${LangFileString} LatexError1 'LaTeXfBXgr[V𔭌邱Ƃł܂łI$\r$\n\ LyX́A$\"MiKTeX$\"̂悤LaTeXfBXgr[VȂł͎gƂł܂I$\r$\n\ ăCXg[͒~܂B' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'ꂩvO$\"JabRef$\"̃CXg[[N܂B$\r$\n\ JabRefCXg[[̃ftHg̃IvVׂĎ󂯓Ă܂܂B' ${LangFileString} JabRefError 'vO$\"JabRef$\"͐CXg[܂łI$\r$\n\ CXg[[́AƂ肠̂܂܃CXg[𑱂܂B$\r$\n\ JabRef̃CXg[ēx݂ĂB' - + ${LangFileString} LatexConfigInfo "ȉLyX̐ݒɂ͏XԂ܂B" ${LangFileString} MiKTeXPathInfo "ׂẴ[U[ŕKvɉMiKTeX$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/norwegian.nsh b/development/Win32/packaging/installer/lang/norwegian.nsh index 155edd0de7..1a507a51a4 100644 --- a/development/Win32/packaging/installer/lang/norwegian.nsh +++ b/development/Win32/packaging/installer/lang/norwegian.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo 'N ${LangFileString} LatexError1 'Fant ikke noen LaTeX-distribusjon!$\r$\n\ LyX kan ikke brukes uten en LaTeX-distribusjion som $\"MiKTeX$\"!$\r$\n\ Derfor avbrytes installasjonen.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Now the installer of the program $\"JabRef$\" will be launched.$\r$\n\ You can use all default options of the JabRef-installer.' ${LangFileString} JabRefError 'The program $\"JabRef$\" could not successfully be installed!$\r$\n\ The installer will continue anyway.$\r$\n\ Try to install JabRef again later.' - + ${LangFileString} LatexConfigInfo "Konfigurasjon av LyX vil ta en stund." ${LangFileString} MiKTeXPathInfo "In order that every user is later able to customize MiKTeX for his needs$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/polish.nsh b/development/Win32/packaging/installer/lang/polish.nsh index 9eef7629cb..15a7c39728 100644 --- a/development/Win32/packaging/installer/lang/polish.nsh +++ b/development/Win32/packaging/installer/lang/polish.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 'Nie znaleziono dystrybucji LaTeX-a!$\r$\n\ LyX nie moe by uyty bez dystrybucji LaTeX-a takiej jak $\"MiKTeX$\"!$\r$\n\ Z tego powodu instalacja zostanie przerwana.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Now the installer of the program $\"JabRef$\" will be launched.$\r$\n\ You can use all default options of the JabRef-installer.' ${LangFileString} JabRefError 'The program $\"JabRef$\" could not successfully be installed!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/portuguese.nsh b/development/Win32/packaging/installer/lang/portuguese.nsh index 50f2773c4a..82af1fd721 100644 --- a/development/Win32/packaging/installer/lang/portuguese.nsh +++ b/development/Win32/packaging/installer/lang/portuguese.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 'N O LyX no pode ser usado sem uma distribuio de LaTeX como o $\"MiKTeX$\"!$\r$\n\ A instalao ser por isso abortada.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Agora lanar-se- o instalador do programa $\"JabRef$\".$\r$\n\ Pode usar todas as opes por defeito no instalador do JabRef.' ${LangFileString} JabRefError 'No se conseguiu instalar o programa $\"JabRef$\"!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/romanian.nsh b/development/Win32/packaging/installer/lang/romanian.nsh index 1b5aeac8a0..61bcbe77b9 100644 --- a/development/Win32/packaging/installer/lang/romanian.nsh +++ b/development/Win32/packaging/installer/lang/romanian.nsh @@ -48,6 +48,9 @@ ${LangFileString} LatexError1 'Nu am detectat nici o distribu LyX nu poate fi folosit fr o distribuia LaTeX ca $\"MiKTeX$\"!$\r$\n\ Instalarea va fi abandonat.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Acum va fi lansat programul de instalare al aplicaiei $\"JabRef$\".$\r$\n\ Este indicat s folosii setrile implicite ale programului de instalat JabRef.' ${LangFileString} JabRefError 'Programul $\"JabRef$\" nu a putut fi instalat!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/slovak.nsh b/development/Win32/packaging/installer/lang/slovak.nsh index 4196a9a9be..b143c4d666 100644 --- a/development/Win32/packaging/installer/lang/slovak.nsh +++ b/development/Win32/packaging/installer/lang/slovak.nsh @@ -50,12 +50,15 @@ ${LangFileString} LatexError1 'LaTeX distrib LyX sa neme uva bez LaTeX distribcie ako $\"MiKTeX$\"!$\r$\n\ Preto sa intalcia zastavila.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Teraz sa tartuje intalatr programu $\"JabRef$\".$\r$\n\ Mzete vetk obsiahnut nastavenia intalatra JabRef.' ${LangFileString} JabRefError 'Program $\"JabRef$\" sa nemohol intalova spene!$\r$\n\ Predsa intalcia pokrauje.$\r$\n\ Skste intalova JabRef ete raz neskr.' - + ${LangFileString} LatexConfigInfo "Na nasledujcu konfigurciu LyXu treba poka chvu." ${LangFileString} MiKTeXPathInfo "Aby kad pouvatel bol neskr schopn pouvat MiKTeX pre svoje potreby$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/spanish.nsh b/development/Win32/packaging/installer/lang/spanish.nsh index a99b6a1ce5..0c2a63aa7c 100644 --- a/development/Win32/packaging/installer/lang/spanish.nsh +++ b/development/Win32/packaging/installer/lang/spanish.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 ' LyX no funciona sin una distribucin de LaTeX como $\"MiKTeX$\"!$\r$\n\ Por lo tanto la instalacin se abortar.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Ahora se lanzar el instalador del programa $\"JabRef$\".$\r$\n\ Puede utilizar todas las opciones por defecto del instaldor de JabRef.' ${LangFileString} JabRefError 'El programa $\"JabRef$\" no pudo instalarse con xito!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/swedish.nsh b/development/Win32/packaging/installer/lang/swedish.nsh index cf6095f575..1891afeda9 100644 --- a/development/Win32/packaging/installer/lang/swedish.nsh +++ b/development/Win32/packaging/installer/lang/swedish.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo 'Nu kommer installationsprogrammet f ${LangFileString} LatexError1 'Kan inte hitta ngon LaTeX-distribution!$\r$\n\ LyX kan inte anvndas utan en LaTeX-distribution som tex $\"MiKTeX$\"!$\r$\n\ Installation avbryts drfr nu.' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Nu kommer installationsprogrammet fr $\"JabRef$\" att kras.$\r$\n\ Du kan anvnda alla standardalternativ i installationsprogrammet fr JabRef.' ${LangFileString} JabRefError 'Programmet $\"JabRef$\" kunde inte installeras ordentligt!$\r$\n\ Installationen av LyX kommer att fortstta nd.$\r$\n\ Frsk installera GSview igen senare.' - + ${LangFileString} LatexConfigInfo "Fljande konfigurering av LyX kommer att ta ett tag." ${LangFileString} MiKTeXPathInfo "Fr att varje anvndare senare skall kunna anpassa MiKTeX fr sina behov$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/turkish.nsh b/development/Win32/packaging/installer/lang/turkish.nsh index 748d1bd1c2..c5f33f4cfb 100644 --- a/development/Win32/packaging/installer/lang/turkish.nsh +++ b/development/Win32/packaging/installer/lang/turkish.nsh @@ -49,6 +49,9 @@ ${LangFileString} LatexError1 'Hi LyX $\"MiKTeX$\" gibi bir LaTeX datm olmadan kullanlamaz!$\r$\n\ Bu nedenle kurulum iptal edilecek.' +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo 'Now the installer of the program $\"JabRef$\" will be launched.$\r$\n\ You can use all default options of the JabRef-installer.' ${LangFileString} JabRefError 'The program $\"JabRef$\" could not successfully be installed!$\r$\n\ diff --git a/development/Win32/packaging/installer/lang/ukrainian.nsh b/development/Win32/packaging/installer/lang/ukrainian.nsh index c9d527718c..8b61b673c3 100644 --- a/development/Win32/packaging/installer/lang/ukrainian.nsh +++ b/development/Win32/packaging/installer/lang/ukrainian.nsh @@ -48,13 +48,16 @@ ${LangFileString} LatexInfo ' ${LangFileString} LatexError1 ' LaTeX !$\r$\n\ LyX LaTeX $\"MiKTeX$\"!$\r$\n\ .' - + +${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.' +${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.' + ${LangFileString} JabRefInfo ' $\"JabRef$\".$\r$\n\ JabRef.' ${LangFileString} JabRefError ' $\"JabRef$\"!$\r$\n\ LyX .$\r$\n\ JabRef .' - + ${LangFileString} LatexConfigInfo " LyX ." ${LangFileString} MiKTeXPathInfo " MiKTeX ,$\r$\n\