From f2cb0d0de156f607ff4281dbab983ea527915c48 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 21 Sep 2021 14:25:02 +0200 Subject: [PATCH 1/8] Update donate_banner.tt.html --- templates/web/common/includes/donate_banner.tt.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/templates/web/common/includes/donate_banner.tt.html b/templates/web/common/includes/donate_banner.tt.html index 32766dd40cb04..a688eb12ae77d 100644 --- a/templates/web/common/includes/donate_banner.tt.html +++ b/templates/web/common/includes/donate_banner.tt.html @@ -62,16 +62,14 @@

Tärkeää: tarvitsemme tukeasi!

[% ELSE %] - -

Important: we need your support!

-

Open Food Facts is a collaborative project built by tens of thousands of volunteers - and managed by a non-profit organization with 3 employees.
- We need your donations to fund the Open Food Facts 2021 budget - and to continue to develop the project. Thank you! ❤️

+ +

[% lang('donation_title') %]

+


[% lang('donation_body') %] +

- Donate + [% lang('donation_cta') %] [% END %] From d1a307cffcfc110a55467b522b757ea1d20c5329 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 21 Sep 2021 14:26:05 +0200 Subject: [PATCH 2/8] Update common.pot --- po/common/common.pot | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/po/common/common.pot b/po/common/common.pot index 7037fbeb379c6..2e91767995b34 100644 --- a/po/common/common.pot +++ b/po/common/common.pot @@ -5731,4 +5731,20 @@ msgstr "Note: the Nutri-Score of teas and herbal teas corresponds to the product msgctxt "g_per_100g" msgid "%s g / 100 g" -msgstr "%s g / 100 g" \ No newline at end of file +msgstr "%s g / 100 g" + +msgctxt "donation_title" +msgid "Important: we need your support!" +msgstr "" + +msgctxt "donation_body" +msgid "Open Food Facts is a collaborative project built by tens of thousands of volunteers and managed by a non-profit organization with 3 employees." +msgstr "" + +msgctxt "donation_why" +msgid "We need your donations to fund the Open Food Facts 2021 budget and to continue to develop the project. Thank you! ❤️" +msgstr "" + +msgctxt "donation_cta" +msgid "Donate" +msgstr "" From 9d8436c4bccfdf063fe154141eed0b4ffeb5ff4e Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 21 Sep 2021 14:27:56 +0200 Subject: [PATCH 3/8] Apply suggestions from code review --- templates/web/common/includes/donate_banner.tt.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/web/common/includes/donate_banner.tt.html b/templates/web/common/includes/donate_banner.tt.html index a688eb12ae77d..5fb26ee8ab3af 100644 --- a/templates/web/common/includes/donate_banner.tt.html +++ b/templates/web/common/includes/donate_banner.tt.html @@ -64,7 +64,8 @@

Tärkeää: tarvitsemme tukeasi!

[% ELSE %]

[% lang('donation_title') %]

-


[% lang('donation_body') %] +

[% lang('donation_body') %]
+ [% lang('donation_why') %]

From 408609ed35cdbb3eb2c67f03d912a3a3afa4de32 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 21 Sep 2021 14:28:30 +0200 Subject: [PATCH 4/8] Apply suggestions from code review --- templates/web/common/includes/donate_banner.tt.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/web/common/includes/donate_banner.tt.html b/templates/web/common/includes/donate_banner.tt.html index 5fb26ee8ab3af..4a5bd7a803aee 100644 --- a/templates/web/common/includes/donate_banner.tt.html +++ b/templates/web/common/includes/donate_banner.tt.html @@ -63,7 +63,7 @@

Tärkeää: tarvitsemme tukeasi!

[% ELSE %] -

[% lang('donation_title') %]

+

[% lang('donation_title') %]

[% lang('donation_body') %]
[% lang('donation_why') %]

From b65b3488fa5e8f38209f11b3a316887a84257b84 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 21 Sep 2021 14:29:13 +0200 Subject: [PATCH 5/8] Apply suggestions from code review --- po/common/common.pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/common/common.pot b/po/common/common.pot index 2e91767995b34..37bd8cf13061f 100644 --- a/po/common/common.pot +++ b/po/common/common.pot @@ -5742,7 +5742,7 @@ msgid "Open Food Facts is a collaborative project built by tens of thousands of msgstr "" msgctxt "donation_why" -msgid "We need your donations to fund the Open Food Facts 2021 budget and to continue to develop the project. Thank you! ❤️" +msgid "We need your donations to fund the Open Food Facts 2021 budget and to continue to develop the project. Thank you! ❤️" msgstr "" msgctxt "donation_cta" From 6c9b19a50a6fc45db664d44604b98d5e663c23bc Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 21 Sep 2021 14:40:54 +0200 Subject: [PATCH 6/8] Update en.html --- html/donate/en.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/donate/en.html b/html/donate/en.html index c49e1984e6810..9184bef8052c4 100644 --- a/html/donate/en.html +++ b/html/donate/en.html @@ -113,7 +113,7 @@ />
-

Help us to fund the Open Food Facts 2021 budget!

+

Help us to fund the Open Food Facts 2022 budget!

Open Food Facts is 100% free and independent of the food industry. We need your help to continue and to grow the project.

@@ -139,7 +139,7 @@

-

Help us to fund the Open Food Facts 2021 budget!

+

Help us to fund the Open Food Facts 2022 budget!

Open Food Facts is 100% free and independent of the food industry. We need your help to continue and to grow the project.

@@ -193,7 +193,7 @@

Help us to fund the Open Food Facts 2021 budget!

-

The donation form is being loaded.
You can also access it by clicking here.

+

The donation form is being loaded.
You can also access it by clicking here.