소스 검색

Fix regexp ranges (#9977)

tags/v1.10.5
guillep2k 4 년 전
부모
커밋
1b4357a2a1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      scripts/update-locales.sh

+ 2
- 2
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

Loading…
취소
저장