new macro for installer language files, which does not require the name of the language to be set (this is already done by the standard NSIS language files)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5500 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a76b2f9046
commit
134e5efcdd
1 changed files with 18 additions and 2 deletions
|
@ -47,7 +47,7 @@ Copyright
|
||||||
|
|
||||||
!macro LANGFILE IDNAME NAME
|
!macro LANGFILE IDNAME NAME
|
||||||
|
|
||||||
;Start of langauge file, set names
|
;Start of standard NSIS language file
|
||||||
|
|
||||||
!ifdef LANGFILE_SETNAMES
|
!ifdef LANGFILE_SETNAMES
|
||||||
|
|
||||||
|
@ -65,6 +65,22 @@ Copyright
|
||||||
|
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
!macro LANGFILE_EXT IDNAME
|
||||||
|
|
||||||
|
;Start of installer language file
|
||||||
|
|
||||||
|
!ifdef LANGFILE_SETNAMES
|
||||||
|
|
||||||
|
!ifdef LANGFILE_IDNAME
|
||||||
|
!undef LANGFILE_IDNAME
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!define LANGFILE_IDNAME "${IDNAME}"
|
||||||
|
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!macroend
|
||||||
|
|
||||||
!macro LANGFILE_SETSTRING NAME VALUE
|
!macro LANGFILE_SETSTRING NAME VALUE
|
||||||
|
|
||||||
;Set define with translated string
|
;Set define with translated string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue