mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
move scripts to new scripts
folder
This commit is contained in:
parent
3b4ed28269
commit
678385a887
11 changed files with 9 additions and 9 deletions
|
@ -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)"
|
|
@ -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
|
||||
|
|
@ -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
|
2
scripts/tx-pull-translations.sh
Executable file
2
scripts/tx-pull-translations.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
tx pull -f
|
||||
./scripts/check-translations.sh
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
|||
tx pull -f
|
||||
./tools/check-translations.sh
|
Loading…
Add table
Add a link
Reference in a new issue