move scripts to new scripts folder

This commit is contained in:
B. Petersen 2020-10-21 13:19:21 +02:00
parent 3b4ed28269
commit 678385a887
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC
11 changed files with 9 additions and 9 deletions

View file

@ -20,5 +20,5 @@ touch -t 201901010000 res/values-$LANG/strings.xml
echo "res/values-$LANG/strings.xml added:"
echo "- add the name to res/values/arrays.xml"
echo "- if needed, language mappings can be added to .tx/config"
echo "- pull translations using ./tools/tx-pull-translations.sh"
echo "- pull translations using ./scripts/tx-pull-translations.sh"
echo " (on problems, 'tx -d pull' gives verbose output)"

View file

@ -3,7 +3,7 @@ TEXT=$1
if [ -z "$TEXT" ]; then
echo "this script searches for the string key given as the first parameter."
echo "search is done in this repo and in ../deltachat-ios and in ../deltachat-desktop."
echo "usage: ./tools/grep-string.sh <STRING-KEY>"
echo "usage: ./scripts/grep-string.sh <STRING-KEY>"
exit
fi

View file

@ -1,4 +1,4 @@
tx pull -l en
mv res/values-en/strings.xml res/values/strings.xml
rmdir res/values-en
./tools/check-translations.sh
./scrips/check-translations.sh

View file

@ -0,0 +1,2 @@
tx pull -f
./scripts/check-translations.sh

View file

@ -1,3 +1,3 @@
read -p "Push res/values/strings.xml to transifex? Press ENTER to continue, CTRL-C to abort."
tx push -s
./tools/check-translations.sh
./scripts/check-translations.sh

View file

@ -5,9 +5,9 @@ echo "This is done by pulling the translations"
echo "and immediately pushing them again together with the source."
echo "************************************************************************************"
echo "Pushing translations is POTENTIALLY HARMFUL so this script should be used with care."
echo "In most cases, just use ./tools/tx-push-translations.sh which is safer."
echo "In most cases, just use ./scrips/tx-push-translations.sh which is safer."
echo "************************************************************************************"
read -p "Press ENTER to continue, CTRL-C to abort."
tx pull -f
tx push -s -t
./tools/check-translations.sh
./scrips/check-translations.sh

View file

@ -5,7 +5,7 @@ if [ -z "$VERSION" ]; then
echo "this script uploads apk and symbols to get.delta.chat"
echo "the script does not upload things to gplay or other stores."
echo ""
echo "usage: ./tools/upload-release.sh <VERSION>"
echo "usage: ./scrips/upload-release.sh <VERSION>"
exit
fi
if [[ ${VERSION:0:1} == "v" ]]; then

View file

@ -1,2 +0,0 @@
tx pull -f
./tools/check-translations.sh