LANGFILE macro arguments now include a localized name AND an ASCII-only name (closest possible to the localized name)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6115 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0cccfdaceb
commit
746d91af33
61 changed files with 68 additions and 62 deletions
|
@ -75,7 +75,7 @@ Copyright 2008-2009 Joost Verburg
|
|||
|
||||
!macroend
|
||||
|
||||
!macro LANGFILE IDNAME NAME
|
||||
!macro LANGFILE IDNAME ASCIINAME LOCNAME
|
||||
|
||||
;Start of standard NSIS language file
|
||||
|
||||
|
@ -88,7 +88,13 @@ Copyright 2008-2009 Joost Verburg
|
|||
!define LANGFILE_IDNAME "${IDNAME}"
|
||||
|
||||
!ifndef "LANGFILE_${IDNAME}_NAME"
|
||||
!define "LANGFILE_${IDNAME}_NAME" "${NAME}"
|
||||
!ifndef MUI_LANGDLL_ALLLANGUAGES
|
||||
!define "LANGFILE_${IDNAME}_NAME" "${LOCNAME}"
|
||||
!else ifdef NSIS_UNICODE
|
||||
!define "LANGFILE_${IDNAME}_NAME" "${LOCNAME}"
|
||||
!else
|
||||
!define "LANGFILE_${IDNAME}_NAME" "${ASCIINAME}"
|
||||
!endif
|
||||
!endif
|
||||
|
||||
!endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue