fixes #9657

BTW, I make the same kind of comments about my own code.
fixes #9657
> why not just add_msg(_("With a satisfying click, the lock on the door opens."))?

I guess door's can have different names... So you can't just insert static message. May code too old... and now you can use static msg. Check git blame.

Any way this construction is good for translators:
```
if(name1) {
    printmsg with name 1
} else if(name2) {
    printmsg with name 2
} else if(name3) {
    printmsg with name 3
}
```
Bad for trtanslators:
```
"Begin string <somedynamicvalue> end string"
```
I guess you already know that :/ 

So, if you have way to make strings without dynamic values do it without doubtless.