buffer->params.getLyXTextClass().defaultfont();
font.reduce(defaultfont);
- state << bformat(_("Font: %1$s"), font.stateText(&buffer->params));
+ // avoid _(...) re-entrance problem
+ string const s = font.stateText(&buffer->params);
+ state << bformat(_("Font: %1$s"), s);
+
+ // state << bformat(_("Font: %1$s"), font.stateText(&buffer->params));
// The paragraph depth
int depth = text->getDepth();
if (errorTags[i].level != Debug::ANY
&& errorTags[i].level != Debug::NONE
&& errorTags[i].level & level) {
+ // avoid _(...) re-entrance problem
+ const string s = _(errorTags[i].desc);
os << bformat(_("Debugging `%1$s' (%2$s)"),
- errorTags[i].name, _(errorTags[i].desc));
+ errorTags[i].name, s);
}
}
}