function getLabel(setting, value) {
	    switch (setting) {
	      case 'speed':
	        return value === 1 ? i18n.get('normal', this.config) : "".concat(value, "&times;");

	      case 'quality':
	        if (is$1.number(value)) {
	          var label = i18n.get("qualityLabel.".concat(value), this.config);

	          if (!label.length) {
	            return "".concat(value, "p");
	          }

	          return label;
	        }

	        return toTitleCase(value);

	      case 'captions':
	        return captions.getLabel.call(this);

	      default:
	        return null;
	    }
	  }
function getLabel(setting, value) {
	    switch (setting) {
	      case 'speed':
	        return value === 1 ? i18n.get('normal', this.config) : "".concat(value, "&times;");

	      case 'quality':
	        if (is$1.number(value)) {
	          var label = i18n.get("qualityLabel.".concat(value), this.config);

	          if (!label.length) {
	            return "".concat(value, "p");
	          }

	          return label;
	        }

	        return toTitleCase(value);

	      case 'captions':
	        return captions.getLabel.call(this);

	      default:
	        return null;
	    }
	  }
function getLabel ( setting , value ) { switch ( setting ) { case 'speed' : return value === 1 ? i18n . get ( 'normal' , this . config ) : "" . concat ( value , "&times;" ) ; case 'quality' : if ( is$1 . number ( value ) ) { var label = i18n . get ( "qualityLabel." . concat ( value ) , this . config ) ; if ( ! label . length ) { return "" . concat ( value , "p" ) ; } return label ; } return toTitleCase ( value ) ; case 'captions' : return captions . getLabel . call ( this ) ; default : return null ; } }
Translate a value into a nice label
Translate a value into a nice label