2
0
Эх сурвалжийг харах

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

JC Brand 8 жил өмнө
parent
commit
865789d49e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/utils.js

+ 1 - 1
src/utils.js

@@ -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 {