Skip to content

Commit

Permalink
gnulib-l10n: Clarify the license of the POT file.
Browse files Browse the repository at this point in the history
Reported by Simon Josefsson. Suggested by Benno Schulenberg.

* po/Makefile ($(DOMAIN).pot): Replace the license notice line.
  • Loading branch information
bhaible committed Jan 2, 2025
1 parent 9a26e70 commit 68fedd7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2025-01-02 Bruno Haible <[email protected]>

gnulib-l10n: Clarify the license of the POT file.
Reported by Simon Josefsson. Suggested by Benno Schulenberg.
* po/Makefile ($(DOMAIN).pot): Replace the license notice line.

2025-01-02 Bruno Haible <[email protected]>

string-desc, xstring-desc, string-desc-quotearg: Rename functions.
Expand Down
9 changes: 8 additions & 1 deletion po/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ $(DOMAIN).pot: force
--msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' \
$(XGETTEXT_OPTIONS) \
`cd .. && find lib '(' -name '*.c' -o -name '*.h' -o -name '*.y' ')' | LC_ALL=C sort`
mv $(DOMAIN).po $(DOMAIN).pot
# We cannot use the usual comment
# "This file is distributed under the same license as the GNU gnulib package."
# here, because gnulib is not under a single license. Instead, use a comment
# "This file is distributed under the LGPLv2+ license."
# This comment is agreed-upon with the Translation Project.
sed -e 's/^# This file is distributed under the same license.*/# This file is distributed under the LGPLv2+ license./' < $(DOMAIN).po > $(DOMAIN).po1
mv $(DOMAIN).po1 $(DOMAIN).pot
rm -f $(DOMAIN).po

force:

0 comments on commit 68fedd7

Please sign in to comment.