Ignore all "test" and "hook" scripts.

Update the main ts file with the latest strings.
This commit is contained in:
Raoul Snyman 2010-03-15 20:40:52 +02:00
parent ba21b15214
commit 0ed125b3c3
2 changed files with 661 additions and 654 deletions

File diff suppressed because it is too large Load Diff

View File

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