src/console/simpleyui.js
function scan(language) {
            var i;
            for (i = 0; i < availableLanguages.length; i += 1) {
                if (language.toLowerCase() === availableLanguages[i].toLowerCase()) {
                    return availableLanguages[i];
                }
            }
        }
function scan(language) {
            var i;
            for (i = 0; i < availableLanguages.length; i += 1) {
                if (language.toLowerCase() === availableLanguages[i].toLowerCase()) {
                    return availableLanguages[i];
                }
            }
        }
function scan ( language ) { var i ; for ( i = 0 ; i < availableLanguages . length ; i += 1 ) { if ( language . toLowerCase ( ) === availableLanguages [ i ] . toLowerCase ( ) ) { return availableLanguages [ i ] ; } } }
check whether the list of available languages contains language; if so return it
check whether the list of available languages contains language ; if so return it