diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index d84d75b5..02648fca 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -470,7 +470,7 @@ will also help you to learn more about the Modern UI.
!insertmacro MUI_LANGUAGE "English"
The Modern UI language files load the NLF language files, so you should not use LoadLanguageFile.
-Customize fonts
+Customize Fonts
You can customize the fonts for a language using the following defines before inserting a language.
@@ -484,7 +484,7 @@ will also help you to learn more about the Modern UI. The font for the title on the Welcome and Finish page.Note: Page texts can be changed using page settings.
Language selection dialog
+Language Selection Dialog
6. Reserve files
If you are using BZIP2 (solid) compression, it's important that files which are being extracted in init- or page functions function are located diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi index 799602e4..69f1a80b 100644 --- a/Examples/Modern UI/MultiLanguage.nsi +++ b/Examples/Modern UI/MultiLanguage.nsi @@ -25,6 +25,14 @@ !define MUI_ABORTWARNING +;-------------------------------- +;Language Selection Dialog Settings + + ;Remember the installer language + !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" + !define MUI_LANGDLL_REGISTRY_KEY "Software\Modern UI Test" + !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" + ;-------------------------------- ;Pages @@ -100,11 +108,6 @@ SectionEnd Function .onInit - ;Remember the installer language - !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" - !define MUI_LANGDLL_REGISTRY_KEY "Software\Modern UI Test" - !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" - !insertmacro MUI_LANGDLL_DISPLAY FunctionEnd