For making this portion of text translatable it should looks like this:
<code>message << string_format(\_("bla-bla-bla %s."), 
g->m.tername(posx, posy).c_str());</code>