Skip to content

Commit

Permalink
Merge branch 'master' into examples/loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
jarda-svoboda committed Jul 13, 2023
2 parents 61e3730 + 98a7f7b commit 825d23b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ export const config = {
],
};

export const { t, loading, locales, locale, loadTranslations, addTranslations, setLocale, setRoute } = new i18n(config);
export const { t, loading, locales, locale, translations, loadTranslations, addTranslations, setLocale, setRoute } = new i18n(config);

loading.subscribe(($loading) => $loading && console.log('Loading translations...'));
2 changes: 1 addition & 1 deletion examples/fallback-locale/src/lib/translations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ export const config = {
],
};

export const { t, loading, locales, locale, loadTranslations, addTranslations, setLocale, setRoute } = new i18n(config);
export const { t, loading, locales, locale, translations, loadTranslations, addTranslations, setLocale, setRoute } = new i18n(config);

loading.subscribe(($loading) => $loading && console.log('Loading translations...'));

0 comments on commit 825d23b

Please sign in to comment.