Generation of localized IDT files simplified

This commit is contained in:
Simon Rozman 2016-09-06 16:39:53 +02:00
parent 9cdce06194
commit e740e29e3d

View File

@ -108,20 +108,13 @@ StartServicesExec Starting services Service: [1]
InstallScheduledTasksExec Installing scheduled tasks Scheduled task: [1] InstallScheduledTasksExec Installing scheduled tasks Scheduled task: [1]
<<NOKEEP <<NOKEEP
"De.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\de_DE.po" !IF "$(LANG)" == "En"
rcxgettext.exe idtp $@ $**
"En.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "En.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx"
copy /y $** $@ > NUL copy /y $** $@ > NUL
!ELSE
"It.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\it_IT.po" "$(LANG).$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\$(MSIBUILD_LANG_PO).po"
rcxgettext.exe idtp $@ $**
"Ru.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\ru_RU.po"
rcxgettext.exe idtp $@ $**
"Sl.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\sl_SI.po"
rcxgettext.exe idtp $@ $** rcxgettext.exe idtp $@ $**
!ENDIF
###################################################################### ######################################################################