gulpfile.js
function guessTitle(id) {
			if (!id) {
				return id;
			}
			return (id.substring(0, 1).toUpperCase() + id.substring(1)).replace(/s(?=cript)/, 'S');
		}
function guessTitle(id) {
			if (!id) {
				return id;
			}
			return (id.substring(0, 1).toUpperCase() + id.substring(1)).replace(/s(?=cript)/, 'S');
		}
function guessTitle ( id ) { if ( ! id ) { return id ; } return ( id . substring ( 0 , 1 ) . toUpperCase ( ) + id . substring ( 1 ) ) . replace ( / s(?=cript) / , 'S' ) ; }
Tries to guess the name of a language given its id.

From `prism-show-language.js`.

@param {string} id The language id.
@returns {string}
Tries to guess the name of a language given its id .