Commit 865789d4 authored by JC Brand's avatar JC Brand

"en" is always accepted, because default strings are English

parent bf1e6127
......@@ -457,7 +457,7 @@
}
utils.getLocale = function (preferred_locale, isSupportedByLibrary) {
if (isSupportedByLibrary(preferred_locale)) {
if (preferred_locale === 'en' || isSupportedByLibrary(preferred_locale)) {
return preferred_locale;
}
try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment