From 42ccdb3653015342f2b24d3364f95df680489bb7 Mon Sep 17 00:00:00 2001 From: Ro Date: Thu, 14 Mar 2024 14:40:01 -0400 Subject: [PATCH] [0.10.0] backport Exclude client version string from Project-Id-Version of .pot files --- client/Makefile | 2 -- client/securedrop_client/locale/messages.pot | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/client/Makefile b/client/Makefile index 346277f12..e5b4f8085 100644 --- a/client/Makefile +++ b/client/Makefile @@ -130,7 +130,6 @@ docs: ## Generate browsable documentation and call/caller graphs (requires Doxy LOCALE_DIR=securedrop_client/locale POT=${LOCALE_DIR}/messages.pot -VERSION=$(shell poetry run python -c "import securedrop_client; print(securedrop_client.__version__)") .PHONY: check-strings check-strings: ## Check that the translation catalog is up to date with source code @@ -150,7 +149,6 @@ $(POT): securedrop_client --charset=utf-8 \ --output=${POT} \ --project="SecureDrop Client" \ - --version=${VERSION} \ --msgid-bugs-address=securedrop@freedom.press \ --copyright-holder="Freedom of the Press Foundation" \ --add-comments="Translators:" \ diff --git a/client/securedrop_client/locale/messages.pot b/client/securedrop_client/locale/messages.pot index 32042f631..5fc3153aa 100644 --- a/client/securedrop_client/locale/messages.pot +++ b/client/securedrop_client/locale/messages.pot @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: SecureDrop Client 0.10.0-rc1\n" +"Project-Id-Version: SecureDrop Client VERSION\n" "Report-Msgid-Bugs-To: securedrop@freedom.press\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n"