From 7a0276f06a6858c04b3d8007e4e0e3eda6f76368 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 20 Nov 2019 12:54:56 -0500 Subject: Fix about:rights page. * data/aboutRights.xhtml: Update for version 68. * makeicecat: Remove code to modify aboutRights.dtd files, which no longer exist in version 68. Apply terminology changes to *.ftl files. --- makeicecat | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'makeicecat') diff --git a/makeicecat b/makeicecat index 7476490..b7662f2 100755 --- a/makeicecat +++ b/makeicecat @@ -240,11 +240,6 @@ cp $DATA/bookmarks.html.in browser/locales/generic/profile/bookmarks.html.in find l10n -wholename '*/brand.dtd' |xargs /bin/sed 's/trademarkInfo.part1.*/trademarkInfo.part1 "The IceCat logo is Copyright 2008-2015 Free Software Foundation, released under the terms of the GNU Lesser General Public License, version 3 or any later version.">/' -i find l10n -wholename '*/brand.ftl' |xargs /bin/sed 's/^trademarkInfo = .*/trademarkInfo = The IceCat logo is Copyright 2008-2015 Free Software Foundation, released under the terms of the GNU Lesser General Public License, version 3 or any later version./' -i -for STRING in rights.intro-point3-unbranded rights.intro-point4a-unbranded rights.intro-point4b-unbranded rights.intro-point4c-unbranded -do - find -name aboutRights.dtd | xargs sed -i "s/ENTITY $STRING.*/ENTITY $STRING \"\">/" -done - for STRING in rights-intro-point-2 rights-intro-point-3 rights-intro-point-4 rights-intro-point-5 rights-intro-point-6 rights-webservices rights-safebrowsing do find -name aboutRights.ftl | xargs sed -i "s/^$STRING.*/$STRING = /" @@ -337,7 +332,7 @@ s/opensource/Free Software/g; s/OpenSource/Free Software/g; " -for extension in dtd inc properties; do +for extension in dtd ftl inc properties; do find . -type f -name "*$extension" -execdir /bin/sed --follow-symlinks -i "$SEDSCRIPT" '{}' ';' done -- cgit v1.2.3