mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
5e948b9bf2
(I know that not everybody likes this, but -- you know.) The folder PDFViewWin contains the programs I wrote to fix bug 3045. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16802 a592a061-630c-0410-9148-cb99ea01b6c8
564 lines
13 KiB
Plaintext
564 lines
13 KiB
Plaintext
; Language settings for the installer
|
|
; create language code for the Windows system language
|
|
|
|
; LangNme is the language name when there exists a LyX translation for this language; used for the menu language dialog and for the Aspell installation
|
|
; LangNmeSys is the Windows system language; used for the Aspell installation
|
|
; LangCdeSys is the ISO 630 language code of the language; used for the Aspell installation
|
|
; LangSysEnc is the Windows codepage for the character encoding of the language; used in lyx.bat to assure that scripts are correctly executed
|
|
!macro TranslateLangCode LangNme LangNmeSys LangCdeSys LangISOCode LangSysEnc
|
|
|
|
StrCpy ${LangCdeSys} ""
|
|
|
|
${if} ${LangISOCode} = 1025
|
|
StrCpy ${LangCdeSys} "ar"
|
|
StrCpy ${LangNmeSys} "Arabic"
|
|
StrCpy ${LangSysEnc} "1256"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1026
|
|
StrCpy ${LangCdeSys} "bg"
|
|
StrCpy ${LangNmeSys} "Bulgarian"
|
|
StrCpy ${LangSysEnc} "1251"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1027
|
|
StrCpy ${LangCdeSys} "ca"
|
|
StrCpy ${LangNmeSys} "Català"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 1028
|
|
; StrCpy ${LangCdeSys} "zh"
|
|
; StrCpy ${LangNmeSys} "Chinese"
|
|
; ${endif}
|
|
|
|
${if} ${LangISOCode} = 1029
|
|
StrCpy ${LangNme} "Ceština"
|
|
StrCpy ${LangCdeSys} "cs"
|
|
StrCpy ${LangNmeSys} "Ceština"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1030
|
|
StrCpy ${LangNme} "Dansk"
|
|
StrCpy ${LangCdeSys} "da"
|
|
StrCpy ${LangNmeSys} "Dansk"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1031
|
|
StrCpy ${LangNme} "Deutsch"
|
|
StrCpy ${LangCdeSys} "de"
|
|
StrCpy ${LangNmeSys} "Deutsch"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1032
|
|
StrCpy ${LangCdeSys} "el"
|
|
StrCpy ${LangNmeSys} "Greek"
|
|
StrCpy ${LangSysEnc} "1253"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1033
|
|
StrCpy ${LangNme} "English"
|
|
StrCpy ${LangCdeSys} "en"
|
|
StrCpy ${LangNmeSys} "English"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1034
|
|
StrCpy ${LangNme} "Español"
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1035
|
|
StrCpy ${LangNme} "Suomi"
|
|
StrCpy ${LangCdeSys} "fi"
|
|
StrCpy ${LangNmeSys} "Suomi"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1036
|
|
StrCpy ${LangNme} "Français"
|
|
StrCpy ${LangCdeSys} "fr"
|
|
StrCpy ${LangNmeSys} "Français"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1037
|
|
StrCpy ${LangCdeSys} "he"
|
|
StrCpy ${LangNmeSys} "Hebrew"
|
|
StrCpy ${LangSysEnc} "1255"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1038
|
|
StrCpy ${LangNme} "Magyar"
|
|
StrCpy ${LangCdeSys} "hu"
|
|
StrCpy ${LangNmeSys} "Magyar"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1039
|
|
StrCpy ${LangCdeSys} "is"
|
|
StrCpy ${LangNmeSys} "Íslenska"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1040
|
|
StrCpy ${LangNme} "Italiano"
|
|
StrCpy ${LangCdeSys} "it"
|
|
StrCpy ${LangNmeSys} "Italiano"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 1041
|
|
; StrCpy ${LangCdeSys} "ja"
|
|
; StrCpy ${LangNmeSys} "Japanese"
|
|
; ${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 1042
|
|
; StrCpy ${LangCdeSys} "ko"
|
|
; StrCpy ${LangNmeSys} "Korean"
|
|
; ${endif}
|
|
|
|
${if} ${LangISOCode} = 1043
|
|
StrCpy ${LangNme} "Nederlands"
|
|
StrCpy ${LangCdeSys} "nl"
|
|
StrCpy ${LangNmeSys} "Nederlands"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1044
|
|
StrCpy ${LangNme} "Norsk"
|
|
StrCpy ${LangCdeSys} "no"
|
|
StrCpy ${LangNmeSys} "Norsk"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1045
|
|
StrCpy ${LangNme} "Polski"
|
|
StrCpy ${LangCdeSys} "pl"
|
|
StrCpy ${LangNmeSys} "Polski"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1046 ; for portuguese (brasilian)
|
|
StrCpy ${LangNme} "English" ; there is currently no portuguese translation of LyX but of the installer
|
|
StrCpy ${LangCdeSys} "pt"
|
|
StrCpy ${LangNmeSys} "Português"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1048
|
|
StrCpy ${LangNme} "Româna"
|
|
StrCpy ${LangCdeSys} "ro"
|
|
StrCpy ${LangNmeSys} "Româna"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1049
|
|
StrCpy ${LangNme} "Russian"
|
|
StrCpy ${LangCdeSys} "ru"
|
|
StrCpy ${LangNmeSys} "Russian"
|
|
StrCpy ${LangSysEnc} "1251"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1050
|
|
StrCpy ${LangCdeSys} "hr"
|
|
StrCpy ${LangNmeSys} "Hrvatski"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1051
|
|
StrCpy ${LangNme} "Slovenský"
|
|
StrCpy ${LangCdeSys} "sk"
|
|
StrCpy ${LangNmeSys} "Slovenský"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 1052
|
|
; StrCpy ${LangCdeSys} "sq"
|
|
; StrCpy ${LangNmeSys} "Shqip"
|
|
; StrCpy ${LangSysEnc} "1252"
|
|
; ${endif}
|
|
|
|
${if} ${LangISOCode} = 1053
|
|
StrCpy ${LangNme} "Svenska"
|
|
StrCpy ${LangCdeSys} "sv"
|
|
StrCpy ${LangNmeSys} "Svenska"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 1054
|
|
; StrCpy ${LangCdeSys} "th"
|
|
; StrCpy ${LangNmeSys} "Thai"
|
|
; StrCpy ${LangSysEnc} "874"
|
|
; ${endif}
|
|
|
|
${if} ${LangISOCode} = 1055
|
|
StrCpy ${LangNme} "Türkçe"
|
|
StrCpy ${LangCdeSys} "tr"
|
|
StrCpy ${LangNmeSys} "Türkçe"
|
|
StrCpy ${LangSysEnc} "1254"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1058
|
|
StrCpy ${LangCdeSys} "uk"
|
|
StrCpy ${LangNmeSys} "Ukrainian"
|
|
StrCpy ${LangSysEnc} "1251"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1060
|
|
StrCpy ${LangNme} "Slovenšcina"
|
|
StrCpy ${LangCdeSys} "sl"
|
|
StrCpy ${LangNmeSys} "Slovenšcina"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1061
|
|
StrCpy ${LangCdeSys} "et"
|
|
StrCpy ${LangNmeSys} "Eesti"
|
|
StrCpy ${LangSysEnc} "1257"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1062
|
|
StrCpy ${LangCdeSys} "lv"
|
|
StrCpy ${LangNmeSys} "Latviešu"
|
|
StrCpy ${LangSysEnc} "1257"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1063
|
|
StrCpy ${LangCdeSys} "lt"
|
|
StrCpy ${LangNmeSys} "Lietuva"
|
|
StrCpy ${LangSysEnc} "1257"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
${if} ${LangISOCode} = 1069
|
|
StrCpy ${LangNme} "Euskara"
|
|
StrCpy ${LangCdeSys} "eu"
|
|
StrCpy ${LangNmeSys} "Euskara"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 1078
|
|
StrCpy ${LangCdeSys} "af"
|
|
StrCpy ${LangNmeSys} "Afrikaans"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 1081
|
|
; StrCpy ${LangCdeSys} "hi"
|
|
; StrCpy ${LangNmeSys} "Hindi"
|
|
; ${endif}
|
|
|
|
${if} ${LangISOCode} = 1110
|
|
StrCpy ${LangNme} "Galego"
|
|
StrCpy ${LangCdeSys} "gl"
|
|
StrCpy ${LangNmeSys} "Galego"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
; currently no dictionary available
|
|
; ${if} ${LangISOCode} = 2052
|
|
; StrCpy ${LangCdeSys} "zh"
|
|
; StrCpy ${LangNmeSys} "Chinese"
|
|
; ${endif}
|
|
|
|
${if} ${LangISOCode} = 2055
|
|
StrCpy ${LangCdeSys} "de"
|
|
StrCpy ${LangNmeSys} "Deutsch"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2057
|
|
StrCpy ${LangCdeSys} "en"
|
|
StrCpy ${LangNmeSys} "English"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2058
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2060
|
|
StrCpy ${LangCdeSys} "fr"
|
|
StrCpy ${LangNmeSys} "Français"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2064
|
|
StrCpy ${LangCdeSys} "it"
|
|
StrCpy ${LangNmeSys} "Italiano"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2067
|
|
StrCpy ${LangCdeSys} "nl"
|
|
StrCpy ${LangNmeSys} "Nederlands"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2068
|
|
StrCpy ${LangNme} "Nynorsk"
|
|
StrCpy ${LangCdeSys} "nn"
|
|
StrCpy ${LangNmeSys} "Nynorsk"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2070 ; for portuguese
|
|
StrCpy ${LangNme} "English" ; there is currently no portuguese translation of LyX but of the installer
|
|
StrCpy ${LangCdeSys} "pt"
|
|
StrCpy ${LangNmeSys} "Português"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2074
|
|
StrCpy ${LangCdeSys} "sr"
|
|
StrCpy ${LangNmeSys} "Srpski"
|
|
StrCpy ${LangSysEnc} "1250"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 2077
|
|
StrCpy ${LangCdeSys} "sv"
|
|
StrCpy ${LangNmeSys} "Svenska"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 3079
|
|
StrCpy ${LangCdeSys} "de"
|
|
StrCpy ${LangNmeSys} "Deutsch"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 3081
|
|
StrCpy ${LangCdeSys} "en"
|
|
StrCpy ${LangNmeSys} "English"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 3082
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 3084
|
|
StrCpy ${LangCdeSys} "fr"
|
|
StrCpy ${LangNmeSys} "Français"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 4103
|
|
StrCpy ${LangCdeSys} "de"
|
|
StrCpy ${LangNmeSys} "Deutsch"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 4105
|
|
StrCpy ${LangCdeSys} "en"
|
|
StrCpy ${LangNmeSys} "English"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 4108
|
|
StrCpy ${LangCdeSys} "fr"
|
|
StrCpy ${LangNmeSys} "Français"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 5129
|
|
StrCpy ${LangCdeSys} "en"
|
|
StrCpy ${LangNmeSys} "English"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 5132
|
|
StrCpy ${LangCdeSys} "fr"
|
|
StrCpy ${LangNmeSys} "Français"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 7177
|
|
StrCpy ${LangCdeSys} "en"
|
|
StrCpy ${LangNmeSys} "English"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 11274
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 13322
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 14346
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
${if} ${LangISOCode} = 20490
|
|
StrCpy ${LangCdeSys} "es"
|
|
StrCpy ${LangNmeSys} "Español"
|
|
StrCpy ${LangSysEnc} "1252"
|
|
${endif}
|
|
|
|
!macroend
|
|
|
|
;------------------------------------------
|
|
|
|
; Setting LyX's menu language
|
|
|
|
!macro GetLangCode LangCde Name LangEnc
|
|
|
|
${if} ${Name} == "Ceština"
|
|
StrCpy ${LangCde} "cs_CZ"
|
|
StrCpy ${LangEnc} "cp-1250"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Dansk"
|
|
StrCpy ${LangCde} "da_DK"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Deutsch"
|
|
StrCpy ${LangCde} "de_DE"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "English"
|
|
StrCpy ${LangCde} "en_EN"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Español"
|
|
StrCpy ${LangCde} "es_ES"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Euskara"
|
|
StrCpy ${LangCde} "eu_EU"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Français"
|
|
StrCpy ${LangCde} "fr_FR"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Galego"
|
|
StrCpy ${LangCde} "gl_ES"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Italiano"
|
|
StrCpy ${LangCde} "it_IT"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Magyar"
|
|
StrCpy ${LangCde} "hu_HU"
|
|
StrCpy ${LangEnc} "cp-1250"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Nederlands"
|
|
StrCpy ${LangCde} "nl_NL"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Norsk"
|
|
StrCpy ${LangCde} "nb_NO"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Nynorsk"
|
|
StrCpy ${LangCde} "nn_NO"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Polski"
|
|
StrCpy ${LangCde} "pl_PL"
|
|
StrCpy ${LangEnc} "cp-1250"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Româna"
|
|
StrCpy ${LangCde} "ro_RO"
|
|
StrCpy ${LangEnc} "cp-1250"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Russian"
|
|
StrCpy ${LangCde} "ru_RU"
|
|
StrCpy ${LangEnc} "cp-1251"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Slovenský"
|
|
StrCpy ${LangCde} "sk_SK"
|
|
StrCpy ${LangEnc} "cp-1250"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Slovenšcina"
|
|
StrCpy ${LangCde} "sl_SI"
|
|
StrCpy ${LangEnc} "cp-1250"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Suomi"
|
|
StrCpy ${LangCde} "fi_FI"
|
|
StrCpy ${LangEnc} "cp-1252"
|
|
${endif}
|
|
|
|
${if} ${Name} == "Türkçe"
|
|
StrCpy ${LangCde} "tr_TR"
|
|
StrCpy ${LangEnc} "cp-1254"
|
|
${endif}
|
|
|
|
!macroend
|
|
|
|
;--------------------
|
|
Function SelectMenuLanguage
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "io_ui_language.ini"
|
|
|
|
${if} $LangName == ""
|
|
; translate NSIS's language code to the language name; macro from lyx_utils.nsh
|
|
!insertmacro TranslateLangCode $LangName $LangNameSys $LangCodeSys $Language $LangSysEncoding
|
|
${endif}
|
|
|
|
${if} $LangName == ""
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "io_ui_language.ini" "Field 2" "State" "English"
|
|
${else}
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "io_ui_language.ini" "Field 2" "State" "$LangName"
|
|
${endif}
|
|
|
|
!insertmacro MUI_HEADER_TEXT "$(LangSelectHeader)" ""
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "io_ui_language.ini" "Field 1" "Text" "$(AvailableLang)"
|
|
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "io_ui_language.ini"
|
|
!insertmacro MUI_INSTALLOPTIONS_READ $LangName "io_ui_language.ini" "Field 2" "State"
|
|
|
|
FunctionEnd
|
|
|
|
Function SelectMenuLanguage_LeaveFunction
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_READ $LangName "io_ui_language.ini" "Field 2" "State"
|
|
; Get the language code; macro from lyx_utils.nsh
|
|
StrCpy $LangCode ""
|
|
!insertmacro GetLangCode $LangCode $LangName $LangEncoding
|
|
|
|
FunctionEnd
|
|
|