Add comments to the makefile. Add convertion from PO files.
authorStas Shtin <antisvin@gmail.com>
Sun, 11 Apr 2010 16:20:32 +0000 (20:20 +0400)
committerStas Shtin <antisvin@gmail.com>
Sun, 11 Apr 2010 16:20:32 +0000 (20:20 +0400)
Makefile

index 3faded0..222c02a 100644 (file)
--- 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;\