docs/js/vendor/flipclock/flipclock.js
function(index, obj) {
			var lang = this.lang;
			var lindex = index.toLowerCase();

			if(typeof obj == "object") {
				lang = obj;
			}

			if(lang && lang[lindex]) {
				return lang[lindex];
			}

			return index;
		}
function(index, obj) {
			var lang = this.lang;
			var lindex = index.toLowerCase();

			if(typeof obj == "object") {
				lang = obj;
			}

			if(lang && lang[lindex]) {
				return lang[lindex];
			}

			return index;
		}
function ( index , obj ) { var lang = this . lang ; var lindex = index . toLowerCase ( ) ; if ( typeof obj == "object" ) { lang = obj ; } if ( lang && lang [ lindex ] ) { return lang [ lindex ] ; } return index ; }
Localize strings into various languages

@param	string  The index of the localized string
@param	object  Optionally pass a lang object
Localize strings into various languages