diff options
| author | Jeff Epler <jepler@gmail.com> | 2021-01-07 14:40:11 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2021-01-07 14:41:29 -0600 |
| commit | e4129ecf00071a8b7b9f2b97f0522ba6bbeb0253 (patch) | |
| tree | 2e8bae4fcf3574db8ba16d029d7389d4c32e4ee8 /Makefile | |
| parent | f6f1ef7dc26f9e253f09d48a8ec822a2f5e805fb (diff) | |
Makefile: Remove POT-Creation-Date from circuitpython.pot
This line is only a magnet for conflicts; the date that circuitpython.pot
was modified can be extracted from git metadata. Additionally, when
we add "make translate" checking to pre-commit, this will avoid spurious
changes since the most straightforward implementation would otherwise
update this line every time pre-commit executed.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -222,7 +222,7 @@ pseudoxml: all-source: locale/circuitpython.pot: all-source - find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale + find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o - | sed -e '/"POT-Creation-Date: /d' > $@ # Historically, `make translate` updated the .pot file and ran msgmerge. # However, this was a frequent source of merge conflicts. Weblate can perform |
