put space back into autolang.sh after =
This commit is contained in:
parent
c60a4178de
commit
ca48a10ee9
@ -8,6 +8,6 @@ cat en.toml | while read -r line; do
|
|||||||
echo "$line" | grep '=' -q && \
|
echo "$line" | grep '=' -q && \
|
||||||
old="$(echo "$line" | cut -d= -f2)" && \
|
old="$(echo "$line" | cut -d= -f2)" && \
|
||||||
new="$(echo "$old" | trans en:$1 -b -e google)" && \
|
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
|
echo "$line" >> $1.toml
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user