From d15d72264a7ae515109ef1a2ad6cc29943f6195c Mon Sep 17 00:00:00 2001 From: Reem H <42309026+reemhamz@users.noreply.github.com> Date: Wed, 3 Jul 2024 03:14:20 +1000 Subject: [PATCH] Add WNP for Firefox 128 (#14720) --- .../whatsnew/includes/mofo-donate-cta.html | 34 +++++ .../firefox/whatsnew/index-thanks.html | 42 ++++++ .../templates/firefox/whatsnew/index.html | 8 ++ .../whatsnew/whatsnew-fx128-eu-addons.html | 110 +++++++++++++++ .../whatsnew/whatsnew-fx128-eu-donate.html | 115 ++++++++++++++++ .../firefox/whatsnew/whatsnew-fx128-na.html | 60 ++++++++ bedrock/firefox/tests/test_base.py | 130 ++++++++++++++++++ bedrock/firefox/views.py | 30 ++++ l10n/en/firefox/whatsnew/whatsnew.ftl | 4 + .../whatsnew/includes/_mofo-donate-cta.scss | 23 ++++ .../css/firefox/whatsnew/whatsnew-128-eu.scss | 61 ++++++++ .../css/firefox/whatsnew/whatsnew-128-na.scss | 85 ++++++++++++ media/css/firefox/whatsnew/whatsnew.scss | 5 + .../whatsnew/whatsnew128-eu/extensions.svg | 1 + .../whatsnew128-eu/firefox-and-mozilla.png | Bin 0 -> 169479 bytes .../whatsnew/whatsnew128-na/gymnast.png | Bin 0 -> 120706 bytes .../whatsnew128-na/pip-icon-white.svg | 1 + .../whatsnew/whatsnew128-na/pip-icon.svg | 1 + .../video-pseudo-background.png | Bin 0 -> 11070 bytes media/img/l10n/de/firefox/wnp-128/addon.svg | 1 + .../img/l10n/en-GB/firefox/wnp-128/addon.svg | 1 + .../img/l10n/en-US/firefox/wnp-128/addon.svg | 1 + .../img/l10n/en-ca/firefox/wnp-128/addon.svg | 1 + .../img/l10n/es-ES/firefox/wnp-128/addon.svg | 1 + media/img/l10n/fr/firefox/wnp-128/addon.svg | 1 + media/img/l10n/it/firefox/wnp-128/addon.svg | 1 + media/img/l10n/pl/firefox/wnp-128/addon.svg | 1 + .../whatsnew-128-experiment-eu.es6.js | 36 +++++ media/js/firefox/whatsnew/whatsnew-128-na.js | 43 ++++++ media/static-bundles.json | 24 ++++ 30 files changed, 821 insertions(+) create mode 100644 bedrock/firefox/templates/firefox/whatsnew/includes/mofo-donate-cta.html create mode 100644 bedrock/firefox/templates/firefox/whatsnew/index-thanks.html create mode 100644 bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-eu-addons.html create mode 100644 bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-eu-donate.html create mode 100644 bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx128-na.html create mode 100644 media/css/firefox/whatsnew/includes/_mofo-donate-cta.scss create mode 100644 media/css/firefox/whatsnew/whatsnew-128-eu.scss create mode 100644 media/css/firefox/whatsnew/whatsnew-128-na.scss create mode 100644 media/img/firefox/whatsnew/whatsnew128-eu/extensions.svg create mode 100644 media/img/firefox/whatsnew/whatsnew128-eu/firefox-and-mozilla.png create mode 100644 media/img/firefox/whatsnew/whatsnew128-na/gymnast.png create mode 100644 media/img/firefox/whatsnew/whatsnew128-na/pip-icon-white.svg create mode 100644 media/img/firefox/whatsnew/whatsnew128-na/pip-icon.svg create mode 100644 media/img/firefox/whatsnew/whatsnew128-na/video-pseudo-background.png create mode 100644 media/img/l10n/de/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/en-GB/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/en-US/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/en-ca/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/es-ES/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/fr/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/it/firefox/wnp-128/addon.svg create mode 100644 media/img/l10n/pl/firefox/wnp-128/addon.svg create mode 100644 media/js/firefox/whatsnew/whatsnew-128-experiment-eu.es6.js create mode 100644 media/js/firefox/whatsnew/whatsnew-128-na.js diff --git a/bedrock/firefox/templates/firefox/whatsnew/includes/mofo-donate-cta.html b/bedrock/firefox/templates/firefox/whatsnew/includes/mofo-donate-cta.html new file mode 100644 index 00000000000..eff8f559947 --- /dev/null +++ b/bedrock/firefox/templates/firefox/whatsnew/includes/mofo-donate-cta.html @@ -0,0 +1,34 @@ +{# + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at https://mozilla.org/MPL/2.0/. +#} + +{% if LANG == 'fr' %} + {% set donate_cta = "Faire un don à la Fondation Mozilla" %} +{% elif LANG == 'de' %} + {% set donate_cta = "Spende an die Mozilla Foundation" %} +{% elif LANG == 'es-ES' %} + {% set donate_cta = "Donar a la Fundación Mozilla" %} +{% elif LANG == 'it' %} + {% set donate_cta = "Dona alla Mozilla Foundation" %} +{% elif LANG == 'pl' %} + {% set donate_cta = "Wesprzyj Fundację Mozilli darowizną" %} +{% else %} + {% set donate_cta = "Donate to the Mozilla Foundation" %} +{% endif %} + +
+ {{ main_tagline }} +
+ + +{{ main_tagline }}
+{{ secondary_tagline }}
+ {% elif variant == '3' %} +{{ main_tagline }}
+{{ secondary_tagline }}
+ {% endif %} ++ + {{ page_cta }} + + +
++ + Learn more + +
+fVCsuO!-e^*?zrWW1mLYOA{mrj5xtxeqG(V2q0og8GyvftKh`1S)$|#qtWp7
z{PJy;AAjw+cKSIt(F7<835Q#@y#TUERI4BU`+giI=PX0?dA05pnu*G6YniTryn!4u
zxdv -_?J!C?^5qe?|@p9
zpq8y?CX*iYwVdBGH>ZL$%_7yq_i4R*{^Qv|-H-qLeuBBHxmF`4I^1gHAGjAWCu>-L
zZ8Ij&^*Y^|>yrkOpI}$z(7P9^H86&a9c4y_gGw8FYxW&Ym{1GQflWuZuFVl+2!+)|
zs)fYX605@{<JTze3t#w^AH+LEn)VxNjbH~F`xi~ cH2c?#suL!nygEx_LD
zpXohe`DsBfXT%WhZGHw10T#2kJ^-7RbT-)z;C(~sAC}g*m(m^z{4ZO&&UXZ=yE{xu
zKUPVli_NL7#Mf7mTED8E_?-8gZ|Lgd{;K!%t47vm0%%EaJmT3LTL=I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