forked from openlp/openlp
Ignore all "test" and "hook" scripts.
Update the main ts file with the latest strings.
This commit is contained in:
parent
ba21b15214
commit
0ed125b3c3
File diff suppressed because it is too large
Load Diff
@ -99,6 +99,8 @@ def main():
|
|||||||
start_dir = os.path.abspath(u'..')
|
start_dir = os.path.abspath(u'..')
|
||||||
for root, dirs, files in os.walk(start_dir):
|
for root, dirs, files in os.walk(start_dir):
|
||||||
for file in files:
|
for file in files:
|
||||||
|
if file.startswith(u'hook-') or file.startswith(u'test_'):
|
||||||
|
continue
|
||||||
if file.endswith(u'.py'):
|
if file.endswith(u'.py'):
|
||||||
print u'Parsing "%s"' % file
|
print u'Parsing "%s"' % file
|
||||||
parse_file(start_dir, os.path.join(root, file), strings)
|
parse_file(start_dir, os.path.join(root, file), strings)
|
||||||
|
Loading…
Reference in New Issue
Block a user