From e3a534e9069906589a793179873328761254f493 Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Thu, 26 Oct 2023 12:56:03 -0700 Subject: [PATCH] build(extract-strings): don't version gettext templates We don't use the "Project-Version-Id" header anywhere, so it's not worth updating either manually or via "update_version.sh". --- Makefile | 3 --- .../roles/tails-config/templates/locale/messages.pot | 2 +- securedrop/translations/messages.pot | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9865229399..c5c5b1ee84 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,6 @@ GCLOUD_VERSION := 222.0.0-1 SDROOT := $(shell git rev-parse --show-toplevel) TAG ?= $(shell git rev-parse HEAD) STABLE_VER := $(shell cat molecule/shared/stable.ver) -VERSION=$(shell python -c "import securedrop.version; print(securedrop.version.__version__)") SDBIN := $(SDROOT)/securedrop/bin DEVSHELL := $(SDBIN)/dev-shell @@ -364,7 +363,6 @@ $(POT): securedrop --charset=utf-8 \ --output=${POT} \ --project="SecureDrop" \ - --version=${VERSION} \ --msgid-bugs-address=securedrop@freedom.press \ --copyright-holder="Freedom of the Press Foundation" \ --add-comments="Translators:" \ @@ -393,7 +391,6 @@ $(DESKTOP_POT): ${DESKTOP_BASE}/*.in -F securedrop/babel.cfg \ --output=${DESKTOP_POT} \ --project=SecureDrop \ - --version=${VERSION} \ --msgid-bugs-address=securedrop@freedom.press \ --copyright-holder="Freedom of the Press Foundation" \ --add-location=never \ diff --git a/install_files/ansible-base/roles/tails-config/templates/locale/messages.pot b/install_files/ansible-base/roles/tails-config/templates/locale/messages.pot index 8aa68fa351..35d4387ae3 100644 --- a/install_files/ansible-base/roles/tails-config/templates/locale/messages.pot +++ b/install_files/ansible-base/roles/tails-config/templates/locale/messages.pot @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: SecureDrop 2.7.0~rc1\n" +"Project-Id-Version: SecureDrop 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" diff --git a/securedrop/translations/messages.pot b/securedrop/translations/messages.pot index 012a0279d2..7b6a0bdf17 100644 --- a/securedrop/translations/messages.pot +++ b/securedrop/translations/messages.pot @@ -6,7 +6,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: SecureDrop 2.7.0~rc1\n" +"Project-Id-Version: SecureDrop 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"