1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-09-10 18:59:42 +02:00

Translation tool; Update new languages

This commit is contained in:
Gregor Santner 2016-08-07 22:08:05 +02:00
parent fb4baa6481
commit a494bffcbe
39 changed files with 679 additions and 9 deletions

View file

@ -0,0 +1,33 @@
#!/bin/bash
#########################################################
#
# Title
#
# Created by Gregor Santer (gsantner), 2016
# https://gsantner.github.io/
#
#########################################################
#Pfade
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPTFILE=$(readlink -f $0)
SCRIPTPATH=$(dirname $SCRIPTFILE)
argc=$#
#########################################################
cd "$SCRIPTDIR"
if [ ! -f "crowdin.yaml" ] ; then
echo "base_path: $(realpath '../../')" > 'crowdin.yaml'
cat "../../crowdin.yaml" >> "crowdin.yaml"
fi
if grep -q "DONT_PUSH" "crowdin.yaml" ; then
echo "Insert API key to crowdin.yaml"
echo "and update folder to the root folder of the repository"
exit
fi
# Load latest translations
crowdin-cli download -b master