Browse Source

Fix regexp ranges (#9977)

tags/v1.12.0-dev
guillep2k zeripath 5 years ago
parent
commit
9cf65a17d6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/update-locales.sh

+ 2
- 2
scripts/update-locales.sh View File

@@ -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


Loading…
Cancel
Save