From 571f668872cfa0b3873074a824ce2b05dde2e149 Mon Sep 17 00:00:00 2001 From: Stas Shtin Date: Sun, 11 Apr 2010 20:20:32 +0400 Subject: [PATCH] Add comments to the makefile. Add convertion from PO files. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 3faded0..222c02a 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,14 @@ ui: pyuic4 $(PROJECT) translation: + # Convert translation strings from PO format to TS. + $(foreach lang, $(TRANSLATION_LANGUAGES), \ + lconvert -i $(TRANSLATIONS_PATH)/$(BASENAME)_$(lang).po \ + -o $(TRANSLATIONS_PATH)/$(BASENAME)_$(lang).ts;\ + ) + # Update translation from GUI. pylupdate4 $(PROJECT) + # Convert translation strings to TS format from PO. $(foreach lang, $(TRANSLATION_LANGUAGES), \ lconvert -i $(TRANSLATIONS_PATH)/$(BASENAME)_$(lang).ts \ -o $(TRANSLATIONS_PATH)/$(BASENAME)_$(lang).po;\ -- 1.7.9.5