Error when including same language file twice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1763 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6116d07eec
commit
df3d9b0247
1 changed files with 6 additions and 2 deletions
|
@ -1134,6 +1134,12 @@
|
||||||
!define "MUI_LANGUAGEFILE_${LANGUAGE}_USED"
|
!define "MUI_LANGUAGEFILE_${LANGUAGE}_USED"
|
||||||
|
|
||||||
LoadLanguageFile "${NSISDIR}\Contrib\Language files\${LANGUAGE}.nlf"
|
LoadLanguageFile "${NSISDIR}\Contrib\Language files\${LANGUAGE}.nlf"
|
||||||
|
|
||||||
|
!else
|
||||||
|
|
||||||
|
!error "${LANGUAGE} included twice!"
|
||||||
|
|
||||||
|
!endif
|
||||||
|
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
@ -1328,8 +1334,6 @@
|
||||||
!undef MUI_TEXT_CONTINUE_INSTALL
|
!undef MUI_TEXT_CONTINUE_INSTALL
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!endif
|
|
||||||
|
|
||||||
!undef MUI_LANGUAGEFILE_CURRENT
|
!undef MUI_LANGUAGEFILE_CURRENT
|
||||||
|
|
||||||
!verbose 4
|
!verbose 4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue