]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po: Add a copyright and license notice to the Rules-quot auxiliary files.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Oct 2024 23:41:49 +0000 (01:41 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Oct 2024 23:41:49 +0000 (01:41 +0200)
Reported by Joël Krähemann <jkraehemann@gmail.com>
at <https://savannah.gnu.org/bugs/?57973>.

* gettext-runtime/po/quot.sed: Add a copyright and all-permissive license
notice.
* gettext-runtime/po/boldquot.sed: Likewise.
* gettext-runtime/po/en@quot.header: Likewise.
* gettext-runtime/po/en@boldquot.header: Likewise.
* gettext-runtime/po/insert-header.sed: Use an all-permissive license notice.
* gettext-runtime/po/Rules-quot: Likewise.
(.insert-header.po-update-en): After running the *.insert-header script,
eliminate lines that start with %%.

gettext-runtime/po/Rules-quot
gettext-runtime/po/boldquot.sed
gettext-runtime/po/en@boldquot.header
gettext-runtime/po/en@quot.header
gettext-runtime/po/insert-header.sed
gettext-runtime/po/quot.sed

index da987504d52d40fefbf49b007b9034c4f72e88d5..9e1305407934796f5a0df7bcf6ec1100631d8254 100644 (file)
@@ -1,9 +1,12 @@
 # Special Makefile rules for English message catalogs with quotation marks.
 #
 # Copyright (C) 2001-2024 Free Software Foundation, Inc.
-# This file, Rules-quot, and its auxiliary files (listed under
-# DISTFILES.common.extra1) are free software; the Free Software Foundation
-# gives unlimited permission to use, copy, distribute, and modify them.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+# This file is offered as-is, without any warranty.
+#
+# Written by Bruno Haible <bruno@clisp.org>, 2001.
 
 DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sed Rules-quot
 
@@ -26,7 +29,8 @@ en@boldquot.po-update: en@boldquot.po-update-en
        LC_ALL=C; export LC_ALL; \
        cd $(srcdir); \
        if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \
-          | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \
+          | $(SED) -f $$tmpdir/$$lang.insert-header | $(SED) -e '/^%%/d' \
+          | $(MSGCONV) -t UTF-8 | \
           { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
             '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \
               $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
index 4b937aa517bcff9f5adfc2a01d6d780445999297..3c1de54e66e4500a95c29f78c9db06fbaa59aeb5 100644 (file)
@@ -1,3 +1,14 @@
+# Sed script that converts quotations, by replacing ASCII quotation marks
+# with Unicode quotation marks and highlighting the quotations in bold face.
+#
+# Copyright (C) 2001 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+# This file is offered as-is, without any warranty.
+#
+# Written by Bruno Haible <bruno@clisp.org>, 2001.
+#
 s/"\([^"]*\)"/“\1”/g
 s/`\([^`']*\)'/‘\1’/g
 s/ '\([^`']*\)' / ‘\1’ /g
index 506ca9e9ecdcfc8aa893d96e20567afb69a09032..ac96ad9f36ee27a09491803d5eeb3b17da367e47 100644 (file)
@@ -1,3 +1,13 @@
+%% A header that gets inserted into message catalogs named en@boldquot.po.
+%%
+%% Copyright (C) 2001 Free Software Foundation, Inc.
+%% This file is free software; the Free Software Foundation
+%% gives unlimited permission to copy and/or distribute it,
+%% with or without modifications, as long as this notice is preserved.
+%% This file is offered as-is, without any warranty.
+%%
+%% Written by Bruno Haible <bruno@clisp.org>, 2001.
+%%
 # All this catalog "translates" are quotation characters.
 # The msgids must be ASCII and therefore cannot contain real quotation
 # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
index 6522f0ce0180220c65a42266db435ed166b9dab3..287e2e735b91018e0fec016f079e824f68241fbd 100644 (file)
@@ -1,3 +1,13 @@
+%% A header that gets inserted into message catalogs named en@quot.po.
+%%
+%% Copyright (C) 2001 Free Software Foundation, Inc.
+%% This file is free software; the Free Software Foundation
+%% gives unlimited permission to copy and/or distribute it,
+%% with or without modifications, as long as this notice is preserved.
+%% This file is offered as-is, without any warranty.
+%%
+%% Written by Bruno Haible <bruno@clisp.org>, 2001.
+%%
 # All this catalog "translates" are quotation characters.
 # The msgids must be ASCII and therefore cannot contain real quotation
 # characters, only substitutes like grave accent (0x60), apostrophe (0x27)
index ceeebb937a6b6561520c3853ab8334f22d30221e..f9534e7edf9d4652ee0abedf47b308a3ff58b963 100644 (file)
@@ -1,9 +1,12 @@
 # Sed script that inserts the file called HEADER before the header entry.
 #
 # Copyright (C) 2001 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+# This file is offered as-is, without any warranty.
+#
 # Written by Bruno Haible <bruno@clisp.org>, 2001.
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to use, copy, distribute, and modify it.
 #
 # At each occurrence of a line starting with "msgid ", we execute the following
 # commands. At the first occurrence, insert the file. At the following
index 0122c46318dc8bc115167fa2c259f8456668f861..eb0e08dad08f82b535aaf739ce1efb5752e3b1ae 100644 (file)
@@ -1,3 +1,14 @@
+# Sed script that converts quotations, by replacing ASCII quotation marks
+# with Unicode quotation marks.
+#
+# Copyright (C) 2001 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+# This file is offered as-is, without any warranty.
+#
+# Written by Bruno Haible <bruno@clisp.org>, 2001.
+#
 s/"\([^"]*\)"/“\1”/g
 s/`\([^`']*\)'/‘\1’/g
 s/ '\([^`']*\)' / ‘\1’ /g