Skip to content

Commit

Permalink
use namespace accessing
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceau committed Nov 13, 2023
1 parent d320b46 commit 3d84eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class LanguagePresenter {
break;
case "de": {
const de = await import("./translations/de.xlf");
i18next.addResourceBundle("de", namespace, de.translation);
i18next.addResourceBundle("de", namespace, de[namespace]);
break;
}
default:
Expand Down

0 comments on commit 3d84eec

Please sign in to comment.