This could be shorter:
```javascript
var carrierSeparator = _('carrier-separator') || ', ';
var carrier = tel.carrier ? (tel.carrier + carrierSeparator) : '';
var separator = type || carrier ? (_('thread-separator') || ' | ') : '';
```
(untested, but should work)