tweak script for unused translations
This commit is contained in:
parent
b528781491
commit
a4e5d5b766
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ langlst.append('en-us.json')
|
||||||
dep = []
|
dep = []
|
||||||
|
|
||||||
def grep(key):
|
def grep(key):
|
||||||
command = 'grep -r -E "(\(\\\"|\(\'|\{)%s(\\\"|\'|\})" --include=\*.{js,html} --exclude-dir=../src/strings ../src' % key
|
command = 'grep -r -E "(\\\"|\'|\{)%s(\\\"|\'|\})" --include=\*.{js,html} --exclude-dir=../src/strings ../src' % key
|
||||||
p = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
p = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
output = p.stdout.readlines()
|
output = p.stdout.readlines()
|
||||||
if output:
|
if output:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue