diff --git a/Makefile b/Makefile index 245ec72b..a89e9222 100644 --- a/Makefile +++ b/Makefile @@ -179,6 +179,10 @@ info: .PHONY: gettext gettext: $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) locale + # Keep POT-Creation-Date empty, following the convention of the zammad/zammad + # i18n catalog: a timestamp here churns on every regeneration, gets copied + # into all .po headers by msgmerge and causes Weblate rebase conflicts. + perl -pi -e 's/^"POT-Creation-Date: .*/"POT-Creation-Date: \\n"/' locale/user-docs.pot @echo @echo "Created or updated POT file in locale." diff --git a/locale/user-docs.pot b/locale/user-docs.pot index a939d23e..abe05d08 100644 --- a/locale/user-docs.pot +++ b/locale/user-docs.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Zammad User Documentation pre-release\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-28 15:08+0200\n" +"POT-Creation-Date: \n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"