From e8ea25562609bb78f791a3cc681aeb4648af37f7 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 25 Jun 2024 16:24:59 +0200 Subject: [PATCH] feat: Bumped cookie-notice to v6 --- composer.json | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- resources/lang/en/cookie-notice.php | 17 ++++++----------- resources/lang/fr/cookie-notice.php | 1 - 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index 4bf038b..221b478 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "uwil/gen-game-web", - "version": "2.3.2", + "version": "2.4.0", "type": "project", "description": "Game generator", "support": { diff --git a/package-lock.json b/package-lock.json index 2a50a29..cc4f1ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@fortawesome/free-regular-svg-icons": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/vue-fontawesome": "^3.0.5", - "@ldc-web/cookie-notice": "^5.0.5", + "@ldc-web/cookie-notice": "^6.0.1", "@sipec/vue3-tags-input": "^3.0.4", "@types/bootstrap": "^5.2.7", "@types/node": "^20.8.2", @@ -1072,9 +1072,9 @@ "dev": true }, "node_modules/@ldc-web/cookie-notice": { - "version": "5.0.5", - "resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-5.0.5.tgz", - "integrity": "sha1-8uV3nOpFAQWPQMKb0m58pcQpRiA=", + "version": "6.0.1", + "resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-6.0.1.tgz", + "integrity": "sha1-cpqBtzjutcgrzXCcyoAVsv9oBpo=", "dev": true }, "node_modules/@nodelib/fs.scandir": { diff --git a/package.json b/package.json index 88c2763..770d46d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@fortawesome/free-regular-svg-icons": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/vue-fontawesome": "^3.0.5", - "@ldc-web/cookie-notice": "^5.0.5", + "@ldc-web/cookie-notice": "^6.0.1", "@sipec/vue3-tags-input": "^3.0.4", "@types/bootstrap": "^5.2.7", "@types/node": "^20.8.2", diff --git a/resources/lang/en/cookie-notice.php b/resources/lang/en/cookie-notice.php index d57c65b..73f5098 100644 --- a/resources/lang/en/cookie-notice.php +++ b/resources/lang/en/cookie-notice.php @@ -1,28 +1,23 @@ 'Customize cookies', 'button_close_cookies' => 'Close cookie window', - 'button_forbid' => 'Prohibit', - 'button_allow' => 'Allow', - 'button_forbid_all' => 'Reject all', + 'button_toggle_cookie' => 'Accept or refuse', + 'button_forbid_all' => 'Refuse all', 'button_allow_all' => 'Accept all', 'button_forbid_all_title' => 'Refuse all cookies and close the cookies panel', 'button_allow_all_title' => 'Accept all cookies and close the cookies panel', 'button_customize' => 'Customize', - 'button_back' => 'Back', + 'button_validate_and_close' => 'Confirm and close', 'button_title_open_new_tab' => 'Open link in new tab', 'banner_title' => 'The :site_name website uses cookies!', 'banner_text' => 'We use cookies to ensure the proper functioning of our site and for analytical purposes. You can change your mind at any time by clicking on the icon on any page of our site. By authorizing these third-party services, you agree to the deposit and reading of cookies and the use of tracking technologies necessary for their proper operation.', 'modal_title' => 'Cookie management window', - 'panel_title' => 'Cookie management panel', 'panel_content' => 'Cookie management panel content', - 'panel_subtitle' => 'Your privacy is our priority', - 'panel_details' => 'The functionalities of this site are based on services provided by third parties. If you accept, these third parties will deposit cookies that will enable you to view content on the site hosted by these third parties. Through these cookies, these third parties will collect and use your browsing data for their own purposes, in accordance with their privacy policy (link below). This page allows you to give or withdraw your consent, either globally or service by service.', 'picture_cookie_title' => 'Image of a nice big cookie', 'navigation_title' => 'Cookies panel navigation', 'custom' => [ @@ -31,7 +26,7 @@ return [ 'description' => 'Audience measurement services make it possible to generate attendance statistics useful for improving the site.', ], 'youtube' => [ - 'name' => 'Youtube', + 'title' => 'Youtube', 'description' => 'Cookies placed via video sharing services are intended to allow the user to view multimedia content directly on the site.', 'labelLink' => 'Learn more', 'warning' => 'You must accept cookies to view this video', @@ -42,10 +37,10 @@ return [ 'labelLink' => 'Learn more', ], 'recaptcha' => [ - 'title' => 'reCAPTACHA', + 'title' => 'reCAPTCHA', 'description' => 'The purpose of the cookies placed on forms via the recaptcha is to prevent them from being submitted by robots.', 'labelLink' => 'Learn more', - 'warning' => 'You must accept cookies to send the form', + 'warning' => 'You must accept reCAPTCHA cookies to send the form', ] ] ]; diff --git a/resources/lang/fr/cookie-notice.php b/resources/lang/fr/cookie-notice.php index a4394da..d1b9894 100644 --- a/resources/lang/fr/cookie-notice.php +++ b/resources/lang/fr/cookie-notice.php @@ -1,6 +1,5 @@ 'Personnaliser les cookies',