Warn if MUI_LANGUAGE is inserted before MUI_[UN]PAGE_*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6572 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b9d125c881
commit
b43bef1390
2 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue