mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
Support for native multilanguage installer in main VCMI languages
This commit is contained in:
parent
a9dfd9b7f4
commit
d9dcce4ea4
@ -567,56 +567,62 @@ FunctionEnd
|
||||
;Languages
|
||||
|
||||
!insertmacro MUI_LANGUAGE "English" ;first language is the default language
|
||||
!insertmacro MUI_LANGUAGE "Albanian"
|
||||
!insertmacro MUI_LANGUAGE "Arabic"
|
||||
!insertmacro MUI_LANGUAGE "Basque"
|
||||
!insertmacro MUI_LANGUAGE "Belarusian"
|
||||
!insertmacro MUI_LANGUAGE "Bosnian"
|
||||
!insertmacro MUI_LANGUAGE "Breton"
|
||||
!insertmacro MUI_LANGUAGE "Bulgarian"
|
||||
!insertmacro MUI_LANGUAGE "Croatian"
|
||||
!insertmacro MUI_LANGUAGE "Czech"
|
||||
!insertmacro MUI_LANGUAGE "Danish"
|
||||
!insertmacro MUI_LANGUAGE "Dutch"
|
||||
!insertmacro MUI_LANGUAGE "Estonian"
|
||||
!insertmacro MUI_LANGUAGE "Farsi"
|
||||
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||
!insertmacro MUI_LANGUAGE "Finnish"
|
||||
!insertmacro MUI_LANGUAGE "French"
|
||||
!insertmacro MUI_LANGUAGE "German"
|
||||
!insertmacro MUI_LANGUAGE "Greek"
|
||||
!insertmacro MUI_LANGUAGE "Hebrew"
|
||||
!insertmacro MUI_LANGUAGE "Hungarian"
|
||||
!insertmacro MUI_LANGUAGE "Icelandic"
|
||||
!insertmacro MUI_LANGUAGE "Indonesian"
|
||||
!insertmacro MUI_LANGUAGE "Irish"
|
||||
!insertmacro MUI_LANGUAGE "Italian"
|
||||
!insertmacro MUI_LANGUAGE "Japanese"
|
||||
!insertmacro MUI_LANGUAGE "Korean"
|
||||
!insertmacro MUI_LANGUAGE "Kurdish"
|
||||
!insertmacro MUI_LANGUAGE "Latvian"
|
||||
!insertmacro MUI_LANGUAGE "Lithuanian"
|
||||
!insertmacro MUI_LANGUAGE "Luxembourgish"
|
||||
!insertmacro MUI_LANGUAGE "Macedonian"
|
||||
!insertmacro MUI_LANGUAGE "Malay"
|
||||
!insertmacro MUI_LANGUAGE "Mongolian"
|
||||
!insertmacro MUI_LANGUAGE "Norwegian"
|
||||
!insertmacro MUI_LANGUAGE "Polish"
|
||||
!insertmacro MUI_LANGUAGE "Portuguese"
|
||||
!insertmacro MUI_LANGUAGE "PortugueseBR"
|
||||
!insertmacro MUI_LANGUAGE "Romanian"
|
||||
!insertmacro MUI_LANGUAGE "Russian"
|
||||
!insertmacro MUI_LANGUAGE "Serbian"
|
||||
!insertmacro MUI_LANGUAGE "SerbianLatin"
|
||||
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||
!insertmacro MUI_LANGUAGE "Slovak"
|
||||
!insertmacro MUI_LANGUAGE "Slovenian"
|
||||
!insertmacro MUI_LANGUAGE "Spanish"
|
||||
!insertmacro MUI_LANGUAGE "Swedish"
|
||||
!insertmacro MUI_LANGUAGE "Thai"
|
||||
!insertmacro MUI_LANGUAGE "TradChinese"
|
||||
!insertmacro MUI_LANGUAGE "Turkish"
|
||||
!insertmacro MUI_LANGUAGE "Ukrainian"
|
||||
!insertmacro MUI_LANGUAGE "Welsh"
|
||||
!insertmacro MUI_LANGUAGE "Vietnamese"
|
||||
|
||||
;!insertmacro MUI_LANGUAGE "Albanian"
|
||||
;!insertmacro MUI_LANGUAGE "Arabic"
|
||||
;!insertmacro MUI_LANGUAGE "Basque"
|
||||
;!insertmacro MUI_LANGUAGE "Belarusian"
|
||||
;!insertmacro MUI_LANGUAGE "Bosnian"
|
||||
;!insertmacro MUI_LANGUAGE "Breton"
|
||||
;!insertmacro MUI_LANGUAGE "Bulgarian"
|
||||
;!insertmacro MUI_LANGUAGE "Croatian"
|
||||
;!insertmacro MUI_LANGUAGE "Danish"
|
||||
;!insertmacro MUI_LANGUAGE "Dutch"
|
||||
;!insertmacro MUI_LANGUAGE "Estonian"
|
||||
;!insertmacro MUI_LANGUAGE "Farsi"
|
||||
;!insertmacro MUI_LANGUAGE "Greek"
|
||||
;!insertmacro MUI_LANGUAGE "Hebrew"
|
||||
;!insertmacro MUI_LANGUAGE "Icelandic"
|
||||
;!insertmacro MUI_LANGUAGE "Indonesian"
|
||||
;!insertmacro MUI_LANGUAGE "Irish"
|
||||
;!insertmacro MUI_LANGUAGE "Japanese"
|
||||
;!insertmacro MUI_LANGUAGE "Kurdish"
|
||||
;!insertmacro MUI_LANGUAGE "Latvian"
|
||||
;!insertmacro MUI_LANGUAGE "Lithuanian"
|
||||
;!insertmacro MUI_LANGUAGE "Luxembourgish"
|
||||
;!insertmacro MUI_LANGUAGE "Macedonian"
|
||||
;!insertmacro MUI_LANGUAGE "Malay"
|
||||
;!insertmacro MUI_LANGUAGE "Mongolian"
|
||||
;!insertmacro MUI_LANGUAGE "Norwegian"
|
||||
;!insertmacro MUI_LANGUAGE "PortugueseBR"
|
||||
;!insertmacro MUI_LANGUAGE "Romanian"
|
||||
;!insertmacro MUI_LANGUAGE "Serbian"
|
||||
;!insertmacro MUI_LANGUAGE "SerbianLatin"
|
||||
;!insertmacro MUI_LANGUAGE "Slovak"
|
||||
;!insertmacro MUI_LANGUAGE "Slovenian"
|
||||
;!insertmacro MUI_LANGUAGE "Thai"
|
||||
;!insertmacro MUI_LANGUAGE "TradChinese"
|
||||
;!insertmacro MUI_LANGUAGE "Welsh"
|
||||
|
||||
|
||||
; Language Selection Dialog
|
||||
!define MUI_LANGDLL_DISPLAY
|
||||
|
||||
|
||||
;--------------------------------
|
||||
@ -899,6 +905,9 @@ SectionEnd
|
||||
; "Program Files" for AllUsers, "My Documents" for JustMe...
|
||||
|
||||
Function .onInit
|
||||
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
|
||||
StrCmp "@CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL@" "ON" 0 inst
|
||||
|
||||
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "UninstallString"
|
||||
|
Loading…
Reference in New Issue
Block a user