gnuzilla

default description
git clone https://git.awy.one/gnuzilla.git
Log | Files | Refs | README | LICENSE

commit 930298e1efff3e40721659d8fd7118cdd2477bd4
parent 7f3e2c35a33c6431ae47b8eaf1c81e5cc4561c87
Author: Mark H Weaver <mhw@netris.org>
Date:   Mon, 28 Oct 2019 19:57:37 -0400

Improve branding for version 68 ESR.

* data/branding/icecat/locales/en-US/brand.dtd: Add brandProductName.
* data/branding/icecat/locales/en-US/brand.ftl: Add
brand-shorter-name, brand-full-name, brand-product-name,
vendor-short-name, and trademarkInfo.
* data/branding/icecat/locales/en-US/brand.properties: Add
brandProductName.
* makeicecat: Limit replacement of trademarkInfo.part1 of brand.dtd
files to only be done within l10n directory.  Replace trademarkInfo of
brand.ftl files within l10n directory.

Diffstat:
Mdata/branding/icecat/locales/en-US/brand.dtd | 1+
Mdata/branding/icecat/locales/en-US/brand.ftl | 5+++++
Mdata/branding/icecat/locales/en-US/brand.properties | 1+
Mmakeicecat | 3++-
4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/data/branding/icecat/locales/en-US/brand.dtd b/data/branding/icecat/locales/en-US/brand.dtd @@ -5,5 +5,6 @@ <!ENTITY brandShorterName "IceCat"> <!ENTITY brandShortName "IceCat"> <!ENTITY brandFullName "GNU IceCat"> +<!ENTITY brandProductName "IceCat"> <!ENTITY vendorShortName "GNU"> <!ENTITY 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."> diff --git a/data/branding/icecat/locales/en-US/brand.ftl b/data/branding/icecat/locales/en-US/brand.ftl @@ -2,4 +2,9 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +-brand-shorter-name = IceCat -brand-short-name = IceCat +-brand-full-name = GNU IceCat +-brand-product-name = IceCat +-vendor-short-name = GNU +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. diff --git a/data/branding/icecat/locales/en-US/brand.properties b/data/branding/icecat/locales/en-US/brand.properties @@ -5,6 +5,7 @@ brandShorterName=IceCat brandShortName=IceCat brandFullName=IceCat +brandProductName=IceCat vendorShortName=GNU syncBrandShortName=Sync diff --git a/makeicecat b/makeicecat @@ -226,7 +226,8 @@ cp $DATA/bookmarks.html.in browser/locales/generic/profile/bookmarks.html.in # Custom legal about pages -find -wholename '*/brand.dtd' |xargs /bin/sed 's/trademarkInfo.part1.*/trademarkInfo.part1 "">/' -i +find l10n -wholename '*/brand.dtd' |xargs /bin/sed 's/trademarkInfo.part1.*/trademarkInfo.part1 "">/' -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