Skip to content

Commit

Permalink
Merge branch 'main' into PROD-2361-allow-configurable-privacy-center-…
Browse files Browse the repository at this point in the history
…server-side-logging-levels
  • Loading branch information
galvana authored Jul 19, 2024
2 parents 5d30f41 + 166718f commit 071e6dd
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .syncignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Frontend
**/node_modules
**/.next
**/.eslintrc.json
**/.jest.config.js
**/jest.config.jest
**/.prettierignore
**/.prettierrc.json
**/__tests__
**/npm-debug.log
**/*__mocks__

# Ignore Python-Specific Files
**/.mypy_cache/
**/.nox/
**/.pytest_cache/
**/__pycache__/
**/.coverage
**/*.pyc
**/*.pyo
**/*.pyd
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ The types of changes are:

## [Unreleased](https://github.com/ethyca/fides/compare/2.41.0...main)

### Added
- Add AWS Tags in the meta field for Fides system when using `fides generate` [#4998](https://github.com/ethyca/fides/pull/4998)

### Changed
- Moving Privacy Center endpoint logging behind debug flag [#5103](https://github.com/ethyca/fides/pull/5103)

## [2.41.0](https://github.com/ethyca/fides/compare/2.40.0...2.41.0)
### Developer Experience
- Add `.syncignore` to reduce file sync size with new volumes [#5104](https://github.com/ethyca/fides/pull/5104)

- Add AWS Tags in the meta field for Fides system when using `fides generate` [#4998](https://github.com/ethyca/fides/pull/4998).
## [2.41.0](https://github.com/ethyca/fides/compare/2.40.0...2.41.0)

### Added
- Added erasure support for Alchemer integration [#4925](https://github.com/ethyca/fides/pull/4925)
Expand Down
8 changes: 5 additions & 3 deletions clients/fides-js/src/lib/initOverlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ export const initOverlay = async ({
) {
// if translations API fails or is empty, use the GVL object directly
// as a fallback, since it already contains the english version of strings
gvlTranslations = { en: experience.gvl };
gvlTranslations = {};
gvlTranslations[DEFAULT_LOCALE] = experience.gvl;
// eslint-disable-next-line no-param-reassign
experience.available_locales = ["en"];
experience.available_locales = [DEFAULT_LOCALE];
i18n.setAvailableLanguages(
LOCALE_LANGUAGE_MAP.filter((lang) => lang.locale === "en")
LOCALE_LANGUAGE_MAP.filter((lang) => lang.locale === DEFAULT_LOCALE)
);
i18n.activate(DEFAULT_LOCALE);
}
loadMessagesFromGVLTranslations(
i18n,
Expand Down

0 comments on commit 071e6dd

Please sign in to comment.