From 1b4357a2a14d9917f2c82c505c04fadf7aa75fbd Mon Sep 17 00:00:00 2001 From: guillep2k <18600385+guillep2k@users.noreply.github.com> Date: Sat, 25 Jan 2020 11:49:47 -0300 Subject: [PATCH] Fix regexp ranges (#9977) --- scripts/update-locales.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update-locales.sh b/scripts/update-locales.sh index f73282799c..2dad93513b 100755 --- a/scripts/update-locales.sh +++ b/scripts/update-locales.sh @@ -3,8 +3,8 @@ mv ./options/locale/locale_en-US.ini ./options/ # Make sure to only change lines that have the translation enclosed between quotes -sed -i -r -e '/^[a-zA-Z0-9_-.]+[ ]*=[ ]*".*"$/ { - s/^([a-zA-Z0-9_-.]+)[ ]*="/\1=/ +sed -i -r -e '/^[a-zA-Z0-9_.-]+[ ]*=[ ]*".*"$/ { + s/^([a-zA-Z0-9_.-]+)[ ]*="/\1=/ s/\\"/"/g s/"$// }' ./options/locale/*.ini