From 6a9a7a533cdabe2b68cf89110ea65f09b01aad64 Mon Sep 17 00:00:00 2001 From: Jose Luis Cercos Pita Date: Sun, 18 Nov 2012 10:35:43 +0100 Subject: [PATCH] Removed internal scripts to generate resources (moved to general tools) --- src/Mod/Plot/makeResources.sh | 56 ----------------------------------- src/Mod/Ship/makeResources.sh | 56 ----------------------------------- 2 files changed, 112 deletions(-) delete mode 100755 src/Mod/Plot/makeResources.sh delete mode 100755 src/Mod/Ship/makeResources.sh diff --git a/src/Mod/Plot/makeResources.sh b/src/Mod/Plot/makeResources.sh deleted file mode 100755 index 240c813ef..000000000 --- a/src/Mod/Plot/makeResources.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -## Create resources stuff for Plot module. - -# Perform trnaslations -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot.ts -lrelease resources/translations/Plot.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_af.ts -lrelease resources/translations/Plot_af.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_cs.ts -lrelease resources/translations/Plot_cs.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_de.ts -lrelease resources/translations/Plot_de.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_es-ES.ts -lrelease resources/translations/Plot_es-ES.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_fi.ts -lrelease resources/translations/Plot_fi.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_fr.ts -lrelease resources/translations/Plot_fr.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_hr.ts -lrelease resources/translations/Plot_hr.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_hu.ts -lrelease resources/translations/Plot_hu.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_it.ts -lrelease resources/translations/Plot_it.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_ja.ts -lrelease resources/translations/Plot_ja.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_nl.ts -lrelease resources/translations/Plot_nl.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_no.ts -lrelease resources/translations/Plot_no.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_pl.ts -lrelease resources/translations/Plot_pl.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_pt-BR.ts -lrelease resources/translations/Plot_pt-BR.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_ro.ts -lrelease resources/translations/Plot_ro.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_ru.ts -lrelease resources/translations/Plot_ru.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_sk.ts -lrelease resources/translations/Plot_sk.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_sv-SE.ts -lrelease resources/translations/Plot_sv-SE.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_tr.ts -lrelease resources/translations/Plot_tr.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_uk.ts -lrelease resources/translations/Plot_uk.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_zh-CN.ts -lrelease resources/translations/Plot_zh-CN.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_zh-TW.ts -lrelease resources/translations/Plot_zh-TW.ts - -# Create resources -rm -f Plot_rc.py -cd resources -pyrcc4 Plot.qrc -o ../Plot_rc.py -cd .. diff --git a/src/Mod/Ship/makeResources.sh b/src/Mod/Ship/makeResources.sh deleted file mode 100755 index f1c67a842..000000000 --- a/src/Mod/Ship/makeResources.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash -## Create resources stuff for Ship module. - -# Perform trnaslations -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship.ts -lrelease resources/translations/Ship.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_af.ts -lrelease resources/translations/Ship_af.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_cs.ts -lrelease resources/translations/Ship_cs.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_de.ts -lrelease resources/translations/Ship_de.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_es-ES.ts -lrelease resources/translations/Ship_es-ES.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_fi.ts -lrelease resources/translations/Ship_fi.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_fr.ts -lrelease resources/translations/Ship_fr.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_hr.ts -lrelease resources/translations/Ship_hr.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_hu.ts -lrelease resources/translations/Ship_hu.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_it.ts -lrelease resources/translations/Ship_it.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_ja.ts -lrelease resources/translations/Ship_ja.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_nl.ts -lrelease resources/translations/Ship_nl.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_no.ts -lrelease resources/translations/Ship_no.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_pl.ts -lrelease resources/translations/Ship_pl.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_pt-BR.ts -lrelease resources/translations/Ship_pt-BR.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_ro.ts -lrelease resources/translations/Ship_ro.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_ru.ts -lrelease resources/translations/Ship_ru.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_sk.ts -lrelease resources/translations/Ship_sk.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_sv-SE.ts -lrelease resources/translations/Ship_sv-SE.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_tr.ts -lrelease resources/translations/Ship_tr.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_uk.ts -lrelease resources/translations/Ship_uk.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_zh-CN.ts -lrelease resources/translations/Ship_zh-CN.ts -pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Ship_zh-TW.ts -lrelease resources/translations/Ship_zh-TW.ts - -# Create resources -rm -f Ship_rc.py -cd resources -pyrcc4 Ship.qrc -o ../Ship_rc.py -cd ..