minor correction in translate code

* got ```<code>``` back into the translation string
* sprintf instead of printf
* fixes #117