From ca48a10ee9d5c2f54b4b750bac39720484694dc0 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Wed, 6 Sep 2023 22:56:29 +0200 Subject: [PATCH] put space back into autolang.sh after = --- i18n/autolang.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/autolang.sh b/i18n/autolang.sh index 19a2a37..334736f 100755 --- a/i18n/autolang.sh +++ b/i18n/autolang.sh @@ -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