Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sveltekit-i18n/base
Browse files Browse the repository at this point in the history
  • Loading branch information
jarda-svoboda committed Mar 31, 2022
2 parents 47efe7f + a5df0f1 commit ea6b448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const sanitizeLocales = (...locales: any[]): string[] | [] => {
try {
[current] = Intl.Collator.supportedLocalesOf(locale);
} catch (error) {
console.warn(`[i18n]: Non-standard locale provided: '${locales}'. Check your 'translations' and 'loaders' in i18n config...`);
console.warn(`[i18n]: Non-standard locale provided: '${locale}'. Check your 'translations' and 'loaders' in i18n config...`);
}

return current;
Expand Down Expand Up @@ -100,4 +100,4 @@ export const checkProps = (props: any, object: any) => {
} catch (error) {}

return out;
};
};

0 comments on commit ea6b448

Please sign in to comment.