Skip to content

Commit

Permalink
(fix) Translation overrides should only apply to the specified language
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Oct 3, 2024
1 parent 2e1a472 commit f69ecc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shell/esm-app-shell/src/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function setupI18n() {

translations = merge(
translations,
overrides.filter((o) => language in o),
overrides.filter((o) => language in o).map((o) => o[language]),
);

callback(null, translations);
Expand Down

0 comments on commit f69ecc1

Please sign in to comment.