Skip to content

Commit

Permalink
Merge pull request #1915 from freedomofpress/no-localized-version-string
Browse files Browse the repository at this point in the history
Exclude client version string from Project-Id-Version of .pot files
  • Loading branch information
legoktm committed Mar 14, 2024
2 parents 435362b + 09296c3 commit 61ed1bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions client/Makefile
Expand Up @@ -124,7 +124,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
Expand All @@ -144,7 +143,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:" \
Expand Down
2 changes: 1 addition & 1 deletion client/securedrop_client/locale/messages.pot
Expand Up @@ -6,7 +6,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SecureDrop Client 0.9.0\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 <EMAIL@ADDRESS>\n"
Expand Down

0 comments on commit 61ed1bf

Please sign in to comment.