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:
parent
fb4baa6481
commit
a494bffcbe
39 changed files with 679 additions and 9 deletions
33
tools/localization/downloadLocalizations.sh
Executable file
33
tools/localization/downloadLocalizations.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue