It might be safer to do something like:

```javascript
if (displayNameStr.indexOf("$$$") === 0) {
    menu.putString(displayNameStr, localize(params.items[i].displayName));
} else {
    menu.putString(displayNameStr, params.items[i].displayName);
}
```

If ```localize``` changes to throw an error on non-localizable strings, we'll still be in good shape. I'll make this switch, then hit merge.