Skip to content

Commit

Permalink
Updated the CHANGELOG and the list of locales in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
tg666 committed Sep 19, 2024
1 parent f68ccc0 commit 4eb4cac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ 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`.
- The widget is now initialized as soon as possible instead of waiting for DOMContentLoaded event. This behavior can be changed back via the new option "Init widget after DOMContentLoaded".
- 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`.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4eb4cac

Please sign in to comment.