Ticket #5011: 5011.patch

File 5011.patch, 552 bytes (added by Garry Yao, 11 years ago)
  • _source/core/lang.js

     
    9595                {
    9696                        // If no languageCode - fallback to browser or default.
    9797                        // If languageCode - fallback to no-localized version or default.
    98                         if ( !languageCode || !CKEDITOR.lang.languages[ languageCode ] )
     98                        if ( !languageCode )
    9999                                languageCode = this.detect( defaultLanguage, languageCode );
    100100
    101101                        if ( !this[ languageCode ] )
© 2003 – 2020 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy