2020-07-25 11:02:44 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
mydir="$(dirname "$(realpath "$0")")"
|
|
|
|
|
|
|
|
find "$mydir/vector/src/main/res" -name strings.xml -exec \
|
|
|
|
sed -i 's|Element|SchildiChat|g' '{}' \;
|
|
|
|
find "$mydir/vector/src/main/res" -name strings.xml -exec \
|
2020-08-22 11:51:24 +03:00
|
|
|
sed -i 's|SchildiChat Web|Element Web|g' '{}' \;
|
2020-07-25 11:02:44 +03:00
|
|
|
find "$mydir/vector/src/main/res" -name strings.xml -exec \
|
2020-08-22 11:51:24 +03:00
|
|
|
sed -i 's|SchildiChat iOS|Element iOS|g' '{}' \;
|
2020-07-25 11:02:44 +03:00
|
|
|
find "$mydir/vector/src/main/res" -name strings.xml -exec \
|
|
|
|
sed -i 's|\("use_latest_riot">.*\)SchildiChat\(.*</string>\)|\1Element\2|g' '{}' \;
|
|
|
|
|
|
|
|
# Requires manual intervention for correct grammar
|
|
|
|
sed -i 's|!nnen|wolpertinger|g' "$mydir/vector/src/main/res/values-de/strings.xml"
|
|
|
|
sed -i 's|!n|schlumpfwesen|g' "$mydir/vector/src/main/res/values-de/strings.xml"
|