From 4eb4cacb65502885854c5f28b62017133170e50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Glawaty?= Date: Thu, 19 Sep 2024 14:10:36 +0200 Subject: [PATCH] Updated the CHANGELOG and the list of locales in the README --- CHANGELOG.md | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6496676..f4864b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - Added GTM template field "Init widget after DOMContentLoaded". +- Added Portuguese translations. ### Changed - Moved the package under the organization - `@68publishers/cookie-consent`. @@ -15,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved Interaction to Next Paint (INP) metric when a user gives a consent. - Updated README. +### Fixed +- Corrected Polish translations. + ## [1.0.0] - 2024-06-21 ### Added - Added safe `CookieConsentWrapper` events attaching via window variable `window.cookieConsentWrapperEvents`. diff --git a/README.md b/README.md index d3c186a..801d3f6 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,7 @@ The package comes with the default translations for the following languages: - [Norwegian - no](src/resources/translations/no.json) - [Swedish - sv](src/resources/translations/se.json) - [Ukrainian - uk](src/resources/translations/ua.json) +- [Portuguese - pt](src/resources/translations/pt.json) Translations that will be loaded and accessible for the widget are taken from the field `Locales`. Each locale must be defined on a new line. Alternatively, from version `1.0.0`, the URL from which the translations are to be downloaded can also be entered.