diff --git a/Contrib/Modern UI 2/Localization.nsh b/Contrib/Modern UI 2/Localization.nsh index c489a8b4..eda5a682 100644 --- a/Contrib/Modern UI 2/Localization.nsh +++ b/Contrib/Modern UI 2/Localization.nsh @@ -33,6 +33,10 @@ Localization !verbose push !verbose ${MUI_VERBOSE} + !ifndef MUI_PAGE_UNINSTALLER_PREFIX + !warning "MUI_LANGUAGE should be inserted after the MUI_[UN]PAGE_* macros" + !endif + !insertmacro MUI_INSERT LoadLanguageFile "${NSISDIR}\Contrib\Language files\${NLFID}.nlf" diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 8b5a12ec..eac5dd43 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -2074,6 +2074,10 @@ Var MUI_TEMP2 !verbose push !verbose ${MUI_VERBOSE} + !ifndef MUI_PAGE_UNINSTALLER_PREFIX + !warning "MUI_LANGUAGE should be inserted after the MUI_[UN]PAGE_* macros" + !endif + !insertmacro MUI_INSERT LoadLanguageFile "${NSISDIR}\Contrib\Language files\${NLFID}.nlf"