Changeset 799
- Timestamp:
- 10/07/05 18:20:24 (3 years ago)
- Files:
-
- django/branches/i18n/django/bin/make-messages.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/i18n/django/bin/make-messages.py
r798 r799 74 74 msgs = os.popen('msguniq %s' % potfile, 'r').read() 75 75 open(potfile, 'w').write(msgs) 76 msgs = os.popen('msgmerge %s %s' % (pofile, potfile), 'r').read() 76 if os.path.exists(pofile): 77 msgs = os.popen('msgmerge %s %s' % (pofile, potfile), 'r').read() 77 78 open(pofile, 'wb').write(msgs) 78 79 os.unlink(potfile)
