Skip to content

Commit 770d1b2

Browse files
committed
The very name "synthetic.po" caused problems with weblate
.. because it would add every term from circuitpython.pot to it; then in turn, "make translate" would remove almost every message from circuitpython.pot, and then give a pre-commit error. Hopefully "synthetic.pot" won't get the same treatment. This may require manual intervention on weblate to resolve a merge conflict and undo weblate's chyange to synthetic.po/.pot.
1 parent f27a801 commit 770d1b2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ pseudoxml:
226226
.PHONY: all-source
227227
all-source:
228228

229-
TRANSLATE_COMMAND=find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -x locale/synthetic.po -f- -L C -s --add-location=file --keyword=MP_ERROR_TEXT -o - | sed -e '/"POT-Creation-Date: /d'
229+
TRANSLATE_COMMAND=find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -x locale/synthetic.pot -f- -L C -s --add-location=file --keyword=MP_ERROR_TEXT -o - | sed -e '/"POT-Creation-Date: /d'
230230
locale/circuitpython.pot: all-source
231231
$(TRANSLATE_COMMAND) > $@
232232

File renamed without changes.

0 commit comments

Comments
 (0)