For example, instead of 'mustbeloggedin' change it to 'must-be-logged-in', then you can just do:
```javascript
ve.msg( 'wikia-visualeditor-notification-media-' + error.code );
```