mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
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.
This commit is contained in:
parent
d3b93918d5
commit
10cca14739
2
Makefile
2
Makefile
@ -81,7 +81,7 @@ update-pot:
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user