From e740e29e3d19787dd3ef9a44571c51c4f3e64a71 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 6 Sep 2016 16:39:53 +0200 Subject: [PATCH] Generation of localized IDT files simplified --- MSIBuild/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/MSIBuild/Makefile b/MSIBuild/Makefile index 92d4bf1..9e05710 100644 --- a/MSIBuild/Makefile +++ b/MSIBuild/Makefile @@ -108,20 +108,13 @@ StartServicesExec Starting services Service: [1] InstallScheduledTasksExec Installing scheduled tasks Scheduled task: [1] < NUL - -"It.$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\it_IT.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" +!ELSE +"$(LANG).$(PLAT).$(CFG).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\locale\$(MSIBUILD_LANG_PO).po" rcxgettext.exe idtp $@ $** +!ENDIF ######################################################################