- if (emph() != INHERIT)
- ost << _("Emphasis ")
- << _(GUIMiscNames[emph()]) << ", ";
- if (underbar() != INHERIT)
- ost << _("Underline ")
- << _(GUIMiscNames[underbar()]) << ", ";
- if (noun() != INHERIT)
+ if (emph() != INHERIT) {
+#if USE_BOOST_FORMAT
+ ost << boost::format(_("Emphasis %1$s, "))
+ % _(GUIMiscNames[emph()]);
+#else
+ ost << _("Emphasis ") << _(GUIMiscNames[emph()]) << ", ";
+#endif
+ }
+ if (underbar() != INHERIT) {
+#if USE_BOOST_FORMAT
+ ost << boost::format(_("Underline %1$s, "))
+ % _(GUIMiscNames[underbar()]);
+#else
+ ost << _("Underline ") << _(GUIMiscNames[underbar()]) << ", ";
+#endif
+ }
+ if (noun() != INHERIT) {
+#if USE_BOOST_FORMAT
+ ost << boost::format(_("Noun %1$s, "))
+ % _(GUIMiscNames[noun()]);
+#else