The argument to $._ needs to be a string literal, so do:

```
$._("a percent, like <code>%(num)s\\%</code>", {NUM: KhanUtil.localeToFixed(12.34, 2)})
```