put space back into autolang.sh after =

This commit is contained in:
Malin Freeborn 2023-09-06 22:56:29 +02:00
parent c60a4178de
commit ca48a10ee9
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -8,6 +8,6 @@ cat en.toml | while read -r line; do
echo "$line" | grep '=' -q && \
old="$(echo "$line" | cut -d= -f2)" && \
new="$(echo "$old" | trans en:$1 -b -e google)" && \
echo "$line" | sed "s/$old/$new/" >> $1.toml || \
echo "$line" | sed "s/$old/ $new/" >> $1.toml || \
echo "$line" >> $1.toml
done