# HG changeset patch # User Martin Geisler # Date 1232883227 -3600 # Node ID 1ac4dc64cf2a9b808e50b34aa8ae2ac05f54458b # Parent fa584d23e3ccd14f8b325836675a4f88e1309676 i18n: sort by file when generating hg.pot This will make the order more stable and give smaller patches when translations merge in new and deleted strings from the hg.pot file. diff -r fa584d23e3cc -r 1ac4dc64cf2a Makefile --- a/Makefile Sun Jan 25 12:21:57 2009 +0100 +++ b/Makefile Sun Jan 25 12:33:47 2009 +0100 @@ -81,7 +81,7 @@ pygettext -d doc -p i18n --docstrings \ mercurial/commands.py hgext/*.py hgext/*/__init__.py pygettext -d all -p i18n mercurial hgext doc - msgcat i18n/doc.pot i18n/all.pot > i18n/hg.pot + msgcat --sort-by-file i18n/doc.pot i18n/all.pot > i18n/hg.pot rm i18n/doc.pot i18n/all.pot .PHONY: help all local build doc clean install install-bin install-doc \