nit, indentation:
```javascript
var l10nArgs = {
  numberType: type,
  numberDetail: ending
};
return _('thread-header', l10nArgs);
```
you can even use this directly (which is clearer to me):
```javascript
return _('thread-header', {
  numberType: type,
  numberDetail: ending
});
```