diff --git a/transifex/convertFromTransifex.sh b/transifex/convertFromTransifex.sh deleted file mode 100644 index 4cac484eb62..00000000000 --- a/transifex/convertFromTransifex.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# resolve links - so that script can be called from any dir -PRG="$0" - -while [ -h "$PRG" ]; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`/"$link" - fi -done - -# Get standard environment variables -TRANSIFEX_DIR=`pwd`/`dirname "$PRG"` - -function convert { - FILE="$TRANSIFEX_DIR/downloadedFromTransifex/$1.json" - if [ -f $FILE ]; then - $TRANSIFEX_DIR/translation_converter -from "$FILE" -to "$TRANSIFEX_DIR/../$2.xml" -format "$3" - fi -} - -set -x -convert for_use_core-geonetwork_webwebapplocformatterjson_fr web/src/main/webapp/loc/fre/xml/formatter simple -convert for_use_core-geonetwork_webwebapplocformatterjson_de web/src/main/webapp/loc/ger/xml/formatter simple -convert for_use_core-geonetwork_webwebapplocformatterjson_it web/src/main/webapp/loc/ita/xml/formatter simple -convert for_use_core-geonetwork_iso19193formatterstrings_fr schemas/iso19139/src/main/plugin/iso19139/formatter/loc/fre/strings simple -convert for_use_core-geonetwork_iso19193formatterstrings_de schemas/iso19139/src/main/plugin/iso19139/formatter/loc/ger/strings simple -convert for_use_core-geonetwork_iso19193formatterstrings_it schemas/iso19139/src/main/plugin/iso19139/formatter/loc/ita/strings simple \ No newline at end of file diff --git a/transifex/convertToTransifex.sh b/transifex/convertToTransifex.sh deleted file mode 100644 index fc58c8dae5b..00000000000 --- a/transifex/convertToTransifex.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# resolve links - so that script can be called from any dir -PRG="$0" - -while [ -h "$PRG" ]; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`/"$link" - fi -done - -# Get standard environment variables -TRANSIFEX_DIR=`pwd`/`dirname "$PRG"` - -function convert { - $TRANSIFEX_DIR/translation_converter -from "$TRANSIFEX_DIR/../$1.xml" -to "$TRANSIFEX_DIR/transifex-format/$1.json" -format "$2" -} - -set -x -convert web/src/main/webapp/loc/eng/xml/formatter simple -convert schemas/iso19139/src/main/plugin/iso19139/formatter/loc/eng/strings simple \ No newline at end of file diff --git a/transifex/translation_converter.exe b/transifex/translation_converter.exe deleted file mode 100644 index edb499f3cdb..00000000000 Binary files a/transifex/translation_converter.exe and /dev/null differ