Removed unused stuff from connection constructor params. Initiate config servers...
[ipypbx] / Makefile
index 222c02a..746eb7e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,16 +8,25 @@ all: ui translation
 ui:
        pyuic4 $(PROJECT)
 
-translation:
+translation: po2ts transupdate ts2po transrelease
+
+po2ts:
        # 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;\
        )
+
+transupdate:
        # Update translation from GUI.
        pylupdate4 $(PROJECT)
+
+ts2po:
        # 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;\
-       )
\ No newline at end of file
+       )
+
+transrelease:
+       lrelease $(PROJECT)